summaryrefslogtreecommitdiff
path: root/guix/build/meson-build-system.scm
AgeCommit message (Expand)Author
2023-04-09build: meson: Explicitly invoke "meson setup" instead of just "meson"....* guix/build/meson-build-system.scm (configure): Invoke the setup command to avoid a deprecation warning. Maxim Cournoyer
2023-04-09build: meson: Honor bindir, libdir and includedir....This brings our meson-build-system closer to our gnu-build-system in terms of using different installation prefixes based on the presence of outputs such as "bin", "lib" or "include". * guix/build/meson-build-system.scm (configure): Add --bindir, --libdir and --includedir according to the presence of the "bin", "lib" and "include" outputs, as done in gnu-build-system. Maxim Cournoyer
2021-11-11build: meson: Replace the 'test-target' argument by 'test-options'....This change is motivated by the need to disable the default 30 seconds timeout that Meson uses (see: https://gitlab.gnome.org/GNOME/glib/-/issues/2522), and also by desire to specify extra options to run the check phase without having to override it. * guix/build-system/meson.scm (meson-build) <test-target>: Replace argument with... <test-options>: ... this one. * guix/build/meson-build-system.scm (check): Invoke 'meson test' instead of 'ninja test-target', as the former is configurable via options. * doc/guix.texi (Build Systems) <meson-build-system>: Update doc. Maxim Cournoyer
2020-11-06build-system/meson: Do not apply strip-runpath to the "debug" output....Because the debug files are read-only, the strip-runpath procedure would throw an exception when attempting to open them. * guix/build/meson-build-system.scm (shrink-runpath): Remove "debug" from the list of outputs to be processed. Maxim Cournoyer
2019-06-30build-system/meson: Do not inherit the 'bootstrap' phase....* guix/build/meson-build-system.scm (%standard-phases): Remove 'bootstrap'. * gnu/packages/glib.scm (glib)[arguments]: Adjust accordingly. Marius Bakke
2018-08-22build-system/meson: Strip RUNPATH and remove PatchELF traces....* guix/build-system/meson.scm (%meson-build-system-modules): Don't import (guix build rpath). * guix/build/meson-build-system.scm (fix-runpath): Rename to ... (shrink-runpath): ... this. Update docstring. Remove AUGMENT-RPATH calls and related code. (%standard-phases): Add 'shrink-runpath'. Marius Bakke
2018-08-13Merge branch 'staging' into core-updatesRicardo Wurmus
2018-07-28build-system/meson: Remove RUNPATH workarounds....* guix/build-system/meson.scm (default-patchelf): Remove. (lower)[build-inputs]: Remove PATCHELF. (meson-build): Don't delete 'fix-runpath' phase on armhf. * guix/build/meson-build-system.scm (configure): Add "--c_link_args" and "-cpp_link_args" instead of setting LDFLAGS. (meson-build): Don't apply 'fix-runpath' phase. Marius Bakke
2018-07-24Merge branch 'master' into core-updatesMarius Bakke
2018-06-30build-system/meson: Use invoke....* guix/build/meson-build-system.scm (configure, build, check, install): Use "invoke" and unconditionally return #t. Ricardo Wurmus
2018-06-28meson-build-system: Return #t from all phases....* guix/build/meson-build-system.scm (configure, build, check, install): (fix-runpath): Use 'invoke' and return #t from all phases. Mark H Weaver
2018-05-07build-system/meson: Use 'strip-runpath' instead of PatchELF....* guix/build/meson-build-system.scm (fix-runpath): Call 'strip-runpath' instead of invoking 'patchelf'. Ludovic Courtès
2018-04-15build-system/meson: Don't override LDFLAGS if already set....* guix/build/meson-build-system.scm (configure): Test for LDFLAGS before adding ours. (cherry picked from commit 611c27db2aec8c2f72bc0c1e5c7d126dc95b39b2) Marius Bakke
2018-04-02build-system/meson: Don't override LDFLAGS if already set....* guix/build/meson-build-system.scm (configure): Test for LDFLAGS before adding ours. Marius Bakke
2018-03-12build-system/meson: Add the output directory to RUNPATH....* guix/build/meson-build-system.scm (configure): Set LDFLAGS before invoking meson. Marius Bakke
2017-09-16build-system: Add 'meson-build-system'....* Makefile.am (MODULES): Add 'guix/build-system/meson.scm' and 'guix/build/meson-build-system.scm'. * guix/build-system/meson.scm: New file. * guix/build/meson-build-system.scm: New file. * doc/guix.texi (Build Systems): Add 'meson-build-system'. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Peter Mikkelsen