1
1
diff --git meson.build meson.build
2
- index 6b22930..4af29b1 100644
2
+ index 9fb4160..6f62a3f 100644
3
3
--- meson.build
4
4
+++ meson.build
5
- @@ -582 ,7 +582 ,7 @@ if with_gallium_kmsro and (with_platform_x11 and not with_dri3)
5
+ @@ -579 ,7 +579 ,7 @@ if with_gallium_kmsro and (with_platform_x11 and not with_dri3)
6
6
endif
7
7
8
8
dep_dxheaders = null_dep
9
9
- if with_gallium_d3d12 or with_microsoft_clc or with_microsoft_vk
10
- + if true or with_gallium_d3d12 or with_microsoft_clc or with_microsoft_vk
10
+ + if true
11
11
dep_dxheaders = dependency('directx-headers', required : false)
12
12
if not dep_dxheaders.found()
13
13
dep_dxheaders = dependency('DirectX-Headers',
14
- @@ -944 ,9 +944 ,6 @@ except:
14
+ @@ -954 ,9 +954 ,6 @@ except:
15
15
import mako
16
16
assert Version(mako.__version__) >= Version("0.8.0")
17
17
''', check: false)
18
18
- if has_mako.returncode() != 0
19
19
- error('Python (3.x) mako module >= 0.8.0 required to build mesa.')
20
20
- endif
21
21
22
- if cc.get_id() == 'gcc' and cc.version().version_compare('< 4.4.6')
23
- error('When using GCC, version 4.4.6 or later is required.')
24
- @@ -1084 ,7 +1081 ,6 @@ if cc.get_argument_syntax() == 'msvc'
22
+ has_yaml = run_command(
23
+ prog_python, '-c',
24
+ @@ -1104 ,7 +1101 ,6 @@ if cc.get_argument_syntax() == 'msvc'
25
25
'/wd5105', # macro expansion producing 'defined' has undefined behavior (winbase.h, need Windows SDK upgrade)
26
26
'/we4020', # Error when passing the wrong number of parameters
27
27
'/we4024', # Error when passing different type of parameter
28
28
- '/we4189', # 'identifier' : local variable is initialized but not referenced
29
29
'/Zc:__cplusplus', #Set __cplusplus macro to match the /std:c++<version> on the command line
30
30
]
31
31
c_args += cc.get_supported_arguments(_trial)
32
- @@ -1519 ,7 +1515 ,7 @@ if cc.links('int main() { return 0; }',
32
+ @@ -1539 ,7 +1535 ,7 @@ if cc.links('int main() { return 0; }',
33
33
args : '-Wl,--dynamic-list=@0@'.format(
34
34
join_paths(meson.current_source_dir(), 'build-support/conftest.dyn')),
35
35
name : 'dynamic-list')
@@ -38,7 +38,7 @@ index 6b22930..4af29b1 100644
38
38
endif
39
39
40
40
ld_args_build_id = cc.get_supported_link_arguments('-Wl,--build-id=sha1')
41
- @@ -1716 ,7 +1712 ,7 @@ if dep_libudev.found()
41
+ @@ -1735 ,7 +1731 ,7 @@ if dep_libudev.found()
42
42
pre_args += '-DHAVE_LIBUDEV'
43
43
endif
44
44
0 commit comments