Lines Matching +refs:clang +refs:format +refs:fallback +refs:style

48   '-DPACKAGE_VERSION="@0@"'.format(meson.project_version()),
115 pre_args += '-DHAVE_OPENGL=@0@'.format(with_opengl.to_int())
116 pre_args += '-DHAVE_OPENGL_ES_1=@0@'.format(with_gles1.to_int())
117 pre_args += '-DHAVE_OPENGL_ES_2=@0@'.format(with_gles2.to_int())
149 … Please pass -Dgallium-drivers to set driver options. Patches gladly accepted to fix this.'.format(
157 … Please pass -Dgallium-drivers to set driver options. Patches gladly accepted to fix this.'.format(
198 pre_args += '-DHAVE_@0@'.format(gallium_driver.to_upper())
230 …. Please pass -Dvulkan-drivers to set driver options. Patches gladly accepted to fix this.'.format(
237 …. Please pass -Dvulkan-drivers to set driver options. Patches gladly accepted to fix this.'.format(
380 pre_args += '-DVIDEO_CODEC_@0@=@1@'.format(c.to_upper(), _codecs.contains(c).to_int())
396 …own OS @0@. Please pass -Dplatforms to set platforms. Patches gladly accepted to fix this.'.format(
487 pre_args += '-DHAVE_@0@_PLATFORM'.format(platform.to_upper())
513 # We probe both because there is not a fallback guaranteed to work for all
566 pre_args += '-DUSE_LIBGLVND=@0@'.format(with_glvnd.to_int())
589 fallback : ['DirectX-Headers', 'dep_dxheaders'],
844 pre_args += '-DGLAPI_EXPORT_PROTO_ENTRY_POINTS=@0@'.format(with_glapi_export_proto_entry_points.to_…
930 pre_args += '-DMESA_DEBUG=@0@'.format(with_mesa_debug.to_int())
955 pre_args += '-DMESA_SHADER_CACHE_MAX_SIZE="@0@"'.format(shader_cache_max_size)
959 # Check for GCC style builtins
963 pre_args += '-DHAVE___BUILTIN_@0@'.format(b.to_upper())
970 'weak', 'format', 'packed', 'returns_nonnull', 'alias', 'noreturn',
974 pre_args += '-DHAVE_FUNC_ATTRIBUTE_@0@'.format(a.to_upper())
1015 # NOTE: clang's stddef.h are conflict with mingw/ucrt's stddef.h
1016 # So do not include headers that defined in clang for detecting
1072 '-Wno-format-truncation',
1089 '-Wno-format-truncation',
1103 # MinGW chokes on format specifiers and I can't get it all working
1105 _trial_c += ['-Werror=format', '-Wformat-security']
1106 _trial_cpp += ['-Werror=format', '-Wformat-security']
1110 if not (cc.get_id() == 'clang' and host_machine.system() == 'freebsd')
1235 # Check for GCC style atomics
1358 pre_args += '-DHAVE_@0@'.format(h.to_upper().underscorify())
1377 pre_args += '-DHAVE_@0@'.format(f.to_upper())
1481 args : '-Wl,--version-script=@0@'.format(
1488 args : '-Wl,--dynamic-list=@0@'.format(
1644 ver = get_variable('_drm_@0@_ver'.format(d[0]))
1651 message('libdrm @0@ needed because @1@ has the highest requirement'.format(_drm_ver, _drm_blame))
1752 fallback : ['llvm', 'dep_llvm'],
1758 pre_args += '-DMESA_LLVM_VERSION_STRING="@0@"'.format(dep_llvm.version())
1759 pre_args += '-DLLVM_IS_SHARED=@0@'.format(_shared_llvm.to_int())
1810 pre_args += '-DLLVM_AVAILABLE=@0@'.format(with_llvm.to_int())
1811 pre_args += '-DDRAW_LLVM_AVAILABLE=@0@'.format((with_llvm and draw_with_llvm).to_int())
1812 pre_args += '-DAMD_LLVM_AVAILABLE=@0@'.format(amd_with_llvm.to_int())
1813 pre_args += '-DGALLIVM_USE_ORCJIT=@0@'.format((with_llvm and llvm_with_orcjit).to_int())
1834 '>= @0@.@1@'.format(chosen_llvm_version_major, chosen_llvm_version_minor),
1835 '< @0@.@1@'.format(chosen_llvm_version_major, chosen_llvm_version_minor + 1) ]
1856 dep_clang = cpp.find_library('clang-cpp', dirs : llvm_libdir, required : false)
1926 …tsan_blacklist = '-fsanitize-blacklist=@0@'.format(join_paths(meson.project_source_root(), 'build-…
2067 # Even if we find OpenMP, Gitlab CI fails to link with gcc/i386 and clang/anyarch.
2181 dep_perfetto = dependency('perfetto', fallback: ['perfetto', 'dep_perfetto'])