mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Upgrade bison to v2.7 for macOS builds on Travis-ci
[skip AppVeyor] This is the minimum change to be able to use %destructor in DataFilter.y, the same version is used for Windows builds.
This commit is contained in:
@@ -19,6 +19,9 @@ rm -rf '/usr/local/include/c++'
|
||||
## brew install --HEAD travis/libkml.rb
|
||||
sudo chmod -R +w /usr/local
|
||||
|
||||
brew update
|
||||
brew install bison@2.7
|
||||
|
||||
# GSL - install from source due to homebrew issues
|
||||
curl -k -O https://ftp.gnu.org/gnu/gsl/gsl-2.6.tar.gz
|
||||
tar xf gsl-2.6.tar.gz
|
||||
|
||||
@@ -24,6 +24,8 @@ cd ..
|
||||
|
||||
cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri
|
||||
cp src/gcconfig.pri.in src/gcconfig.pri
|
||||
# Bison
|
||||
echo QMAKE_YACC=/usr/local/opt/bison@2.7/bin/bison >> src/gcconfig.pri
|
||||
# Define GC version string, only for tagged builds
|
||||
if [ -n "$TRAVIS_TAG" ]; then echo DEFINES += GC_VERSION=VERSION_STRING >> src/gcconfig.pri; fi
|
||||
sed -i "" "s|#\(CONFIG += release.*\)|\1 static |" src/gcconfig.pri
|
||||
|
||||
Reference in New Issue
Block a user