mirror of https://gitlab.freedesktop.org/mesa/mesa
meson: keep Mako version checking in accord with build msg
Fixes:52194ae4df
("meson: Ensure that mako is >= 0.8.0") Signed-off-by: Luc Ma <luc@sietium.com> Reported-by: Terry Zhang <terry@sietium.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22499> (cherry picked from commitb5a9021708
)
This commit is contained in:
parent
2fe4eaa3d0
commit
279c4822c5
|
@ -292,7 +292,7 @@
|
|||
"description": "meson: keep Mako version checking in accord with build msg",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "52194ae4df18c7211cef69354a686eabc297a18d"
|
||||
},
|
||||
|
|
|
@ -841,7 +841,7 @@ has_mako = run_command(
|
|||
'''
|
||||
from distutils.version import StrictVersion
|
||||
import mako
|
||||
assert StrictVersion(mako.__version__) > StrictVersion("0.8.0")
|
||||
assert StrictVersion(mako.__version__) >= StrictVersion("0.8.0")
|
||||
''', check: false)
|
||||
if has_mako.returncode() != 0
|
||||
error('Python (3.x) mako module >= 0.8.0 required to build mesa.')
|
||||
|
|
Loading…
Reference in New Issue