]> gitweb.michael.orlitzky.com - shell.d.git/commitdiff
sage.sh: new command sage-meson-install
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 6 Feb 2026 17:17:08 +0000 (12:17 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 6 Feb 2026 17:17:08 +0000 (12:17 -0500)
We have too many files to reinstall them all after every edit; this
command will pass --only-changed by default.

sage.sh

diff --git a/sage.sh b/sage.sh
index 892434ad88065b605a6e3cd0b382fabfdb8311e6..4ce68e4c2a58459a429be079092272919ccdc133 100644 (file)
--- 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 \
+         "${@}"
+}