Home
last modified time | relevance | path

Searched full:meson (Results 1 – 25 of 149) sorted by relevance

123456

/qemu/
H A DMakefile61 ifeq ($(MESON),)
63 x := $(shell rm -rf meson-private meson-info meson-logs)
67 x := $(shell rm -rf meson-private meson-info meson-logs)
73 x := $(shell rm -rf meson-private meson-info meson-logs)
77 x := $(shell rm -rf meson-private meson-info meson-logs)
81 config-host.mak: $(SRC_PATH)/configure $(SRC_PATH)/scripts/meson-buildoptions.sh \
84 @if test -f meson-private/coredata.dat; then \
85 ./config.status --skip-meson; \
90 # 2. meson.stamp exists if meson has run at least once (so ninja reconfigure
93 meson-private/coredata.dat: meson.stamp
[all …]
H A Dconfigure268 # The following Meson options are handled manually (still they
274 # Meson has PIE as a boolean rather than enabled/disabled/auto,
275 # and we also need to check for -static-pie before Meson runs
437 # Normalise host CPU name to the values used by Meson cross files and in source
443 # Please keep it sorted and synchronized with meson.build's host_arch.
618 . "$source_path/scripts/meson-buildoptions.sh"
674 --skip-meson) skip_meson=yes
795 # everything else has the same name in configure and meson
798 # Pass through -Dxxxx options to meson
817 echo 'checked out. Please invoke "meson subprojects download"'
[all …]
H A Dpythondeps.toml20 [meson]
22 meson = { accepted = ">=1.5.0", installed = "1.8.1", canary = "meson" }
H A Dmeson.build6 meson.add_devenv({ 'MESON_BUILD_ROOT' : meson.project_build_root() })
15 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py'))
28 config_host = keyval.load(meson.current_build_dir() / 'config-host.mak')
35 tmpdir = meson.current_build_dir() / 'meson-private/temp'
79 cc = meson.get_compiler('c')
83 cxx = meson.get_compiler('cpp')
88 objc = meson.get_compiler('objc')
96 rustc = meson.get_compiler('rust')
129 '--workspace', meson.project_source_root() / 'rust']
145 ['--cfg', 'MESON', '-C', 'default-linker-libraries'],
[all …]
/qemu/docs/devel/
H A Dbuild-system.rst29 Most of the actual build process uses Meson under the hood, therefore
45 fragments (``config-host.mak``) or a Meson machine file
46 (``config-meson.cross``)
51 - invoke Meson in the virtual environment, to perform the actual
55 which a same-named Meson option exists; dashes in the command line are
59 only be concerned with Meson, and therefore can skip the rest of this
82 replacement in Meson is ``find_program()``.
137 look for ``meson`` or ``sphinx-build`` binaries in the PATH;
138 likewise, there are no options such as ``--meson`` or ``--sphinx-build``.
139 This avoids a potential mismatch, where Meson and Sphinx binaries on the
[all …]
H A Drust.rst19 The Rust in QEMU code is included in the emulators via Meson. Meson
40 * by using Makefile targets, provided by Meson, that run ``clippy`` or
46 A target for ``rustfmt`` is also declared in ``rust/meson.build``:
50 * by invoking ``cargo`` through the Meson `development environment`__
53 pyvenv/bin/meson devenv -w ../rust cargo clippy --tests
54 pyvenv/bin/meson devenv -w ../rust cargo fmt
56 If you are going to use ``cargo`` repeatedly, ``pyvenv/bin/meson devenv``
69 be run via ``meson test`` or ``make``::
422 slightly complicated process, mostly due to the need to teach Meson how
423 to build them. While Meson has initial support for parsing ``Cargo.lock``
[all …]
/qemu/.gitlab-ci.d/custom-runners/
H A Dubuntu-22.04-aarch64.yml21 || { cat config.log meson-logs/meson-log.txt; exit 1; }
44 || { cat config.log meson-logs/meson-log.txt; exit 1; }
66 || { cat config.log meson-logs/meson-log.txt; exit 1; }
84 || { cat config.log meson-logs/meson-log.txt; exit 1; }
107 || { cat config.log meson-logs/meson-log.txt; exit 1; }
128 || { cat config.log meson-logs/meson-log.txt; exit 1; }
149 || { cat config.log meson-logs/meson-log.txt; exit 1; }
H A Dubuntu-22.04-s390x.yml19 || { cat config.log meson-logs/meson-log.txt; exit 1; }
39 || { cat config.log meson-logs/meson-log.txt; exit 1; }
61 || { cat config.log meson-logs/meson-log.txt; exit 1; }
84 || { cat config.log meson-logs/meson-log.txt; exit 1; }
105 || { cat config.log meson-logs/meson-log.txt; exit 1; }
126 || { cat config.log meson-logs/meson-log.txt; exit 1; }
H A Dubuntu-22.04-aarch32.yml23 || { cat config.log meson-logs/meson-log.txt; exit 1; }
/qemu/tests/docker/dockerfiles/
H A Demsdk-wasm32-cross.docker28 RUN pip3 install meson==${MESON_VERSION} tomli
33 cat <<EOT > /cross.meson
79 cat <<EOT >> /cross.meson
88 RUN meson setup _build --prefix=$TARGET --cross-file=/cross.meson \
91 RUN meson install -C _build
124 cat <<EOT >> /cross.meson
133 RUN meson setup _build --prefix=$TARGET --cross-file=/cross.meson \
138 # which isn't detected during meson setup.
141 RUN meson install -C _build
H A Ddebian-riscv64-cross.docker26 meson \
62 mkdir -p /usr/local/share/meson/cross && \
73 endian = 'little'\n" > /usr/local/share/meson/cross/riscv64-linux-gnu && \
/qemu/target/hexagon/
H A Dmeson.build21 gen_tcg_h = meson.current_source_dir() / 'gen_tcg.h'
22 gen_tcg_hvx_h = meson.current_source_dir() / 'gen_tcg_hvx.h'
23 idef_parser_dir = meson.current_source_dir() / 'idef-parser'
110 env: {'PYTHONPATH': meson.current_build_dir()},
119 env: {'PYTHONPATH': meson.current_build_dir()},
128 env: {'PYTHONPATH': meson.current_build_dir()},
137 env: {'PYTHONPATH': meson.current_build_dir()},
146 env: {'PYTHONPATH': meson.current_build_dir()},
155 env: {'PYTHONPATH': meson.current_build_dir()},
164 env: {'PYTHONPATH': meson.current_build_dir()},
[all …]
/qemu/.gitlab-ci.d/
H A Dbuildtest-template.yml30 { cat config.log meson-logs/meson-log.txt && exit 1; }
33 pyvenv/bin/meson configure . -Dbackend_max_links="$LD_JOBS" ;
70 - build/pyvenv/bin/meson subprojects download $(cd build/subprojects && echo *)
91 - build/meson-logs/testlog.txt
93 junit: build/meson-logs/testlog.junit.xml
138 { cat config.log meson-logs/meson-log.txt && exit 1; }
141 pyvenv/bin/meson configure . -Dbackend_max_links="$LD_JOBS" ;
/qemu/tests/functional/
H A Dmeson.build372 test_env.set('QEMU_TEST_QEMU_IMG', meson.global_build_root() / 'qemu-img')
376 test_env.set('QEMU_BUILD_ROOT', meson.project_build_root())
377 test_env.set('PYTHONPATH', meson.project_source_root() / 'python:' +
378 meson.current_source_dir())
383 testpath = meson.current_source_dir() / testfile
386 test_precache_env.set('QEMU_TEST_PRECACHE', meson.current_build_dir() / teststamp)
387 test_precache_env.set('PYTHONPATH', meson.project_source_root() / 'python:' +
388 meson.current_source_dir())
400 # broken in meson, with it running the pre-caching in the normal
401 # compile phase https://github.com/mesonbuild/meson/issues/2518
[all …]
/qemu/docs/
H A Dmeson.build31 '-c', meson.current_source_dir(),
45 SPHINX_ARGS += ['-Dversion=' + meson.project_version(), '-Drelease=' + get_option('pkgversion')]
65 private_dir = meson.current_build_dir() / 'manual.p'
66 output_dir = meson.current_build_dir() / 'manual'
67 input_dir = meson.current_source_dir()
95 input_dir, meson.current_build_dir()])
103 args: ['-o', meson.current_build_dir() / 'qapi',
104 meson.current_source_dir() / 'interop/firmware.json'],
/qemu/tests/
H A Dmeson.build36 # file to qapi_trace_events like we do in qapi/meson.build. Since
37 # qapi_trace_events is used by trace/meson.build, we'd have to move
38 # subdir('tests') above subdir('trace') in the top-level meson.build.
47 command: [ qapi_gen, '-o', meson.current_build_dir(),
52 # meson doesn't like generated output in other directories
53 # perhaps change qapi_gen to replace / with _, like Meson itself does?
/qemu/tests/lcitool/
H A Dmappings.yml9 meson:
11 # Use Meson from PyPI wherever Rust is enabled
78 meson:
79 default: meson==1.8.1
/qemu/python/wheels/
HDmeson-1.8.1-py3-none-any.whl ... /actions/com.mesonbuild.install.policy meson-1.8.1.dist-info/licenses ...
/qemu/qga/
H A Dmeson.build49 # file to qapi_trace_events like we do in qapi/meson.build. Since
50 # qapi_trace_events is used by trace/meson.build, we'd have to move
51 # subdir('qga') above subdir('trace') in the top-level meson.build.
153 ? meson.project_version() \
163 '-D', 'BUILD_DIR=' + meson.project_build_root(),
183 test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
184 test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
/qemu/scripts/
H A Dmtest2make.py3 # Create Makefile targets to run tests, from Meson's test introspection data.
74 …print(f'.PHONY: {prefix} do-meson-{prefix} {prefix}-report.junit.xml $(all-{prefix}-targets) $(all…
79 print(f'{prefix} $(all-{prefix}-targets): do-meson-{prefix}')
80 print(f'do-meson-{prefix}: run-ninja; $(if $(MAKE.n),,+)$(MESON) test $(.{prefix}.mtestargs)')
82 …t$(MAKE) {prefix}$* MTESTARGS="$(MTESTARGS) --logbase {prefix}-report$*" && ln -f meson-logs/$@ .')
H A Dmeson-buildoptions.py3 # Generate configure command line options handling code, based on Meson's
36 # reasons, because Meson gives them a funny name, or both
50 # Options that configure autodetects, even though meson defines them as boolean
248 print("Failure in scripts/meson-buildoptions.py parsing stdin as json",
252 print("# This file is generated by meson-buildoptions.py, do not edit!")
/qemu/.gitlab-ci.d/cirrus/
H A Dbuild.yml33 || { cat config.log meson-logs/meson-log.txt; exit 1; }
41 path: build/meson-logs/*log.txt
/qemu/tests/qapi-schema/
H A Dmeson.build2 test_env.set('PYTHONPATH', meson.project_source_root() / 'scripts')
216 schemas += [meson.current_source_dir() / 'missing-schema.json']
236 command: [ qapi_gen, '-o', meson.current_build_dir(),
261 '-c', meson.project_source_root() / 'docs',
265 meson.current_source_dir(),
266 meson.current_build_dir()])
273 # a custom_target(), as Meson will unhelpfully replace it with a '/'
274 # (https://github.com/mesonbuild/meson/issues/1564)
/qemu/tests/unit/
H A Dmeson.build130 'ptimer-test': ['ptimer-test-stubs.c', meson.project_source_root() / 'hw/core/ptimer.c'],
134 'test-virtio-dmabuf': [meson.project_source_root() / 'hw/display/virtio-dmabuf.c'],
140 'test-smp-parse': [qom, meson.project_source_root() / 'hw/core/machine-smp.c'],
170 test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
171 test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
/qemu/subprojects/packagefiles/anyhow-1-rs/
H A Dmeson.build7 rustc = meson.get_compiler('rust')
33 meson.override_dependency('anyhow-1-rs', anyhow_dep)

123456