We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4db238b commit 865c6e2Copy full SHA for 865c6e2
CMakeLists.txt
@@ -412,7 +412,7 @@ function(MFC_SETUP_TARGET)
412
set(IPO_TARGETS ${ARGS_TARGET})
413
# Here we need to split into "library" and "executable" to perform IPO on the NVIDIA compiler.
414
# A little hacky, but it *is* an edge-case for *one* compiler.
415
- if (NVHPC_USE_TWO_PASS_IPO)
+ if (NVHPC_USE_TWO_PASS_IPO AND NOT(MFC_OpenMP AND ARGS_OpenMP))
416
add_library(${ARGS_TARGET}_lib OBJECT ${ARGS_SOURCES})
417
target_compile_options(${ARGS_TARGET}_lib PRIVATE
418
$<$<COMPILE_LANGUAGE:Fortran>:-Mextract=lib:${ARGS_TARGET}_lib>
0 commit comments