Mesa (master): configure.ac: Use amdgpu component for LLVM 3.2
Tom Stellard
tstellar at kemper.freedesktop.org
Mon Oct 1 21:14:45 UTC 2012
Module: Mesa
Branch: master
Commit: 67fcb3c2b4ecbd87e465b6c6b316be44811ea116
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=67fcb3c2b4ecbd87e465b6c6b316be44811ea116
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Mon Oct 1 21:00:00 2012 +0000
configure.ac: Use amdgpu component for LLVM 3.2
The amdgpu component actually does exist. I must have been using an
older version of llvm-config by accident when I first made this change.
---
configure.ac | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 32f412b..0de506d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1793,10 +1793,8 @@ radeon_llvm_check() {
git://people.freedesktop.org/~tstellar/llvm master
and build with --enable-experimental-targets==AMDGPU])
fi
- if test "$LLVM_VERSION" = "3.2"; then
- dnl LLVM 3.2 does not add experimental libraries to llvm-config's
- dnl library list.
- LLVM_LIBS="$LLVM_LIBS -lLLVMAMDGPUCodeGen -lLLVMAMDGPUDesc -lLLVMAMDGPUAsmPrinter -lLLVMAMDGPUInfo `$LLVM_CONFIG --libs mc`"
+ if test "x$LLVM_VERSION" = "x3.2"; then
+ LLVM_LIBS="$LLVM_LIBS `$LLVM_CONFIG --libs amdgpu`"
fi
}
More information about the mesa-commit
mailing list