From 456fcc9cf8c4f67490cda1675217899d66e47713 Mon Sep 17 00:00:00 2001 From: Tamas K Stenczel Date: Mon, 4 May 2026 15:37:57 +0100 Subject: [PATCH 1/3] Fix meson install not producing bin dir (issue #722) Add install: true to all executable() calls in src/Programs/meson.build so that meson install places gap_fit, quip, and all other programs into the prefix bin/ directory. Co-Authored-By: Claude Sonnet 4.6 --- meson.build | 2 +- src/Programs/meson.build | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 323c841d7..f1fe70595 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('quip','fortran','c', - version : '0.1', + version : '0.10.3', default_options : ['warning_level=3'], meson_version : '>=1.1' ) diff --git a/src/Programs/meson.build b/src/Programs/meson.build index 5a8fb65d6..711e0c0c1 100644 --- a/src/Programs/meson.build +++ b/src/Programs/meson.build @@ -53,6 +53,7 @@ foreach prog : standard_programs link_with: link_quip, dependencies: [blas_dep], override_options: ['b_lundef=false'], + install: true, ) endforeach @@ -61,12 +62,14 @@ executable('quip', 'quip.F90', link_with: link_quip, dependencies: [blas_dep, mpi_dep], override_options: ['b_lundef=false'], + install: true, ) executable('gap_fit', '../GAP/gap_fit.F90', link_with: link_quip + [gap_fit_lib], dependencies: [blas_dep, mpi_dep], override_options: ['b_lundef=false'], + install: true, ) # C program @@ -74,4 +77,5 @@ executable('quip_wrapper_simple_example_C', 'quip_wrapper_simple_example_C.c', link_with: link_quip, dependencies: [blas_dep], override_options: ['b_lundef=false'], + install: true, ) From 4690d37ffb45442fe9b0b8e0bb02e8b2d5d1c68b Mon Sep 17 00:00:00 2001 From: Tamas K Stenczel Date: Mon, 4 May 2026 15:43:25 +0100 Subject: [PATCH 2/3] Add meson install step to CI and verify bin/gap_fit exists Adds --prefix, meson install, and a sanity check that gap_fit lands in the installed bin/ directory, catching any regression of issue #722. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/Build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 76ab52126..257f29a7a 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -67,8 +67,10 @@ jobs: - name: Build QUIP libraries run: | - meson setup builddir + meson setup builddir --prefix=$GITHUB_WORKSPACE/quip-install meson compile -C builddir + meson install -C builddir + test -f $GITHUB_WORKSPACE/quip-install/bin/gap_fit env: PKG_CONFIG_PATH: ${{ runner.os == 'macOS' && '/opt/homebrew/opt/openblas/lib/pkgconfig:/usr/local/opt/openblas/lib/pkgconfig' || '' }} From 98c4bbcc039a6fe90f9601e8ee71f5b1e3a649d4 Mon Sep 17 00:00:00 2001 From: Tamas K Stenczel Date: Mon, 4 May 2026 15:48:16 +0100 Subject: [PATCH 3/3] Bump version to 0.10.4 Co-Authored-By: Claude Sonnet 4.6 --- meson.build | 2 +- quippy/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index f1fe70595..a2f71cafb 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('quip','fortran','c', - version : '0.10.3', + version : '0.10.4', default_options : ['warning_level=3'], meson_version : '>=1.1' ) diff --git a/quippy/meson.build b/quippy/meson.build index ac6f8da55..9a3d26224 100644 --- a/quippy/meson.build +++ b/quippy/meson.build @@ -1,6 +1,6 @@ # Version is updated by CI from git tags (see .github/workflows/build-wheels.yml) project('quippy', 'c', 'fortran', - version: '0.10.0', + version: '0.10.4', meson_version: '>=1.1.0', default_options: [ 'buildtype=release',