[Libclc-dev] [PATCH 1/1] Add travis CI configuration file

Aaron Watry via Libclc-dev libclc-dev at lists.llvm.org
Wed Sep 20 13:40:50 PDT 2017


Acked-by: Aaron Watry <awatry at gmail.com>


On Mon, Sep 18, 2017 at 4:36 PM, Jan Vesely via Libclc-dev
<libclc-dev at lists.llvm.org> wrote:
> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
> ---
> Given that llvm is preparing to move repos to git/github, this looked useful
>
>  .travis.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 44 insertions(+)
>  create mode 100644 .travis.yml
>
> diff --git a/.travis.yml b/.travis.yml
> new file mode 100644
> index 0000000..3625fea
> --- /dev/null
> +++ b/.travis.yml
> @@ -0,0 +1,44 @@
> +language: cpp
> +
> +sudo: false
> +dist: trusty
> +
> +cache:
> +  apt: true
> +
> +
> +matrix:
> +  include:
> +    - env:
> +        - LABEL="make gcc LLVM-4.0"
> +        - LLVM_VERSION=4.0
> +        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
> +      addons:
> +        apt:
> +          sources:
> +            - llvm-toolchain-trusty-4.0
> +          packages:
> +            - libedit-dev
> +            - g++-4.8
> +            # From sources above
> +            - llvm-4.0-dev
> +            - clang-4.0
> +    - env:
> +        # NOTE: Analogous to SWR above, building Clover is quite slow.
> +        - LABEL="make gcc LLVM-5.0"
> +        - LLVM_VERSION=5.0
> +        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
> +      addons:
> +        apt:
> +          sources:
> +            - llvm-toolchain-trusty-5.0
> +          packages:
> +            - libedit-dev
> +            - g++-4.8
> +            # From sources above
> +            - llvm-5.0-dev
> +            - clang-5.0
> +            - libclang-5.0-dev
> +
> +script:
> +  - $PYTHON ./configure.py --with-llvm-config=$LLVM_CONFIG --with-cxx-compiler=$CXX && make -j4
> --
> 2.13.5
>
> _______________________________________________
> Libclc-dev mailing list
> Libclc-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/libclc-dev


More information about the Libclc-dev mailing list