Skip to content

Commit

Permalink
travis/macos: pinning not only llvm version but even build number
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Winkel committed Apr 27, 2019
1 parent 00556d2 commit 5ba2f70
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,11 @@ install:

# Note, with llvm-openmp>=8.0 there is a problem with travis builds:
# 'omp.h' not found;
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ $COMPILER == "conda-clang" ]]; then conda install -c conda-forge clang_osx-64 "llvm-openmp<8.0" "openmp<8.0"; fi
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ $COMPILER == "conda-clang" ]]; then conda install -c conda-forge clang_osx-64 "llvm-openmp<8.0" "openmp<8.0"; fi
# it turns out that the new build "llvm-openmp=4.0.1=hcfea43d_1"
# leads to the same problems as above, even with openmp pinned to 7.*
# need to specify the exact version for now
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ $COMPILER == "conda-clang" ]]; then conda install -c conda-forge clang_osx-64 "llvm-openmp=4.0.1=hcfea43d_1" "openmp=7.0.0=h2d50403_0"; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ $COMPILER == "conda-gcc" ]]; then conda install -c conda-forge gcc; gcc --version || true; fi

# As described above, using ci-helpers, you should be able to set up an
Expand Down

0 comments on commit 5ba2f70

Please sign in to comment.