How to install LLVM / Clang / lib ++ version 3.9 on Travis-CI?

I know how to install LLVM / Clang / lib ++ 3.8 on Travis CI via the white list llvm-toolchain-trusty-3.8, but this does not exist (or works) for 3.9.

Note what I need libc++experimental.a, which contains an implementation std::experimental::filesystemfor libc++.

I really believe that Travis-CI does something like inflexible, so if there is only one alternative way to get certain versions of things installed on the build machine, please enlighten me and free me from these silly restrictions. I also do not want to build every dependent binding to Travis that would be excessive.

+4
source share
2 answers

lib++ Travis-CI - LLVM/Clang.

script , lib++ Travis, Google Benchmarks .travis.yml. script 120 .

PS. , lib++ std::experimental::filesystem: -)

+5

apt addon .

.travis.yml

addons:
  apt:
    sources:
      - llvm-toolchain-trusty-3.9
    packages:
      - clang-3.9
      - libc++-dev
      - libc++abi-dev

: llvm-toolchain-trusty-3.9

+1

Source: https://habr.com/ru/post/1661341/


All Articles