mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2025-02-26 21:25:40 +00:00
llvmpipe: Fix build with LLVM 2.8
Commit 8d9778589f4b3a174e884338adb0fe1bdeca5eb7 added all-targets to the LLVM_COMPONENTS list, but this component does not exist with LLVM 2.8. Adding all-targets is not necessary for any drivers, and it seems to be left over from earlier versions of the commit mentioned above. Tested-by: Stéphane Marchesin <marcheu@chromium.org>
This commit is contained in:
parent
67fcb3c2b4
commit
00d80b3a6f
@ -1661,7 +1661,7 @@ if test "x$enable_gallium_llvm" = xyes; then
|
||||
if $LLVM_CONFIG --components | grep -q '\<mcjit\>'; then
|
||||
LLVM_COMPONENTS="${LLVM_COMPONENTS} mcjit"
|
||||
fi
|
||||
LLVM_COMPONENTS="${LLVM_COMPONENTS} all-targets"
|
||||
|
||||
if test "x$enable_opencl" = xyes; then
|
||||
LLVM_COMPONENTS="${LLVM_COMPONENTS} ipo linker instrumentation"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user