From 48ac6664f123ca1072750f8c0169824683cf6aaf Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Fri, 3 Dec 2021 17:55:35 +0000 Subject: [PATCH] Disable header only CI builds on GCC to avoid ICE failing the build. --- .ci.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci.cmake b/.ci.cmake index 7caba9175..7d2783d0e 100644 --- a/.ci.cmake +++ b/.ci.cmake @@ -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)