git: 23739fa6caa7 - main - graphics/mesa-devel: unbreak build with llvm18
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Mar 2024 12:54:02 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=23739fa6caa76c81a8c7ca96b46cc9d0ce98a040 commit 23739fa6caa76c81a8c7ca96b46cc9d0ce98a040 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-03-28 09:22:13 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-03-29 12:53:47 +0000 graphics/mesa-devel: unbreak build with llvm18 Installing spirv-llvm-translator-llvm18-18.1.0... ===> mesa-devel-24.0.b.3778 depends on shared library: libLLVMSPIRVLib.so.18 - not found *** Error code 1 --- graphics/mesa-devel/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile index 3897719fc374..765adf008783 100644 --- a/graphics/mesa-devel/Makefile +++ b/graphics/mesa-devel/Makefile @@ -112,8 +112,9 @@ OPENCL_BUILD_DEPENDS= bindgen:devel/rust-bindgen-cli \ libclc>0:devel/libclc \ spirv-tools>0:graphics/spirv-tools \ rustc:lang/${RUST_DEFAULT} -OPENCL_LIB_DEPENDS= libLLVMSPIRVLib.so.${LLVM_VERSION}:devel/spirv-llvm-translator@${LLVM_PORT:T} +OPENCL_LIB_DEPENDS= libLLVMSPIRVLib.so.${OPENCL_SOVERSION}:devel/spirv-llvm-translator@${LLVM_PORT:T} OPENCL_RUN_DEPENDS= libclc>0:devel/libclc +OPENCL_SOVERSION= ${LLVM_VERSION}${${LLVM_VERSION}>=18:?.1:} OPENCL_CONFIGURE_ENV= PKG_CONFIG_PATH="${LLVM_PREFIX}/libdata/pkgconfig" OPENCL_MESON_FALSE= b_lundef # environ OPENCL_MESON_TRUE= gallium-rusticl