[Libclc-dev] [PATCH 2/2] travis: Deduplicate LLVM_CONFIG variable

Jan Vesely via Libclc-dev libclc-dev at lists.llvm.org
Wed Mar 13 00:35:11 PDT 2019


On Tue, 2019-03-12 at 23:37 -0500, Aaron Watry wrote:
> Reviewed-by: Aaron Watry <awatry at gmail.com>

thank both you and Tom. I've pushed all 3 series.

Jan

> 
> On Mon, 2019-01-14 at 16:54 -0500, Jan Vesely via Libclc-dev wrote:
> > Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
> > ---
> >  .travis.yml | 11 +----------
> >  1 file changed, 1 insertion(+), 10 deletions(-)
> > 
> > diff --git a/.travis.yml b/.travis.yml
> > index d4798fa..89c7585 100644
> > --- a/.travis.yml
> > +++ b/.travis.yml
> > @@ -12,7 +12,6 @@ matrix:
> >      - env:
> >          - LABEL="make gcc LLVM-3.9"
> >          - LLVM_VERSION=3.9
> > -        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
> >          - CHECK_FILES="barts-r600--.bc cayman-r600--.bc cedar-r600
> > --.bc cypress-r600--.bc tahiti-amdgcn--.bc amdgcn--amdhsa.bc nvptx
> > --nvidiacl.bc nvptx64--nvidiacl.bc"
> >        addons:
> >          apt:
> > @@ -27,7 +26,6 @@ matrix:
> >      - env:
> >          - LABEL="make gcc LLVM-4.0"
> >          - LLVM_VERSION=4.0
> > -        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
> >          - CHECK_FILES="barts-r600--.bc cayman-r600--.bc cedar-r600
> > --.bc cypress-r600--.bc tahiti-amdgcn--.bc amdgcn--amdhsa.bc tahiti-
> > amdgcn-mesa-mesa3d.bc nvptx--nvidiacl.bc nvptx64--nvidiacl.bc"
> >        addons:
> >          apt:
> > @@ -42,7 +40,6 @@ matrix:
> >      - env:
> >          - LABEL="make gcc LLVM-5.0"
> >          - LLVM_VERSION=5.0
> > -        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
> >          - CHECK_FILES="barts-r600--.bc cayman-r600--.bc cedar-r600
> > --.bc cypress-r600--.bc tahiti-amdgcn--.bc amdgcn--amdhsa.bc tahiti-
> > amdgcn-mesa-mesa3d.bc nvptx--nvidiacl.bc nvptx64--nvidiacl.bc"
> >        addons:
> >          apt:
> > @@ -57,7 +54,6 @@ matrix:
> >      - env:
> >          - LABEL="make gcc LLVM-6.0"
> >          - LLVM_VERSION=6.0
> > -        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
> >          - CHECK_FILES="barts-r600--.bc cayman-r600--.bc cedar-r600
> > --.bc cypress-r600--.bc tahiti-amdgcn--.bc amdgcn--amdhsa.bc tahiti-
> > amdgcn-mesa-mesa3d.bc nvptx--nvidiacl.bc nvptx64--nvidiacl.bc"
> >          # llvm passes -Werror=date-time which is only supported in
> > gcc-4.9+
> >          - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
> > @@ -76,7 +72,6 @@ matrix:
> >      - env:
> >          - LABEL="make gcc LLVM-7"
> >          - LLVM_VERSION=7
> > -        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
> >          - CHECK_FILES="barts-r600--.bc cayman-r600--.bc cedar-r600
> > --.bc cypress-r600--.bc tahiti-amdgcn--.bc amdgcn--amdhsa.bc tahiti-
> > amdgcn-mesa-mesa3d.bc nvptx--nvidiacl.bc nvptx64--nvidiacl.bc"
> >          - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
> >        addons:
> > @@ -94,7 +89,6 @@ matrix:
> >      - env:
> >          - LABEL="cmake gcc LLVM-3.9"
> >          - LLVM_VERSION=3.9
> > -        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
> >          - CHECK_FILES="barts-r600--.bc cayman-r600--.bc cedar-r600
> > --.bc cypress-r600--.bc tahiti-amdgcn--.bc amdgcn--amdhsa.bc nvptx
> > --nvidiacl.bc nvptx64--nvidiacl.bc"
> >        addons:
> >          apt:
> > @@ -109,7 +103,6 @@ matrix:
> >      - env:
> >          - LABEL="cmake gcc LLVM-4.0"
> >          - LLVM_VERSION=4.0
> > -        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
> >          - CHECK_FILES="barts-r600--.bc cayman-r600--.bc cedar-r600
> > --.bc cypress-r600--.bc tahiti-amdgcn--.bc amdgcn--amdhsa.bc tahiti-
> > amdgcn-mesa-mesa3d.bc nvptx--nvidiacl.bc nvptx64--nvidiacl.bc"
> >        addons:
> >          apt:
> > @@ -124,7 +117,6 @@ matrix:
> >      - env:
> >          - LABEL="cmake gcc LLVM-5.0"
> >          - LLVM_VERSION=5.0
> > -        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
> >          - CHECK_FILES="barts-r600--.bc cayman-r600--.bc cedar-r600
> > --.bc cypress-r600--.bc tahiti-amdgcn--.bc amdgcn--amdhsa.bc tahiti-
> > amdgcn-mesa-mesa3d.bc nvptx--nvidiacl.bc nvptx64--nvidiacl.bc"
> >        addons:
> >          apt:
> > @@ -139,7 +131,6 @@ matrix:
> >      - env:
> >          - LABEL="cmake gcc LLVM-6.0"
> >          - LLVM_VERSION=6.0
> > -        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
> >          - CHECK_FILES="barts-r600--.bc cayman-r600--.bc cedar-r600
> > --.bc cypress-r600--.bc tahiti-amdgcn--.bc amdgcn--amdhsa.bc tahiti-
> > amdgcn-mesa-mesa3d.bc nvptx--nvidiacl.bc nvptx64--nvidiacl.bc"
> >          # llvm passes -Werror=date-time which is only supported in
> > gcc-4.9+
> >          - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
> > @@ -158,7 +149,6 @@ matrix:
> >      - env:
> >          - LABEL="cmake gcc LLVM-7"
> >          - LLVM_VERSION=7
> > -        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
> >          - CHECK_FILES="barts-r600--.bc cayman-r600--.bc cedar-r600
> > --.bc cypress-r600--.bc tahiti-amdgcn--.bc amdgcn--amdhsa.bc tahiti-
> > amdgcn-mesa-mesa3d.bc nvptx--nvidiacl.bc nvptx64--nvidiacl.bc"
> >          - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
> >        addons:
> > @@ -176,6 +166,7 @@ matrix:
> >  
> >  before_install:
> >      - eval "${MATRIX_EVAL}"
> > +    - export LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
> >  
> >  script:
> >    - if $(echo $LABEL | grep cmake > /dev/null) ; then

-- 
Jan Vesely <jan.vesely at rutgers.edu>
-------------- 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/20190313/fc472baa/attachment.sig>


More information about the Libclc-dev mailing list