head 1.2; access; symbols pkgsrc-2024Q1:1.1.0.4 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.2 pkgsrc-2023Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2024.04.22.07.52.21; author adam; state dead; branches; next 1.1; commitid i8W6GoehLdSK277F; 1.1 date 2023.10.06.19.24.09; author adam; state Exp; branches; next ; commitid bou7mg8vNAwJgBHE; desc @@ 1.2 log @spirv-llvm-translator: updated to 17.0.0 17.0.0 SPIR-V LLVM translator based on LLVM 17.0.0 @ text @$NetBSD: patch-lib_SPIRV_CMakeLists.txt,v 1.1 2023/10/06 19:24:09 adam Exp $ Fix standalone builds with LLVM_LINK_LLVM_DYLIB=ON https://github.com/KhronosGroup/SPIRV-LLVM-Translator/pull/1889 --- lib/SPIRV/CMakeLists.txt.orig 2023-10-06 14:21:17.207960916 +0000 +++ lib/SPIRV/CMakeLists.txt @@@@ -38,24 +38,6 @@@@ set(SRC_LIST libSPIRV/SPIRVType.cpp libSPIRV/SPIRVValue.cpp ) -if(LLVM_LINK_LLVM_DYLIB) - add_llvm_library(LLVMSPIRVLib STATIC DISABLE_LLVM_LINK_LLVM_DYLIB - ${SRC_LIST} - DEPENDS - intrinsics_gen - LLVMAnalysis - LLVMBitWriter - LLVMCodeGen - LLVMCore - LLVMDemangle - LLVMIRReader - LLVMLinker - LLVMPasses - LLVMSupport - LLVMTargetParser - LLVMTransformUtils - ) -else() add_llvm_library(LLVMSPIRVLib ${SRC_LIST} LINK_COMPONENTS @@@@ -73,7 +55,6 @@@@ else() DEPENDS intrinsics_gen ) -endif() target_include_directories(LLVMSPIRVLib PRIVATE @ 1.1 log @spirv-llvm-translator: updated to 16.0.0 16.0.0 Update LLVM version from 15 to 16 @ text @d1 1 a1 1 $NetBSD$ @