[Bug 238906] graphics/mesa-dri: Allow building without LLVM
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 22 Feb 2025 17:55:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238906
--- Comment #17 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Nuno Teixeira from comment #15)
In fact, mesa-dri uses LLVM as a library, not
as a compiler (not clang/clang++):
USES+= llvm:lib,noexport
mesa-dri also uses other ports that are LLVM
based:
devel/libclc@${LLVM_PORT:T}
spirv-llvm-translator@${LLVM_PORT:T}
Those references are from doing:
# grep -i llvm /usr/ports/graphics/mesa-dri/Makefile
USES+= llvm:lib,noexport
iris_BUILD_DEPENDS= libclc-${LLVM_PORT:T}>0:devel/libclc@${LLVM_PORT:T} \
spirv-llvm-translator-${LLVM_PORT:T}>0:devel/spirv-llvm-translator@${LLVM_PORT:T}
spirv-llvm-translator-${LLVM_PORT:T}>0:devel/spirv-llvm-translator@${LLVM_PORT:T}
iris_CONFIGURE_ENV= PKG_CONFIG_PATH="${LLVM_PREFIX}/libdata/pkgconfig"
libclc-${LLVM_PORT:T}>0:devel/libclc@${LLVM_PORT:T} \
spirv-llvm-translator-${LLVM_PORT:T}>0:devel/spirv-llvm-translator@${LLVM_PORT:T}
spirv-llvm-translator-${LLVM_PORT:T}>0:devel/spirv-llvm-translator@${LLVM_PORT:T}
anv_CONFIGURE_ENV= PKG_CONFIG_PATH="${LLVM_PREFIX}/libdata/pkgconfig"
--
You are receiving this mail because:
You are the assignee for the bug.