[clang] [RISCV] Move sifive_files to riscv_files (PR #66872)

Brandon Wu via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 21 02:25:51 PDT 2023


https://github.com/4vtomat updated https://github.com/llvm/llvm-project/pull/66872

>From 531304c6d63183f28f836668d7116cb43ae60644 Mon Sep 17 00:00:00 2001
From: 4vtomat <brandon.wu at sifive.com>
Date: Wed, 20 Sep 2023 01:23:54 -0700
Subject: [PATCH] [RISCV] Move sifive_files to riscv_files

---
 clang/lib/Headers/CMakeLists.txt | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/clang/lib/Headers/CMakeLists.txt b/clang/lib/Headers/CMakeLists.txt
index 8e3bbdeb1d16b60..8deea823e396694 100644
--- a/clang/lib/Headers/CMakeLists.txt
+++ b/clang/lib/Headers/CMakeLists.txt
@@ -114,9 +114,6 @@ set(ppc_htm_files
 
 set(riscv_files
   riscv_ntlh.h
-  )
-
-set(sifive_files
   sifive_vector.h
   )
 
@@ -271,7 +268,6 @@ set(files
   ${ppc_files}
   ${ppc_htm_files}
   ${riscv_files}
-  ${sifive_files}
   ${systemz_files}
   ${ve_files}
   ${x86_files}
@@ -477,7 +473,7 @@ add_header_target("loongarch-resource-headers" "${loongarch_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_files};${riscv_generated_files};${sifive_files}")
+add_header_target("riscv-resource-headers" "${riscv_files};${riscv_generated_files}")
 add_header_target("systemz-resource-headers" "${systemz_files}")
 add_header_target("ve-resource-headers" "${ve_files}")
 add_header_target("webassembly-resource-headers" "${webassembly_files}")
@@ -623,11 +619,6 @@ 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