Skip to content

Commit

Permalink
Disable header only CI builds on GCC to avoid ICE failing the build.
Browse files Browse the repository at this point in the history
  • Loading branch information
ned14 committed Dec 3, 2021
1 parent d27d130 commit 48ac666
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .ci.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 48ac666

Please sign in to comment.