Boost logo

Boost :

From: Daniel Frey (d.frey_at_[hidden])
Date: 2019-09-23 19:31:43


> On 23. Sep 2019, at 19:42, John Maddock via Boost <boost_at_[hidden]> wrote:
>
> Has anyone figured out how to install clang-9 on travis?
>
> I'm seeing:
>
> Adding APT Sources
>
> Disallowing sources: llvm-toolchain-xenial-9
>
> See https://travis-ci.org/boostorg/multiprecision/jobs/588146074
>
> With .travis.yml containing:
>
> - os: linux
> env: TOOLSET=clang COMPILER=clang++-9 CXXSTD=c++17 TEST_SUITE=misc
> addons:
> apt:
> packages:
> - clang-9
> - libgmp-dev
> - libmpfr-dev
> - libmpc-dev
> - libmpfi-dev
> sources:
> - ubuntu-toolchain-r-test
> - llvm-toolchain-xenial-9
>
> Which works fine for clang-8.
> Any ideas anyone?

Currently, you can use:

apt:
  sources:
    - ubuntu-toolchain-r-test
    - sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main'
      key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
  packages:
    - clang-9

See https://github.com/taocpp/sequences/blob/master/.travis.yml

Daniel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk