mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
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
8a604ae524
commit
4ee849dd06
2 changed files with 2 additions and 2 deletions
|
|
@ -2604,7 +2604,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",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1024,7 +1024,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…
Add table
Reference in a new issue