Skip to content

Commit 93ebaeb

Browse files
committed
oneapi: don't use -heap-arrays, which can cause random crash
1 parent 396ab0f commit 93ebaeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/compilers.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ endif()
2424

2525
if(CMAKE_Fortran_COMPILER_ID MATCHES "^Intel")
2626
add_compile_options(
27-
"$<$<COMPILE_LANGUAGE:Fortran>:-warn;-heap-arrays>"
27+
"$<$<COMPILE_LANGUAGE:Fortran>:-warn>"
2828
"$<$<AND:$<COMPILE_LANGUAGE:Fortran>,$<CONFIG:Debug>>:-traceback;-check;-debug>"
2929
)
3030
elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")

0 commit comments

Comments
 (0)