[Mesa-dev] [Bug 66029] New: More robust way of detecting LLVM major and minor versions
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jun 21 16:02:55 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=66029
Priority: medium
Bug ID: 66029
Assignee: mesa-dev at lists.freedesktop.org
Summary: More robust way of detecting LLVM major and minor
versions
Severity: normal
Classification: Unclassified
OS: All
Reporter: klemensbaum at gmail.com
Hardware: All
Status: NEW
Version: git
Component: Mesa core
Product: Mesa
Created attachment 81187
--> https://bugs.freedesktop.org/attachment.cgi?id=81187&action=edit
Use the new version defines if available
LLVM added LLVM_VERSION_MAJOR and LLVM_VERSION_MINOR defines in r150405 (see
http://thread.gmane.org/gmane.comp.compilers.llvm.cvs/107277).
For better compatibility and to avoid breaking in the future, these should be
used instead of the current sed hack that deletes the "svn.*" part from the
`llvm-config --version' output.
The attached patch uses the new defines if available, and falls back to the sed
hack otherwise.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130621/58bb31ab/attachment.html>
More information about the mesa-dev
mailing list