diff options
Diffstat (limited to '.ci/install-deps.sh')
-rwxr-xr-x | .ci/install-deps.sh | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/.ci/install-deps.sh b/.ci/install-deps.sh deleted file mode 100755 index 69ef6fea..00000000 --- a/.ci/install-deps.sh +++ /dev/null @@ -1,101 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -if [ "$TRAVIS_OS_NAME" == "osx" ]; then - brew install \ - pkg-config \ - aften \ - libsamplerate \ - libsndfile \ - opus \ - readline \ - doxygen - # force installation of gcc-6 if required - if [ "${CC}" == "gcc-6" ]; then - brew install gcc@6 - fi - # force installation of gcc-7 if required - if [ "${CC}" == "gcc-7" ]; then - brew install gcc@7 - fi - # force installation of gcc-8 if required - if [ "${CC}" == "gcc-8" ]; then - brew install gcc@8 - fi - # force installation of gcc-9 if required - if [ "${CC}" == "gcc-9" ]; then - brew install gcc@9 - fi -fi - -if [ "$TRAVIS_OS_NAME" == "linux" ]; then - # autotools, automake, make are present in the trusty image - sudo apt-get install -y \ - doxygen \ - libffado-dev \ - libsamplerate-dev \ - libsndfile-dev \ - libasound2-dev \ - libdb-dev \ - systemd \ - libsystemd-dev \ - libpam-systemd \ - libdbus-1-dev \ - libeigen3-dev \ - libopus-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 - fi - # force installation of gcc-7 if required - if [ "${CC}" == "gcc-7" ]; then - sudo apt-get install gcc-7 g++-7 - fi - # force installation of gcc-8 if required - if [ "${CC}" == "gcc-8" ]; then - sudo apt-get install gcc-8 g++-8 - fi - # force installation of gcc-9 if required - if [ "${CC}" == "gcc-9" ]; then - sudo apt-get install gcc-9 g++-9 - fi - # force installation of clang-3.5 if required - if [ "${CC}" == "clang-3.5" ]; then - sudo apt-get install clang-3.5 - fi - # force installation of clang-3.8 if required - if [ "${CC}" == "clang-3.8" ]; then - sudo apt-get install clang-3.8 - fi - # force installation of clang-6.0 if required - if [ "${CC}" == "clang-6.0" ]; then - sudo apt-get install clang-6.0 - fi - # force installation of clang-8 if required - if [ "${CC}" == "clang-8" ]; then - sudo apt-get install clang-8 - fi -fi - -exit 0 |