News for hackers. Stuff that matters.
Re:Updating Our macOS Open Source Offering by geofft on Friday September 22, 2017 @02:54PM (#15314762)
Travis is still on Ubuntu 14.04, but that ships with clang 3.4 and gcc 4.8, both of which support C++11 just fine, so yeah, I'm confused why 'ksherlock needs macOS. clang 3.4 even supports C++14 (gcc needs version 5; also you might want gcc 5 for the C++11 ABI changes to std::string and std::list).

'ksherlock, if you really want a newer compiler, I'd use http://apt.llvm.org/ . Specifically do something like

    sudo: required
    
    before_install:
        - curl https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
        - echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty main" | sudo tee /etc/apt/sources.list.d/llvm.list
        - sudo apt-get update
        - sudo apt-get install clang-6.0
which will get you the latest nightly build of the not-yet-released clang 6.

Alternatively I think you can do it like this without sudo: required:

    addons:
        apt:
            sources:
                - llvm-toolchain-trusty-5.0
            packages:
                - clang-5.0
but clang-6.0 isn't on their whitelist https://github.com/travis-ci/apt-package-whitelist . Maybe send in a PR!

There are no comments on this comment yet.