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 eb6f35b commit 2fb1deaCopy full SHA for 2fb1dea
flang-rt/lib/runtime/CMakeLists.txt
@@ -105,7 +105,7 @@ set(intrinsics_sources
105
__cuda_builtins.f90
106
)
107
108
-if (LLVM_TARGET_TRIPLE MATCHES "^ppc" OR LLVM_TARGET_TRIPLE MATCHES "^powerpc")
+if (LLVM_TARGET_TRIPLE MATCHES "^ppc|^powerpc")
109
list(APPEND host_sources
110
__ppc_types.f90
111
__ppc_intrinsics.f90
@@ -213,7 +213,7 @@ else ()
213
set(f128_sources "")
214
endif ()
215
216
-if ("${LLVM_RUNTIMES_TARGET}" MATCHES "^amdgcn|^nvptx")
+if (LLVM_RUNTIMES_TARGET MATCHES "^amdgcn|^nvptx")
217
set(sources ${gpu_sources})
218
elseif(FLANG_RT_EXPERIMENTAL_OFFLOAD_SUPPORT STREQUAL "CUDA")
219
set(sources ${supported_sources})
0 commit comments