From b426dabdca2aa8c94ab9c47751e246a52fc9bb56 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 6 Feb 2026 12:17:08 -0500 Subject: [PATCH] sage.sh: new command sage-meson-install We have too many files to reinstall them all after every edit; this command will pass --only-changed by default. --- sage.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sage.sh b/sage.sh index 892434a..4ce68e4 100644 --- a/sage.sh +++ b/sage.sh @@ -32,3 +32,12 @@ sage-meson-setup() { -Dauto_features=disabled \ "${@}" } + +# A "meson install" command that passes --only-changed by default. +# This makes a huge difference in the install time as we have >= 5k +# files to install. +sage-meson-install() { + meson install \ + --only-changed \ + "${@}" +} -- 2.51.0