diff options
author | Thomas Brand <tom@trellis.ch> | 2019-01-27 13:41:05 +0100 |
---|---|---|
committer | Thomas Brand <tom@trellis.ch> | 2019-01-27 13:41:05 +0100 |
commit | 080f2835fb7a930e247baf2e3caba03c1a2d665a (patch) | |
tree | ce7afeb1c22b80b3e5c3a5ddec498025956bcc49 | |
parent | 54e03c12af22745bbcc00ea0ebc4b2b2179d3388 (diff) | |
download | jack2-080f2835fb7a930e247baf2e3caba03c1a2d665a.tar.gz |
travis: remove jack related files from system before build
-rwxr-xr-x | .ci/install-deps.sh | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/.ci/install-deps.sh b/.ci/install-deps.sh index ddc25262..6bf4ab67 100755 --- a/.ci/install-deps.sh +++ b/.ci/install-deps.sh @@ -44,7 +44,26 @@ if [ "$TRAVIS_OS_NAME" == "linux" ]; then libdbus-1-dev \ libeigen3-dev \ libopus-dev \ - portaudio19-dev + portaudio19-dev \ + locate + +# remove everything that jack will provide +# (it can not be a dependency for the build) +# these files were dragged in by the above apt-get install of dependency packages + sudo rm -rf /usr/lib/x86_64-linux-gnu/libjack* + sudo rm -rf /usr/include/jack* + sudo rm -rf /usr/share/doc/libjack* + sudo rm -rf /var/lib/dpkg/info/libjack* + sudo rm -rf /usr/lib/x86_64-linux-gnu/pkgconfig/jack.pc +# when these files aren't deleted: jackd will behave strange after install. +# one symptom: unknown option character l + + sudo updatedb + echo "found these files with 'jack' in name after installing dependencies and clean up:" + echo "=========================================================================" + locate jack | grep -v /home/travis/build + echo "=========================================================================" + # force installation of gcc-6 if required if [ "${CC}" == "gcc-6" ]; then sudo apt-get install gcc-6 g++-6 |