From 61199f734cea486f2ab8bbb8e5d66e07d44907c4 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 14 May 2026 04:57:38 +0900 Subject: [PATCH] internal/rosa/glslang: remove headers prefix Maintainers tried to be clever with this and breaks cmake paths. Signed-off-by: Ophestra --- internal/rosa/glslang.go | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/internal/rosa/glslang.go b/internal/rosa/glslang.go index ea6422f9..fcfcdc3e 100644 --- a/internal/rosa/glslang.go +++ b/internal/rosa/glslang.go @@ -189,9 +189,18 @@ func (t Toolchain) newSPIRVLLVMTranslator() (pkg.Artifact, string) { ), &PackageAttr{ Patches: []KV{ {"remove-early-prefix", `diff --git a/CMakeLists.txt b/CMakeLists.txt -index c000a77e..86f79b03 100644 +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 @@ -199,7 +208,7 @@ index c000a77e..86f79b03 100644 - ${CMAKE_INSTALL_PREFIX}/lib${LLVM_LIBDIR_SUFFIX}/pkgconfig + lib${LLVM_LIBDIR_SUFFIX}/pkgconfig ) -`}, +;`}, }, // litArgs emits shell syntax