From 57686ff38c3686c0342c383786e79105c82ea9d7 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Wed, 14 Jul 2021 09:41:02 +0430 Subject: removed llvm 5 and 6 since they are no longer included in the PPA. fix for llvm 12/13. --- .travis.yml | 78 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/.travis.yml b/.travis.yml index 16d0da9..1ec9314 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,43 +25,43 @@ addons: matrix: fast_finish: true include: - - dist: trusty - name: llvm5 - sudo: required - language: cpp - before_script: - - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - - sudo add-apt-repository ppa:fkrull/deadsnakes -y - - sudo apt-get update -y - - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add - - - echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-5.0 main" | sudo tee -a /etc/apt/sources.list - - sudo apt-get update -qq - - travis_retry sudo apt-get install clang-5.0 libclang-5.0-dev libclang-common-5.0-dev libllvm5.0 llvm-5.0-dev llvm-5.0 llvm-5.0-runtime -y - - sudo apt-get install gcc-4.9 g++-4.9 libboost-system-dev libboost-filesystem-dev -y - - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9 - - git submodule init - - git submodule update - script: - - make CXX=clang-5.0 LLVM_CONF=llvm-config-5.0 - after_success: - - bash run.sh - - dist: trusty - name: llvm6 - sudo: required - language: cpp - before_script: - - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - - sudo apt-get update -y - - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add - - - echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-6.0 main" | sudo tee -a /etc/apt/sources.list - - sudo apt-get update -qq - - travis_retry sudo apt-get install clang-6.0 libclang-6.0-dev libclang-common-6.0-dev libllvm6.0 llvm-6.0-dev llvm-6.0 llvm-6.0-runtime -y - - git submodule init - - git submodule update - script: - - make CXX=clang-6.0 LLVM_CONF=llvm-config-6.0 - after_success: - - ./run.sh + # - dist: trusty + # name: llvm5 + # sudo: required + # language: cpp + # before_script: + # - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y + # - sudo add-apt-repository ppa:fkrull/deadsnakes -y + # - sudo apt-get update -y + # - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add - + # - echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-5.0 main" | sudo tee -a /etc/apt/sources.list + # - sudo apt-get update -qq + # - travis_retry sudo apt-get install clang-5.0 libclang-5.0-dev libclang-common-5.0-dev libllvm5.0 llvm-5.0-dev llvm-5.0 llvm-5.0-runtime -y + # - sudo apt-get install gcc-4.9 g++-4.9 libboost-system-dev libboost-filesystem-dev -y + # - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9 + # - git submodule init + # - git submodule update + # script: + # - make CXX=clang-5.0 LLVM_CONF=llvm-config-5.0 + # after_success: + # - bash run.sh + # - dist: trusty + # name: llvm6 + # sudo: required + # language: cpp + # before_script: + # - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y + # - sudo apt-get update -y + # - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add - + # - echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-6.0 main" | sudo tee -a /etc/apt/sources.list + # - sudo apt-get update -qq + # - travis_retry sudo apt-get install clang-6.0 libclang-6.0-dev libclang-common-6.0-dev libllvm6.0 llvm-6.0-dev llvm-6.0 llvm-6.0-runtime -y + # - git submodule init + # - git submodule update + # script: + # - make CXX=clang-6.0 LLVM_CONF=llvm-config-6.0 + # after_success: + # - ./run.sh - dist: bionic name: llvm7 sudo: required @@ -166,7 +166,7 @@ matrix: - git submodule init - git submodule update script: - - mkdir build && cd build && cmake ../ -DLLVM_CONF=llvm-config-12 -DCMAKE_CXX_COMPILER=clang++-12 -DUSE_MONOLITH_LIBTOOLING=OFF&& make -j2 + - make CXX-clang-12 LLVM_CONF=llvm-config-12 - dist: bionic name: llvm13 sudo: required @@ -181,4 +181,4 @@ matrix: - git submodule init - git submodule update script: - - mkdir build && cd build && cmake ../ -DLLVM_CONF=llvm-config-13 -DCMAKE_CXX_COMPILER=clang++-13 -DUSE_MONOLITH_LIBTOOLING=OFF&& make -j2 + - make CXX-clang-13 LLVM_CONF=llvm-config-13 -- cgit v1.2.3