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

Jan Vesely via Libclc-dev libclc-dev at lists.llvm.org
Mon Sep 18 15:11:57 PDT 2017


On Mon, 2017-09-18 at 15:03 -0700, Tom Stellard wrote:
> On 09/18/2017 02:36 PM, Jan Vesely via Libclc-dev 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
> 
> LGTM.  Was there some recent announcement about this?

Nothing new beyond [0]. I haven't been really following the proposal,
so I don't know if it has been killed.

It might still be useful to enable travis on libclc github mirror, but
I don't know who's in charge.


[0]https://llvm.org/docs/Proposals/GitHubMove.html

> 
> -Tom
> 
> > 
> >  .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.

^^ I'll drop this line before pushing.

Jan

> > +        - 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
> > 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/libclc-dev/attachments/20170918/053e05bd/attachment.sig>


More information about the Libclc-dev mailing list