summaryrefslogtreecommitdiff
path: root/guix/build/meson-build-system.scm
AgeCommit message (Collapse)Author
2023-04-09build: meson: Explicitly invoke "meson setup" instead of just "meson".Maxim Cournoyer
* guix/build/meson-build-system.scm (configure): Invoke the setup command to avoid a deprecation warning.
2023-04-09build: meson: Honor bindir, libdir and includedir.Maxim Cournoyer
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.
2021-11-11build: meson: Replace the 'test-target' argument by 'test-options'.Maxim Cournoyer
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.
2020-11-06build-system/meson: Do not apply strip-runpath to the "debug" output.Maxim Cournoyer
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.
2019-06-30build-system/meson: Do not inherit the 'bootstrap' phase.Marius Bakke
* guix/build/meson-build-system.scm (%standard-phases): Remove 'bootstrap'. * gnu/packages/glib.scm (glib)[arguments]: Adjust accordingly.
2018-08-22build-system/meson: Strip RUNPATH and remove PatchELF traces.Marius Bakke
* 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'.
2018-08-13Merge branch 'staging' into core-updatesRicardo Wurmus
2018-07-28build-system/meson: Remove RUNPATH workarounds.Marius Bakke
* 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.
2018-07-24Merge branch 'master' into core-updatesMarius Bakke
2018-06-30build-system/meson: Use invoke.Ricardo Wurmus
* guix/build/meson-build-system.scm (configure, build, check, install): Use "invoke" and unconditionally return #t.
2018-06-28meson-build-system: Return #t from all phases.Mark H Weaver
* guix/build/meson-build-system.scm (configure, build, check, install): (fix-runpath): Use 'invoke' and return #t from all phases.
2018-05-07build-system/meson: Use 'strip-runpath' instead of PatchELF.Ludovic Courtès
* guix/build/meson-build-system.scm (fix-runpath): Call 'strip-runpath' instead of invoking 'patchelf'.
2018-04-15build-system/meson: Don't override LDFLAGS if already set.Marius Bakke
* guix/build/meson-build-system.scm (configure): Test for LDFLAGS before adding ours. (cherry picked from commit 611c27db2aec8c2f72bc0c1e5c7d126dc95b39b2)
2018-04-02build-system/meson: Don't override LDFLAGS if already set.Marius Bakke
* guix/build/meson-build-system.scm (configure): Test for LDFLAGS before adding ours.
2018-03-12build-system/meson: Add the output directory to RUNPATH.Marius Bakke
* guix/build/meson-build-system.scm (configure): Set LDFLAGS before invoking meson.
2017-09-16build-system: Add 'meson-build-system'.Peter Mikkelsen
* 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>