diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-08-23 04:15:03 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-08-23 04:15:03 +0000 |
commit | 2f55cff31eb0e9d14ac9103464abe34abd502c58 (patch) | |
tree | 4259e9d82f0d5d97e7c83e2964e467e6fcd298c5 /lib | |
parent | 871e72e2d972c6c360a6799ae9cbc65fcb4e8b66 (diff) |
don't build Mesa against llvm on 32-bit powerpc
gkoehler mentioned running glxgears with the Mesa LLVMpipe driver
on macppc triggers an LLVM error
tested by matthieu@ (with a proposed Mesa 22.1 update) on macppc G4/400
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mesa/mk/config.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mesa/mk/config.mk b/lib/mesa/mk/config.mk index d81bc066b..c8d74170b 100644 --- a/lib/mesa/mk/config.mk +++ b/lib/mesa/mk/config.mk @@ -177,12 +177,16 @@ WITH_DRI=yes WITH_GALLIUM_DRISW_KMS=yes WITH_GALLIUM_SOFTPIPE=yes +.if ${MACHINE_ARCH} == "powerpc" +WITH_LLVM=no +.else WITH_LLVM=yes LLVM_V!= llvm-config --version CPPFLAGS+= -DLLVM_AVAILABLE \ -DLLVM_IS_SHARED=1 \ -DDRAW_LLVM_AVAILABLE \ -DMESA_LLVM_VERSION_STRING=\"${LLVM_V}\" +.endif .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" WITH_SSE41=yes |