[PATCH] D125386: [clang][ppc] Creating Seperate Install Target for PPC htm Headers
Qiongsi Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 11 06:42:05 PDT 2022
qiongsiwu1 created this revision.
qiongsiwu1 added reviewers: jsji, rzurob.
qiongsiwu1 added projects: clang, PowerPC.
Herald added subscribers: shchenz, mgorny.
Herald added a project: All.
qiongsiwu1 requested review of this revision.
Herald added a subscriber: cfe-commits.
This patch splits out the htm intrinsic headers from the PPC headers list.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D125386
Files:
clang/lib/Headers/CMakeLists.txt
Index: clang/lib/Headers/CMakeLists.txt
===================================================================
--- clang/lib/Headers/CMakeLists.txt
+++ clang/lib/Headers/CMakeLists.txt
@@ -73,6 +73,9 @@
set(ppc_files
altivec.h
+ )
+
+set(ppc_htm_files
htmintrin.h
htmxlintrin.h
)
@@ -212,6 +215,7 @@
${mips_msa_files}
${opencl_files}
${ppc_files}
+ ${ppc_htm_files}
${systemz_files}
${ve_files}
${x86_files}
@@ -370,6 +374,7 @@
"hip-resource-headers"
"mips-resource-headers"
"ppc-resource-headers"
+ "ppc-htm-resource-headers"
"riscv-resource-headers"
"systemz-resource-headers"
"ve-resource-headers"
@@ -392,6 +397,7 @@
add_header_target("hip-resource-headers" "${hip_files}")
add_header_target("mips-resource-headers" "${mips_msa_files}")
add_header_target("ppc-resource-headers" "${ppc_files};${ppc_wrapper_files}")
+add_header_target("ppc-htm-resource-headers" "${ppc_htm_files}")
add_header_target("riscv-resource-headers" "${riscv_generated_files}")
add_header_target("systemz-resource-headers" "${systemz_files}")
add_header_target("ve-resource-headers" "${ve_files}")
@@ -491,11 +497,17 @@
COMPONENT ppc-resource-headers)
install(
- FILES ${ppc_files} ${utility_files}
+ FILES ${ppc_files}
DESTINATION ${header_install_dir}
EXCLUDE_FROM_ALL
COMPONENT ppc-resource-headers)
+install(
+ FILES ${ppc_htm_files}
+ DESTINATION ${header_install_dir}
+ EXCLUDE_FROM_ALL
+ COMPONENT ppc-htm-resource-headers)
+
install(
FILES ${riscv_generated_files}
DESTINATION ${header_install_dir}
@@ -583,6 +595,9 @@
add_llvm_install_targets(install-ppc-resource-headers
DEPENDS ppc-resource-headers
COMPONENT ppc-resource-headers)
+ add_llvm_install_targets(install-ppc-htm-resource-headers
+ DEPENDS ppc-htm-resource-headers
+ COMPONENT ppc-htm-resource-headers)
add_llvm_install_targets(install-riscv-resource-headers
DEPENDS riscv-resource-headers
COMPONENT riscv-resource-headers)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125386.428646.patch
Type: text/x-patch
Size: 2237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220511/2ebfbf21/attachment.bin>
More information about the cfe-commits
mailing list