aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/spirv/remove-early-prefix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/package/spirv/remove-early-prefix.patch')
-rw-r--r--internal/rosa/package/spirv/remove-early-prefix.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/internal/rosa/package/spirv/remove-early-prefix.patch b/internal/rosa/package/spirv/remove-early-prefix.patch
new file mode 100644
index 00000000..f184ebc7
--- /dev/null
+++ b/internal/rosa/package/spirv/remove-early-prefix.patch
@@ -0,0 +1,21 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c000a77e..f18f3fde 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -164,7 +164,7 @@ install(
+ ${LLVM_SPIRV_INCLUDE_DIRS}/LLVMSPIRVOpts.h
+ ${LLVM_SPIRV_INCLUDE_DIRS}/LLVMSPIRVExtensions.inc
+ DESTINATION
+- ${CMAKE_INSTALL_PREFIX}/include/LLVMSPIRVLib
++ include/LLVMSPIRVLib
+ )
+
+ configure_file(LLVMSPIRVLib.pc.in ${CMAKE_BINARY_DIR}/LLVMSPIRVLib.pc @ONLY)
+@@ -172,5 +172,5 @@ install(
+ FILES
+ ${CMAKE_BINARY_DIR}/LLVMSPIRVLib.pc
+ DESTINATION
+- ${CMAKE_INSTALL_PREFIX}/lib${LLVM_LIBDIR_SUFFIX}/pkgconfig
++ lib${LLVM_LIBDIR_SUFFIX}/pkgconfig
+ )
+; \ No newline at end of file