mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 09:30:11 +01:00
configure.ac: Use new llvm_add_default_components
Signed-off-by: Tobias Droste <tdroste@gmx.de> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
352831c5d9
commit
d434633b76
1 changed files with 1 additions and 5 deletions
|
|
@ -2242,11 +2242,7 @@ if test "x$enable_gallium_llvm" = xyes || test "x$HAVE_RADEON_VULKAN" = xyes; th
|
|||
AC_MSG_ERROR([LLVM $LLVM_REQUIRED_VERSION_MAJOR.$LLVM_REQUIRED_VERSION_MINOR or newer is required])
|
||||
fi
|
||||
|
||||
LLVM_COMPONENTS="engine bitwriter mcjit mcdisassembler"
|
||||
|
||||
if $LLVM_CONFIG --components | grep -q inteljitevents ; then
|
||||
LLVM_COMPONENTS="${LLVM_COMPONENTS} inteljitevents"
|
||||
fi
|
||||
llvm_add_default_components "gallium"
|
||||
|
||||
if test "x$enable_opencl" = xyes; then
|
||||
llvm_check_version_for "3" "6" "0" "opencl"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue