# This is trinary, ha ha!
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.
+#
+# Includes options from,
+#
+# https://github.com/sagemath/sage/pull/40485
+#
+sage-meson-setup() {
+ meson setup \
+ --python.install-env=prefix \
+ --prefix="${HOME}/.local" \
+ -Dbuild-docs=false \
+ -Dbliss=disabled \
+ -Dbrial=disabled \
+ -Dcoxeter3=disabled \
+ -Dmcqd=disabled \
+ -Dmeataxe=disabled \
+ -Drankwidth=disabled \
+ -Dsirocco=disabled \
+ -Dtdlib=disabled \
+ "${@}"
+}
+
# Run ./configure within the SageMath git repository. This tweaks all
# of the flags that I don't want to tweak manually:
#