[libclc] [libclc] fix compiler check with --target=spirv64 and -disable-llvm-passes (PR #185376)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 16 06:06:39 PDT 2026


================
@@ -159,7 +153,16 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
   list( GET TRIPLE 2 OS )
 
   # Determine the clang target triple.
-  libclc_target_to_clang_triple(${t} clang_triple)
+  set(clang_triple ${t})
----------------
jhuber6 wrote:

What's the motivation to use a different triple for specifying the build than what clang uses? I just kept that in place from before but ideally they match.

https://github.com/llvm/llvm-project/pull/185376


More information about the cfe-commits mailing list