Skip to content

Conversation

@sethk
Copy link
Contributor

@sethk sethk commented Jul 20, 2025

  • Don't require bash for pushd; every line is a separate invocation of the shell, so it's not necessary to clean up

  • Rename ENABLE_FLOAT to MESON_OPTIONS so I can do make MESON_OPTIONS='-Denable_float=true -Dbuilt_in_models=true'

  • Prevent clean targets from running in parallel to any other targets. This fixes make -j8 distclean test for example.

  • Use the direct paths to .venv/bin/meson and ninja as targets for the venv pip installs, rather than $(MESON) and $(NINJA). Some of my environments are unable to build meson or ninja inside the venv, especially since we're not specifying a version. This allows you to do make NINJA=/mingw64/bin/ninja for example.

  • Use the ninja.build files as targets, as the mtime of the build directory is not a guarantee that the meson setup succeeded.

  • Upgrade pip using .venv/bin/python -m pip install --upgrade pip instead of via .venv/bin/pip, as this errors out when there is an update.

- Don't require bash for pushd; every line is a separate invocation of the
  shell, so it's not necessary to clean up

- Rename ENABLE_FLOAT to MESON_OPTIONS so I can do
  make MESON_OPTIONS='-Denable_float=true -Dbuilt_in_models=true'

- Prevent clean targets from running in parallel to any other targets.
  This fixes make -j8 distclean test for example.

- Use the direct paths to .venv/bin/meson and ninja as targets for the
  venv pip installs, rather than $(MESON) and $(NINJA). Some of my
  environments are unable to build meson or ninja inside the venv,
  especially since we're not specifying a version. This allows you to do
  make NINJA=/mingw64/bin/ninja for example.

- Use the ninja.build files as targets, as the mtime of the build
  directory is not a guarantee that the meson setup succeeded.

- Upgrade pip using .venv/bin/python -m pip install --upgrade pip
  instead of via .venv/bin/pip, as this errors out when there is an
  update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant