diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2022-08-19 13:27:42 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2022-08-19 13:27:42 +0300 |
commit | da821621ecd6fa4d233f16ecd455b9c5d54d01e1 (patch) | |
tree | 568067a8d4a9ecb8368bd01e93aa333bc8d1a128 | |
parent | 0a26a94cd681cebba2b0a1f76c51b99bb5e24a83 (diff) | |
download | libatomic_ops-da821621ecd6fa4d233f16ecd455b9c5d54d01e1.tar.gz |
Travis CI: Pass --verbose option to cmake only on FreeBSD
(fix of commit f5b6d54d1)
This is because cmake on Ubuntu Xenial and Ubuntu Bionic (the cmake
version existing by default on these Ubuntu releases) does not support
the option to turn on verbose mode.
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 996c99f..91107a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -197,6 +197,7 @@ jobs: - os: freebsd env: - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Release -Denable_gpl=OFF" + - CMAKE_BUILD_OPTIONS="--verbose" - compiler: clang env: - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Debug -Denable_atomic_intrinsics=OFF" @@ -708,7 +709,7 @@ script: fi - if [[ "$CMAKE_OPTIONS" != "" ]]; then cmake $CMAKE_OPTIONS -Dbuild_tests=ON -Denable_werror=ON -Werror=dev . && - cmake --build . --verbose; + cmake --build . $CMAKE_BUILD_OPTIONS; fi - if [[ "$CMAKE_OPTIONS" != "" ]]; then ctest -j4 -V; |