]> gitweb.michael.orlitzky.com - shell.d.git/commitdiff
sage.sh: disable byte-compiling to speed up (re)installs
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 6 Feb 2026 17:06:30 +0000 (12:06 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 6 Feb 2026 17:06:30 +0000 (12:06 -0500)
sage.sh

diff --git a/sage.sh b/sage.sh
index 1a3795cea2ee4e395cde67bce9315dbf158918b7..c9a7edd08716d088fecf66b8e8fa346f693990b9 100644 (file)
--- a/sage.sh
+++ b/sage.sh
@@ -13,12 +13,14 @@ export SAGE_DEBUG=no
 # won't use any vendored dependencies. Does not include the trailing
 # build directory.
 #
-# Includes options from,
+# Byte-compilation is disabled for now because it causes a 20x slowdown
+# in the edit-compile loop:
 #
-#   https://github.com/sagemath/sage/pull/40485
+#   https://github.com/mesonbuild/meson-python/issues/820
 #
 sage-meson-setup() {
     meson setup \
+         --python.bytecompile=-1 \
          --python.install-env=prefix \
          --prefix="${HOME}/.local" \
          --wrap-mode=nofallback \