summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/meson
Commit message (Collapse)AuthorAgeFilesLines
* meson: upgrade 1.8.1 -> 1.8.2Wang Mingyu2025-06-161-1/+1
| | | | | | | (From OE-Core rev: b585d1cb1d655f191018a50fe3483a5228e68ad6) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 1.8.0 -> 1.8.1Wang Mingyu2025-06-053-8/+8
| | | | | | | | | | | | 0001-Make-CPU-family-warnings-fatal.patch 0001-python-module-do-not-manipulate-the-environment-when.patch refreshed for 1.8.1 (From OE-Core rev: f46572a8b55ee8676c518119b9953e0619f1daf3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: clean up the native template in nativesdk buildsRoss Burton2025-05-121-1/+16
| | | | | | | | | | | | | | In a nativesdk build, the native build template should be minimal as it just needs to ensure that Meson can link with libraries in the SDK's native sysroot. Specifically, it shouldn't be passing BUILD_* flags to Meson as these are for the Yocto build host, not the SDK user. (From OE-Core rev: f13063d11f1c62152af9ed45cb24f6499262e1a2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: remove sysroot from the native environment fileRoss Burton2025-05-121-3/+0
| | | | | | | | | | | The [properties]sys_root assignment doesn't actually do much in cross builds, and does nothing in native builds (confirmed by the Meson author). (From OE-Core rev: b3ac60779d3f392689bad25780974244f893e2a0) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: split template generationRoss Burton2025-05-121-3/+10
| | | | | | | | | | Split the template generation function into two functions, one for cross and another for native. (From OE-Core rev: 3c4d2fc7ef38042737f64e9e44355839ab551b55) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Fix host_machine setting for native cross-fileTom Hochstein2025-05-121-12/+4
| | | | | | | | | | | | | | | For native and nativesdk, the meson cross-file settings for `host_machine` are incorrectly set for the build machine, not the "machine on which the compiled binary will run". See https://mesonbuild.com/Cross-compilation.html. Fixes: [YOCTO #15485] (From OE-Core rev: 59d21632aecf1ca9085d17aeda19a8a29602cd17) (From OE-Core rev: 0b882df19b5c339d2e7e00f56136afa890404f7b) Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade to 1.8.0Ross Burton2025-05-014-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | | - New argument android_exe_type for executables - Changes to the b_sanitize option - New C standard c2y (and gnu2y) - i18n module xgettext - version_compare now accept multiple compare strings - Improvements to Objective-C and Objective-C++ - Per project subproject options rewrite - objects added correctly to Rust executables - rust.test now supports link_whole - Meson can run "rustdoc" on Rust projects - The Wayland module is stable - New swift_std compiler option - New option to execute a slice of tests - Valgrind now fails tests if errors are found Full release notes: https://mesonbuild.com/Release-notes-for-1-8-0.html. (From OE-Core rev: 84ded53ea7e4db1e3d7ea60527374040ec64b4fd) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Allow user to override setup command optionsTom Hochstein2025-05-011-4/+11
| | | | | | | | | | | | The user cannot override the setup command options --cross-file and --native-file because the meson-wrapper places these options on the command line after the user options. This problem was noticed when trying to build with an SDK using a custom cross-file. (From OE-Core rev: 045a53349a5c00b318feb7029470d3fb084b61c8) Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 1.7.1 -> 1.7.2Wang Mingyu2025-04-102-6/+6
| | | | | | | | | | | 0001-Make-CPU-family-warnings-fatal.patch refreshed for 1.7.2 (From OE-Core rev: b8c15494900cdacfdcfa18526b8ad33cb9ce5ee3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade to 1.7.1Ross Burton2025-04-032-45/+1
| | | | | | | | | | | | | | | Drop 0001-dependencies-dev-prepend-sysroot-when-searching-for-.patch as this is now upstreamed. Remove the deletion of a .pyc because it uses frozenset(), this bug in Python has been fixed since 3.11[1] [1] https://github.com/python/cpython/commit/51999c960e7fc45feebd629421dec6524a5fc803 (From OE-Core rev: ec524490bfa860a2caf7c3f77924c4dafeb631bf) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: refresh upstreamed patchRoss Burton2025-03-251-7/+4
| | | | | | | (From OE-Core rev: 160a088fbe19d0b3c65040b9bc04cc8bdd3d0d24) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade to 1.7.0Ross Burton2025-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Summary of changes: - New custom dependency for atomic - --cap-lints allow used for Cargo subprojects - Cargo features are resolved globally - Meson can run "clippy" on Rust projects - Devenv support in external project module - Fixed sizeof and find_library methods for Fortran compilers - format command now accept stdin argument - "machine" entry in target introspection data - Add new language Linear Asm - Control the number of child processes with an environment variable - Support for Rust 2024 - Support TASKING VX-Toolset - Test targets no longer built by default - Install vcs_tag() output (From OE-Core rev: 37d4a5b2653b94d5030b5026b1ecf979420cfb20) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 1.6.0 -> 1.6.1Wang Mingyu2024-12-242-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0001-python-module-do-not-manipulate-the-environment-when.patch refreshed for 1.6.1 Changelog: =========== - dependencies: support old vulkan SDK version - Handle top level options set in subprojects. Closes #13847. - ci: fix Ubuntu Bionic job - modernize Rust template - run_single_test.py: skip setup_symlinks() call on Windows - tests: HDF5 no longer skips on MacOS - mdevenv: exec directly into the program to run - CMakeToolchain: Log output on compiler state failure - msetup: Correction of the message text - run_single_test.py: Fix for symlink changes - libgcrypt-config is no more on ubuntu-rolling - fix generate_gir with BothLibraries dependency - env2mfile: add flag to use _FOR_BUILD envvars. - environment: Never require an exe_wrapper for native builds - rust: fix computation of library directory - De-duplicate BuildTarget.sources - Fix building on AIX when no project languages are used - coverage.py: Guard use of --html-nested behind version check. - Xcode backend: only use found appleframeworksn - Enable GCC to find free-threaded python DLL library - modules/rust: Add support for autolib field in the Cargo.toml - env2mfile: Use a cross valac on Debian if possible - env2mfile: Automatically set exe_wrapper on Debian if possible - env2mfile: Use Debian cross-prefixed GObject-Introspection tools - env2mfile: Generalize detection of pkg-config to have a list of tools - Add GNU/Hurd kernel results (From OE-Core rev: ca17f6c26c7f1fa93950143a41204daf57e5b4ed) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: don't look on the host for GTest when cross-compilingRoss Burton2024-11-222-0/+37
| | | | | | | | | | | | | When cross-compiling prepend the sysroot to the hardcoded /usr/src paths that Meson looks in for the GoogleTest sources. [ YOCTO #13508 ] (From OE-Core rev: feb9a58814720a4382d3f02467dcecb276f58040) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade to 1.6.0Ross Burton2024-10-254-9/+9
| | | | | | | | | | Detailed release notes at https://mesonbuild.com/Release-notes-for-1-6-0.html. (From OE-Core rev: 24da8fb65a7b62bd2b0c7a60099d30c725df45ab) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 1.5.1 -> 1.5.2Wang Mingyu2024-09-302-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0001-Make-CPU-family-warnings-fatal.patch refreshed for 1.5.2 Changelog: ============ - nasm: Use different test sources for x86 and x86_64 - mdist: correctly detect dirty hg repos with non-English locale, redux - backend/ninja: Generate sysroot in rust-project.json - mdist: detect pathological git repo cases and show a slightly better error - compilers: Pass mode to determine_args, not its string value - CI: mark arch as skipping frameworks/libgcrypt - When configuring fails in Github Actions, print folded logs - Prevent raw exception during project() - compilers: avoid -Wunused-value compiler warning in CLikeCompiler.has_type() - compilers: avoid -Wunused-value compiler warning in CLikeCompiler.has_members() - mformat: better handling of continuation lines - mformat: detect invalid config - tests: handle uncommon architecture format for nm - mformat: regenerate long lines even if they're already multiline - Add support for LLVM 19 in Debian. - mformat: provide nice error message instead of backtrace for invalid value - mformat: A triple string with a ' in it cannot be simplified - tests/format: Make the compare script more useful - linkers: skip -export_dynamic flag before MacOS 10.7 - format: fix indentation of comments - mformat: correctly handle editorconfig files without the root setting - cargo: Ignore Cargo.lock if toml implementation is missing - compilers: do not strip '-isystem' from C build arguments - Fix compiling ObjC/ObjC++ on Windows/MinGW - mformat: fix formatting of empty build file - tests: nasm: make it easier to debug generator() style build - mdist: correctly detect dirty hg repos with non-English locale (From OE-Core rev: 292b015bae6fdd11f086dc30f385f45ef2f0eb8d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 1.4.0 -> 1.5.1Ross Burton2024-08-054-12/+12
| | | | | | | (From OE-Core rev: 145644c8c8318144ba12ed36c9a51924f1f58ad2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Fix native meson configRichard Purdie2024-07-131-1/+1
| | | | | | | | | | | | | When the optimization flags were reduced to a single option, a different and clearly untested codepath was used where the output was unquoted. This caused errors when testing meson in the SDK. Use repr() in the single item case as per the multiple item case to correctly quote the output and fix build failures. (From OE-Core rev: 7c2b573e6cbe518f54ea5c3539fc91ed63b80ebf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 1.3.1 -> 1.4.0Alexander Kanavin2024-05-304-16/+13
| | | | | | | | (From OE-Core rev: 697ab91da6cae370af5269f32cdfc14e88f2b37b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: don't use deprecated pkgconfig variableRoss Burton2024-05-221-2/+2
| | | | | | | | | | | | As with a previous change to the class[1], the "pkgconfig" entry is now deprecated and "pkg-config" should be used instead. [1] oe-core d64b307891422e290bbe821d4303b3af526bbe17 (From OE-Core rev: 3e441544f1aa7258718a1cadd6836d9cd9dc65ab) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Update WORKDIR references to UNPACKDIRRichard Purdie2024-05-021-4/+4
| | | | | | | | | | Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR references in recipe do_compile/do_install tasks to use UNPACKDIR in the appropraite places instead. (From OE-Core rev: d73595df69667fe9d12ecd407b77a0b8dae2109c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: correct upstream version check (exclude pre-releases)Alexander Kanavin2024-03-181-0/+1
| | | | | | | (From OE-Core rev: e01a57979331472b7677b41aa57f448938bc14fc) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 1.3.0 -> 1.3.1Wang Mingyu2024-01-074-17/+15
| | | | | | | | | | | | | 0001-Make-CPU-family-warnings-fatal.patch 0001-python-module-do-not-manipulate-the-environment-when.patch 0002-Support-building-allarch-recipes-again.patch refreshed for 1.3.1 (From OE-Core rev: 51b5e79cd37de982492991e56362cf1f0ef2ab8e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: update 1.2.2 -> 1.3.0Alexander Kanavin2023-11-301-1/+1
| | | | | | | | (From OE-Core rev: 98c2ee5cef5a0968d8f6f8d4b55ee4b29aabaee6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Add check for riscv64 in link templateKhem Raj2023-11-051-0/+2
| | | | | | | | (From OE-Core rev: a7b5c1fa1305759725540809838027ad21825b4f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 1.2.1 -> 1.2.2Daniel McGregor2023-10-061-1/+1
| | | | | | | | | | | | The newly released version 1.2.2 adds version 17 to CMake LLVM detection, so we will now choose the OE provided LLVM version instead of the one on host during native builds. (From OE-Core rev: 90edba29f9f4c115af5202c566eaa935656de1eb) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 1.1.1 -> 1.2.1Alexander Kanavin2023-09-262-17/+17
| | | | | | | | (From OE-Core rev: de38f7a5f3b374ab0006d50168c84da7f08a7a9e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: don't fail if no .pyc existsYang Xu2023-09-071-1/+1
| | | | | | | | | | | | If PYTHONDONTWRITEBYTECODE set to 1, do_install:append will fail because no .pyc is removed. Add -f flag to prevent command fail. (From OE-Core rev: 2073b6f14f39c71199c07a1ba181b67984421a10) Signed-off-by: Yang Xu <yang.xu@mediatek.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 1.1.0 -> 1.1.1Alexander Kanavin2023-06-161-1/+1
| | | | | | | (From OE-Core rev: 49876bf69ed944e1e85c4790db9da5171b646973) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: update 1.0.1 ->1.1.0Alexander Kanavin2023-05-253-82/+25
| | | | | | | | | | | | | | Rebase a patch. Remove unneeded patch: Khem confirmed that upstream fixed the issue with https://github.com/mesonbuild/meson/commit/24ea1d3f1968bff52ccaaf33fcdd59e810459aa9 (From OE-Core rev: a34cbc66a17b754b8a8053c816f384a687d4179f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: remove obsolete RPATH stripping patchRoss Burton2023-03-112-38/+0
| | | | | | | | | | | | | | As per the release notes for 0.55.0[1], this patch is no longer needed as Meson now only removes the RPATHs that it adds itself, any RPATHs added via LDFLAGS or pkgconfig files are left untouched. [1] https://mesonbuild.com/Release-notes-for-0-55-0.html#rpath-removal-now-more-careful (From OE-Core rev: 4011c0fadec98f1001046079f59e4e2a4a3a3fcf) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 1.0.0 -> 1.0.1Wang Mingyu2023-03-061-1/+1
| | | | | | | | (From OE-Core rev: 942a4926e9a514ad0087a80a25df57595d5674cc) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Fix wrapper handling of implicit setup commandTom Hochstein2023-03-061-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From an SDK, running a meson setup build without an explicit setup command can result in a native build when a cross build is expected. The problem is in meson-wrapper where it tries to detect whether a setup command is being used. The logic looks through all arguments for a command, and the first argument it finds that doesn't start with a - is treated as the command. This doesn't work for an implicit setup command if any option with a space-separated argument exists. In this case, the argument is incorrectly selected as the command, causing the setup command options for the cross build to be excluded from the command line, and thus a native build. Improve the logic by just looking at the first argument. If it is a known comand, then record it. Otherwise just assume it is the implicit setup command. Note that this fix does not address the possibility of a new meson command. Two new echo statements are included to help the user in case of trouble: ``` ~/git/weston-imx$ meson --warnlevel 3 --prefix=/usr -Ddoc=false -Dbackend-drm-screencast-vaapi=false -Dcolor-management-lcms=false -Dpipewire=false -Dbackend-x11=false -Dxwayland=true -Dsimple-clients=all -Dbackend-wayland=false -Dbackend-default=drm -Dbackend-rdp=false -Dtest-junit-xml=false -Dlauncher-libseat=false -Dimage-jpeg=false -Dimage-webp=false -Drenderer-g2d=true build meson-wrapper: Implicit setup command assumed meson-wrapper: Running meson with setup options: " --cross-file=/opt/fsl-imx-internal-xwayland/6.1-langdale/sysroots/x86_64-pokysdk-linux/usr/share/meson/aarch64-poky-linux-meson.cross --native-file=/opt/fsl-imx-internal-xwayland/6.1-langdale/sysroots/x86_64-pokysdk-linux/usr/share/meson/meson.native " The Meson build system Version: 0.63.3 ``` (From OE-Core rev: 9338bd66a3c9ab5cb781f2ee588306c5b31a3cb5) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base: add support for loongarch64Xiaotian Wu2023-02-041-0/+2
| | | | | | | (From OE-Core rev: 759baaceb4dd623d5da12ba0d01540fa080154ba) Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.64.0 -> 1.0.0Alexander Kanavin2023-01-061-1/+1
| | | | | | | | (From OE-Core rev: 622ab1b4d490625ebd2193138c70894d3dee1297) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: drop redundant is_debianlike() patchRoss Burton2022-12-132-28/+0
| | | | | | | | | | | | | | | | This patch disables is_debianlike() so that it always returns False in the name of deterministic builds. However, the caller default_libdir() then looks at the host filesystem to decide if /usr/lib64 exists and will return either lib or lib64, so it still isn't deterministic. This is only used for the default libdir value and meson.bbclass always passes an explicit --libdir, so this is moot. (From OE-Core rev: af4200197948f4900761cb1db11680aeab286f92) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: update 0.63.3 -> 0.64.0Alexander Kanavin2022-11-112-8/+9
| | | | | | | | (From OE-Core rev: 835aca65ccb5eda00fbfe51ab203a8df791be83a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.63.2 -> 0.63.3wangmy2022-10-261-1/+1
| | | | | | | | (From OE-Core rev: 3c87597dcde7676858f76c1066cd87195ecc8aef) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: make wrapper options sub-command specificLiam Beguin2022-10-261-4/+17
| | | | | | | | | | | | | | The meson-wrapper adds setup options to facilitate cross-compilation. The current options are exclusive to the setup sub-command and might cause issues with other sub-commands. Update the wrapper to make options sub-command specific. (From OE-Core rev: 7bcda141f2019862b4fb5d8dec7956cd8344b420) Signed-off-by: Liam Beguin <liambeguin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: fix version checks in all github recipes using the github-releases classAlexander Kanavin2022-09-281-5/+3
| | | | | | | | (From OE-Core rev: b04316bdd28b7945c2c91b4e43c007b650eedc14) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.63.1 -> 0.63.2Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: 1c0900c8bc13ef608938c533949baf92bef28cb1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.63.0 -> 0.63.1Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: b5200ffe7ec557f492dd4f783935b01e37db490f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: provide relocation script and native/cross wrappers also for meson-nativeAlexander Kanavin2022-07-282-6/+30
| | | | | | | | | | | | | | | | | | When using meson-native directly from bitbake this has no effect and everything works as before; the use case is being able to build meson-driven projects from the 'direct SDK' environment. Build systems like cmake/autotools are entirely driven by environment variables, but meson needs configuration files, and so this replicates how SDKs set things up. In particular, with this change the libepoxy build test from the SDK test suite is able to pass. (From OE-Core rev: 87d4f6d176f27c22dbb99abc271b9a6eaca314f8) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.62.2 -> 0.63.0Alexander Kanavin2022-07-231-1/+1
| | | | | | | | (From OE-Core rev: aca52f5d586b5fea8d8316b523378f51f0e7d85d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.62.1 -> 0.62.2wangmy2022-06-071-1/+1
| | | | | | | | (From OE-Core rev: bf848a40c8ca903fd4f4e7a07a9c629de194a4e7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: update 0.61.3 -> 0.62.1Alexander Kanavin2022-04-282-15/+14
| | | | | | | | | Rebase 0001-python-module-do-not-manipulate-the-environment-when.patch (From OE-Core rev: 65411c5d632adeac5eab322ae1a54ec8b6d3e5af) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Robustify compiler detection logicKhem Raj2022-04-012-0/+57
| | | | | | | | | | | | | | | | | | meson would fail to detect compiler type in some rare care where specific substring '-xt' is detected in compiler --version output and it so happens that this string can be generated by clang --version if clang is installed into a directory containing 'xt-' in its name. with recipe specific sysroots, this is quite likely to happen in OE build system as we are seeing the issue with newly proposed gnome-text-editor recipe https://lists.openembedded.org/g/openembedded-devel/topic/90150031#96301 (From OE-Core rev: ff75909f2a9e970aaf389e0012888c29f02376e3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/setuptools_build_meta: rename to python_setuptools_build_metaRoss Burton2022-03-201-1/+1
| | | | | | | | | | Rename this class to be python-prefixed to match the other new Python build system classes. (From OE-Core rev: 25d6bf8079797906bde7c0cf63a0466c981ba5bb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.61.2 -> 0.61.3Alexander Kanavin2022-03-201-1/+1
| | | | | | | (From OE-Core rev: e072a9b7cdd937b8976e87f1da1323859bb37c72) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove obsolete PIP_INSTALL_PACKAGERoss Burton2022-03-121-2/+0
| | | | | | | | | | PIP_INSTALL_PACKAGE isn't used anymore, so remove all instances of it from the recipes. (From OE-Core rev: 15baf24f750ab2c8b0a46d4a3bf2ae9bfa3d0aff) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>