• Home
  • Raw
  • Download

Lines Matching +full:meson +full:- +full:build

4 # Use of this source code is governed by a BSD-style license that can be
23 MESON = os.path.join(ANGLE_DIR, 'third_party', 'meson', 'meson.py') variable
26 LIBDRM_BUILD_DIR = os.path.join(ANGLE_DIR, 'out', 'libdrm-build')
31 '-Dzstd=disabled',
32 '-Dplatforms=x11',
33 '-Dgallium-drivers=zink',
34 '-Dvulkan-drivers=',
35 '-Dvalgrind=disabled',
38 '-Dtests=false',
39 '-Dintel=disabled',
40 '-Dnouveau=disabled',
41 '-Damdgpu=disabled',
42 '-Dradeon=disabled',
43 '-Dvmwgfx=disabled',
44 '-Dvalgrind=disabled',
45 '-Dman-pages=disabled',
52 '-l',
53 '--log',
54 '--log-level',
61 mesa.add_argument('build_dir', help='Target build directory.')
62 mesa.add_argument('-j', '--jobs', help='Compile jobs.')
65 compile_parser.add_argument('-j', '--jobs', help='Compile jobs.')
66 compile_parser.add_argument('build_dir', help='Target build directory.')
70 gni.add_argument('mesa_build_dir', help='Target Mesa build directory.')
71 gni.add_argument('libdrm_build_dir', help='Target libdrm build directory.')
77 '-o', '--output', help='Output location for stamp sha1 file.', default=MESA_STAMP)
81 setup_parser.add_argument('build_dir', help='Target build directory.')
82 setup_parser.add_argument('-w', '--wipe', help='Wipe output directory.', action='store_true')
88 assert os.path.exists(MESON), 'Could not find meson.py: %s' % MESON
112 sysroot_dir = os.path.join(ANGLE_DIR, 'build', 'linux', 'debian_bullseye_amd64-sysroot')
115 '--sysroot=%s' % sysroot_dir,
116 '-Wno-constant-conversion',
117 '-Wno-deprecated-builtins',
118 '-Wno-deprecated-declarations',
119 '-Wno-deprecated-non-prototype',
120 '-Wno-enum-compare-conditional',
121 '-Wno-enum-conversion',
122 '-Wno-implicit-const-int-float-conversion',
123 '-Wno-implicit-function-declaration',
124 '-Wno-initializer-overrides',
125 '-Wno-sometimes-uninitialized',
126 '-Wno-unused-but-set-variable',
127 '-Wno-unused-function',
145 args = [source_dir, build_dir, '--cross-file',
147 if os.path.isdir(os.path.join(build_dir, 'meson-info')):
148 args += ['--wipe']
150 return Meson(build_dir, 'setup', args, extra_env)
154 return Meson(build_dir, 'compile', ['-C', build_dir])
158 clang_dir = os.path.join(ANGLE_DIR, 'third_party', 'llvm-build', 'Release+Asserts', 'bin')
159 flex_bison_dir = os.path.join(ANGLE_DIR, 'tools', 'flex-bison')
175 # GENERATED FILE - DO NOT EDIT.
179 # Use of this source code is governed by a BSD-style license that can be
182 # {filename}: ANGLE build information for Mesa.
232 text_data = Meson(build_dir, 'introspect', [build_dir, '--targets'], stdout=subprocess.PIPE)
253 def Meson(build_dir, command, args, extra_env={}, stdout=None): function
254 meson_cmd = [MESON, command] + args
263 logging.fatal('Got error from meson:')
264 with open(os.path.join(build_dir, 'meson-logs', 'meson-log.txt')) as logf:
266 for line in lines[-10:]:
281 commit_id = GrabOutput('git rev-parse HEAD', source_dir)
298 logging.info('%s setup up-to-date.' % args.target)
304 pkg_config_paths = [os.path.join(build_dir, 'libdrm', 'meson-uninstalled')]