]> gitweb.michael.orlitzky.com - bash.d.git/commitdiff
sage.sh: pass "--wrap-mode=nofallback" to meson setup master
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 27 Jul 2025 23:39:40 +0000 (19:39 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 27 Jul 2025 23:39:40 +0000 (19:39 -0400)
To disable the use of any vendored dependencies.

sage.sh

diff --git a/sage.sh b/sage.sh
index 07d0f92787f1d991640e35074b00aad248ad3956..8bdda19df04fce727c1a2c9f80cc1782531e0677 100644 (file)
--- a/sage.sh
+++ b/sage.sh
@@ -9,8 +9,9 @@ export SAGE_INSTALL_GCC=no
 export SAGE_DEBUG=no
 
 # A "meson setup" command that disables all of the optional features,
 export SAGE_DEBUG=no
 
 # A "meson setup" command that disables all of the optional features,
-# including the documentation, and sets up a prefix-based install.
-# Does not include the trailing build directory.
+# including the documentation, and sets up a prefix-based install that
+# won't use any vendored dependencies. Does not include the trailing
+# build directory.
 #
 # Includes options from,
 #
 #
 # Includes options from,
 #
@@ -20,6 +21,7 @@ sage-meson-setup() {
     meson setup \
          --python.install-env=prefix \
          --prefix="${HOME}/.local" \
     meson setup \
          --python.install-env=prefix \
          --prefix="${HOME}/.local" \
+         --wrap-mode=nofallback \
          -Dbuild-docs=false \
          -Dauto_features=disabled \
          "${@}"
          -Dbuild-docs=false \
          -Dauto_features=disabled \
          "${@}"