diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2017-06-21 12:28:51 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2017-06-21 12:41:56 +0200 |
| commit | 4fe7620d4adc131c3ff93bb47bb8d138d69c9cbd (patch) | |
| tree | d0357cbbedbcf063e05dbcaf75d939122e125c82 /tools/ctest_scripts | |
| parent | fd0dc535ad9ae0d369d1039aaf56235583ca64ea (diff) | |
.travis.yml: add a configuration to test compilation of AVX2 (but disable tests since Travis doesn't have AVX2 compatible machines)
Diffstat (limited to 'tools/ctest_scripts')
| -rw-r--r-- | tools/ctest_scripts/travis-ci.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/ctest_scripts/travis-ci.cmake b/tools/ctest_scripts/travis-ci.cmake index 828b5af4..75ed6f6b 100644 --- a/tools/ctest_scripts/travis-ci.cmake +++ b/tools/ctest_scripts/travis-ci.cmake @@ -53,6 +53,11 @@ if (NOT "$ENV{OPJ_CI_ARCH}" STREQUAL "") endif() endif() +if (NOT "$ENV{OPJ_CI_INSTRUCTION_SETS}" STREQUAL "") + set(CCFLAGS_ARCH "${CCFLAGS_ARCH} $ENV{OPJ_CI_INSTRUCTION_SETS}") +endif() + + if ("$ENV{OPJ_CI_ASAN}" STREQUAL "1") set(OPJ_HAS_MEMCHECK TRUE) set(CTEST_MEMORYCHECK_TYPE "AddressSanitizer") |
