[PATCH] D137239: [AArch64] Install arm_neon_sve_bridge.h
Peter Waller via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 2 03:23:43 PDT 2022
peterwaller-arm created this revision.
peterwaller-arm added reviewers: MattDevereau, benmxwl-arm, c-rhodes.
Herald added subscribers: ctetreau, kristof.beyls, tschuett.
Herald added a project: All.
peterwaller-arm requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
arm_neon_sve_bridge.h is not generated, so the rules which ensure the
generated files get copied into the installation prefix don't apply to
this one.
Add it to the aarch64_only_files set instead, which ensures it ends up
both in the build directory and the installation directory.
Tested with build targets `clang-resource-headers` and
`install-clang-resource-headers`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D137239
Files:
clang/lib/Headers/CMakeLists.txt
Index: clang/lib/Headers/CMakeLists.txt
===================================================================
--- clang/lib/Headers/CMakeLists.txt
+++ clang/lib/Headers/CMakeLists.txt
@@ -33,6 +33,7 @@
set(aarch64_only_files
arm64intr.h
+ arm_neon_sve_bridge.h
)
set(cuda_files
@@ -326,10 +327,6 @@
clang_generate_header(-gen-arm-mve-header arm_mve.td arm_mve.h)
# Generate arm_cde.h
clang_generate_header(-gen-arm-cde-header arm_cde.td arm_cde.h)
- # Copy arm_neon_sve_bridge.h
- copy_header_to_output_dir(${CMAKE_CURRENT_SOURCE_DIR}
- arm_neon_sve_bridge.h
- )
# Add headers to target specific lists
list(APPEND arm_common_generated_files
@@ -345,7 +342,6 @@
list(APPEND aarch64_only_generated_files
"${CMAKE_CURRENT_BINARY_DIR}/arm_sve.h"
"${CMAKE_CURRENT_BINARY_DIR}/arm_bf16.h"
- "${output_dir}/arm_neon_sve_bridge.h"
)
endif()
if(RISCV IN_LIST LLVM_TARGETS_TO_BUILD)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137239.472559.patch
Type: text/x-patch
Size: 930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221102/f1e3d9f1/attachment-0001.bin>
More information about the cfe-commits
mailing list