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.
2 parents 10247c3 + 8b4496a commit a4d2f58Copy full SHA for a4d2f58
flang/unittests/CMakeLists.txt
@@ -26,7 +26,7 @@ function(add_flang_unittest_offload_properties target)
26
# FIXME: replace 'native' in --offload-arch option with the list
27
# of targets that Fortran Runtime was built for.
28
# Common code must be moved from flang/runtime/CMakeLists.txt.
29
- if (FLANG_EXPERIMENTAL_OMP_OFFLOAD_BUILD)
+ if (NOT FLANG_EXPERIMENTAL_OMP_OFFLOAD_BUILD STREQUAL "off")
30
set_target_properties(${target}
31
PROPERTIES LINK_OPTIONS
32
"-fopenmp;--offload-arch=native"
0 commit comments