diff options
author | Dirk Lemstra <dirk@lemstra.org> | 2020-01-06 18:23:58 +0100 |
---|---|---|
committer | Dirk Lemstra <dirk@lemstra.org> | 2020-01-06 18:23:58 +0100 |
commit | 6533779be551cde5bedc2805ab16316b4cfd2576 (patch) | |
tree | afaa005fff8f48be447fe51d7a3f71c960c31a2e | |
parent | 1d39a48e229297368b732905b5fab2fa007484fe (diff) | |
download | ImageMagick-6533779be551cde5bedc2805ab16316b4cfd2576.tar.gz |
Only enable OpenMP in the gcc build.
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 24008e7c4..3a58caa90 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,11 @@ script: | set -e set -x export CFLAGS="-Wno-deprecated-declarations -Wdeclaration-after-statement -Wno-error=unused-variable" - ./configure --with-quantum-depth=16 --enable-hdri=no --without-perl --prefix=/usr + if [ "$CC" == "gcc" ] ; then + ./configure --with-quantum-depth=16 --enable-hdri=no --without-perl --prefix=/usr + else + ./configure --disable-openmp --with-quantum-depth=16 --enable-hdri=no --without-perl --prefix=/usr + fi make make install DESTDIR=$(readlink -f appdir) # Build the fuzzers |