projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c037fe5
)
scons: define MESA_LLVM_VERSION_STRING like the other build systems do
author
Eric Engestrom
<eric.engestrom@intel.com>
Sat, 3 Aug 2019 00:49:11 +0000
(
01:49
+0100)
committer
Eric Engestrom
<eric.engestrom@intel.com>
Thu, 22 Aug 2019 15:08:09 +0000
(16:08 +0100)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
scons/llvm.py
patch
|
blob
|
history
diff --git
a/scons/llvm.py
b/scons/llvm.py
index
0c15b27
..
e587fdd
100644
(file)
--- a/
scons/llvm.py
+++ b/
scons/llvm.py
@@
-285,6
+285,7
@@
def generate(env):
llvm_version_minor = int(llvm_version.version[1])
llvm_version_hex = '0x%02x%02x' % (llvm_version_major, llvm_version_minor)
env.Prepend(CPPDEFINES = [('HAVE_LLVM', llvm_version_hex)])
+ env.Prepend(CPPDEFINES = [('MESA_LLVM_VERSION_STRING=\\"%s\\"' % llvm_version)])
def exists(env):
return True