[Bug 238906] graphics/mesa-dri: Allow building without LLVM

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238906

--- Comment #17 from Mark Millard <[email protected]> ---
(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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.