Suppress GCC14 error exit in the f2c-converted LAPACK

This commit is contained in:
Martin Kroeker
2024-04-30 19:05:18 +02:00
committed by GitHub
parent 7c915e64ca
commit 3d26837a35

View File

@@ -160,6 +160,12 @@ else()
endif ()
endif ()
if (C_LAPACK)
if (${CMAKE_C_COMPILER_ID} STREQUAL "GNU")
set(CCOMMON_OPT "${CCOMMON_OPT} -Wno-error=incompatible-pointer-types")
endif ()
endif ()
include("${PROJECT_SOURCE_DIR}/cmake/prebuild.cmake")
if (DEFINED TARGET)
if (${TARGET} STREQUAL COOPERLAKE AND NOT NO_AVX512)