From: Eric Engestrom Date: Sat, 3 Aug 2019 00:49:11 +0000 (+0100) Subject: scons: define MESA_LLVM_VERSION_STRING like the other build systems do X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ea83f4c9b7edadef481b9c3d3d2e584b5911da2;p=platform%2Fupstream%2Fmesa.git scons: define MESA_LLVM_VERSION_STRING like the other build systems do Signed-off-by: Eric Engestrom Reviewed-by: Bas Nieuwenhuizen --- diff --git a/scons/llvm.py b/scons/llvm.py index 0c15b27..e587fdd 100644 --- 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