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