[clang] 8cb9e3c - [AArch64] Install arm_neon_sve_bridge.h
Peter Waller via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 3 01:01:18 PDT 2022
Author: Peter Waller
Date: 2022-11-03T07:55:57Z
New Revision: 8cb9e3c3ce1e7e1658921f90420b68ca16bb98fc
URL: https://github.com/llvm/llvm-project/commit/8cb9e3c3ce1e7e1658921f90420b68ca16bb98fc
DIFF: https://github.com/llvm/llvm-project/commit/8cb9e3c3ce1e7e1658921f90420b68ca16bb98fc.diff
LOG: [AArch64] Install arm_neon_sve_bridge.h
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`.
Differential Revision: https://reviews.llvm.org/D137239
Added:
Modified:
clang/lib/Headers/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang/lib/Headers/CMakeLists.txt b/clang/lib/Headers/CMakeLists.txt
index f69bf14891440..402b7374ca816 100644
--- a/clang/lib/Headers/CMakeLists.txt
+++ b/clang/lib/Headers/CMakeLists.txt
@@ -33,6 +33,7 @@ set(arm_only_files
set(aarch64_only_files
arm64intr.h
+ arm_neon_sve_bridge.h
)
set(cuda_files
@@ -326,10 +327,6 @@ if(ARM IN_LIST LLVM_TARGETS_TO_BUILD OR AArch64 IN_LIST LLVM_TARGETS_TO_BUILD)
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 @@ if(ARM IN_LIST LLVM_TARGETS_TO_BUILD OR AArch64 IN_LIST LLVM_TARGETS_TO_BUILD)
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)
More information about the cfe-commits
mailing list