[libclc] [libclc] Fix using normalized triple for the directory name (PR #194607)

Wenju He via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 28 19:08:48 PDT 2026


================
@@ -74,7 +74,7 @@ endfunction()
 function(link_libclc_builtin_library target_name)
   cmake_parse_arguments(ARG
     ""
-    "ARCH;TRIPLE;FOLDER;OUTPUT_FILENAME"
+    "ARCH;TRIPLE;TARGET_TRIPLE;FOLDER;OUTPUT_FILENAME"
----------------
wenju-he wrote:

should TRIPLE and TARGET_TRIPLE merged into one variable? TARGET_TRIPLE is normalized, but TRIPLE is not, which is inconsistent.

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


More information about the cfe-commits mailing list