From 5b1de5ba95ad7448b39e748093ec26938b97585f Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 6 Feb 2026 12:06:30 -0500 Subject: [PATCH] sage.sh: disable byte-compiling to speed up (re)installs --- sage.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sage.sh b/sage.sh index 1a3795c..c9a7edd 100644 --- 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 \ -- 2.51.0