[clang] [RISCV] Install sifive_vector.h to riscv-resource-headers (PR #66330)

Brandon Wu via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 13 23:01:18 PDT 2023


https://github.com/4vtomat created https://github.com/llvm/llvm-project/pull/66330:

None

>From 8eb805beb037ba824fdf01dd8528b797a80de7ad Mon Sep 17 00:00:00 2001
From: 4vtomat <brandon.wu at sifive.com>
Date: Wed, 13 Sep 2023 22:59:30 -0700
Subject: [PATCH] [RISCV] Install sifive_vector.h to riscv-resource-headers

---
 clang/lib/Headers/CMakeLists.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/clang/lib/Headers/CMakeLists.txt b/clang/lib/Headers/CMakeLists.txt
index 334bc13799409bb..1868357b2eb4b7a 100644
--- a/clang/lib/Headers/CMakeLists.txt
+++ b/clang/lib/Headers/CMakeLists.txt
@@ -623,6 +623,11 @@ install(
   EXCLUDE_FROM_ALL
   COMPONENT riscv-resource-headers)
 
+install(
+  FILES ${sifive_files}
+  DESTINATION ${header_install_dir}
+  COMPONENT riscv-resource-headers)
+
 install(
   FILES ${systemz_files}
   DESTINATION ${header_install_dir}



More information about the cfe-commits mailing list