commit 4d7da0a9b4457095e4f2940b19c6fa1dda15e155
Author: Scott Kostyshak <[email protected]>
Date: Thu Jul 31 11:39:13 2025 +0200
lyx-tester: register new GCC/Clang when installing
This convenience function was just added in the previous commit,
8a5c53c2.
---
development/lyx-tester/switches | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/development/lyx-tester/switches b/development/lyx-tester/switches
index b2e0e0f47f..58bb78e67c 100644
--- a/development/lyx-tester/switches
+++ b/development/lyx-tester/switches
@@ -213,6 +213,9 @@ function gcc-apt-get-install ()
"gcc-$1" \
"g++-$1" \
"gfortran-$1"
+
+ # now register them so that 'switch-gcc-to' works.
+ update-alternatives-add-new-gcc-and-clang
}
@@ -221,4 +224,7 @@ function clang-apt-get-install ()
# don't need to separately install "clang++-$1".
# approximate size taken up by installing: # 722 MB
sudo apt-get install "clang-$1"
+
+ # now register them so that 'switch-clang-to' works.
+ update-alternatives-add-new-gcc-and-clang
}
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs