diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-12-03 20:55:35 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-12-03 20:55:35 +0300 |
commit | 48ac6664f123ca1072750f8c0169824683cf6aaf (patch) | |
tree | 47048ec5f0c14422d40c0e5bc8dff9e83b3385db | |
parent | d27d130a239f1a92851a45f882c7333e5210716c (diff) |
Disable header only CI builds on GCC to avoid ICE failing the build.all_tests_passed_48ac6664f123ca1072750f8c0169824683cf6aaf
-rw-r--r-- | .ci.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -14,7 +14,9 @@ ctest_start("Experimental") #ctest_update() message(STATUS "NOTE: CTEST_CONFIGURE_OPTIONS are '${CTEST_CONFIGURE_OPTIONS}'") ctest_configure(OPTIONS "${CTEST_CONFIGURE_OPTIONS}") -ctest_build(TARGET _hl) +if(NOT "$ENV{CXX}" MATCHES "g\\+\\+") ## Avoid ICE for header only build in GCC + ctest_build(TARGET _hl) +endif() ctest_build(TARGET _dl) ctest_build(TARGET _sl) set(retval 0) |