https://bugs.freedesktop.org/show_bug.cgi?id=81785
Priority: medium
Bug ID: 81785
Assignee: [email protected]
Summary: MESA checks on configure for llvm 3.4.2 and fails to
build with 3.4.2 being installed
Severity: major
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: All
Status: NEW
Version: git
Component: Mesa core
Product: Mesa
I have LLVM 3.4.2 installed but mesa-git/configure fails to build and requests
llvm >= 3.4.2 to be installed.
configure seem to check for LLVM_VERSION_PATCH in llvm/Config/config.h but that
isn't defined and therefore LLVM_VERSION_PATCH is set to "0".
The LLVM_REQUIRED_VERSION_PATCH is set to "2" and thus the compare of
LLVM_VERSION_PATCH=0 vs.LLVM_REQUIRED_VERSION_PATCH=2 will fail.
This is the code that failes:
if ac_fn_c_compute_int "$LINENO" "LLVM_VERSION_PATCH" "LLVM_VERSION_PATCH"
"#include \"${LLVM_INCLUDEDIR}/llvm/Config/config.h\""; then :
else
LLVM_VERSION_PATCH=0
fi
and
radeon_llvm_check() {
if test "x$enable_gallium_llvm" != "xyes"; then
as_fn_error $? "--enable-gallium-llvm is required when building $1"
"$LINENO" 5
fi
LLVM_REQUIRED_VERSION_MAJOR="3"
LLVM_REQUIRED_VERSION_MINOR="4"
LLVM_REQUIRED_VERSION_PATCH="2"
if test "${LLVM_VERSION_INT}${LLVM_VERSION_PATCH}" -lt
"${LLVM_REQUIRED_VERSION_MAJOR}0${LLVM_REQUIRED_VERSION_MINOR}${LLVM_REQUIRED_VERSION_PATCH}";
then
as_fn_error $? "LLVM
$LLVM_REQUIRED_VERSION_MAJOR.$LLVM_REQUIRED_VERSION_MINOR.$LLVM_REQUIRED_VERSION_PATCH
or newer is required for $1" "$LINENO" 5
fi
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev