clang-9 on travis?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

clang-9 on travis?

Boost - Dev mailing list
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?

Thanks!  John.


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Reply | Threaded
Open this post in threaded view
|

Re: clang-9 on travis?

Boost - Dev mailing list
> On 23. Sep 2019, at 19:42, John Maddock via Boost <[hidden email]> 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


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Reply | Threaded
Open this post in threaded view
|

Re: clang-9 on travis?

Boost - Dev mailing list

> 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

Thanks Daniel!

Testing that now...

Best, John.

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost