]> git.seodisparate.com - AnotherAURHelper/commitdiff
Add missing compilers to use sccache with
authorStephen Seo <seo.disparate@gmail.com>
Wed, 7 Sep 2022 05:30:12 +0000 (14:30 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Wed, 7 Sep 2022 05:30:12 +0000 (14:30 +0900)
update.py

index 4ef0163716fd3c439b6c482b7ea74ec824e44c3a..b5c8ad51cb9cb25fe8680cd03c643f5b21bcb28e 100755 (executable)
--- a/update.py
+++ b/update.py
@@ -726,6 +726,12 @@ export PATH=${PATH/:\/usr\/local\/bin/}
         or not create_executable_script(
             f"{chroot}/root/usr/local/bin/g++", sccache_script
         )
+        or not create_executable_script(
+            f"{chroot}/root/usr/local/bin/cc", sccache_script
+        )
+        or not create_executable_script(
+            f"{chroot}/root/usr/local/bin/c++", sccache_script
+        )
         or not create_executable_script(
             f"{chroot}/root/usr/local/bin/clang", sccache_script
         )
@@ -752,6 +758,8 @@ def cleanup_sccache(chroot):
                 "-f",
                 f"{chroot}/root/usr/local/bin/gcc",
                 f"{chroot}/root/usr/local/bin/g++",
+                f"{chroot}/root/usr/local/bin/cc",
+                f"{chroot}/root/usr/local/bin/c++",
                 f"{chroot}/root/usr/local/bin/clang",
                 f"{chroot}/root/usr/local/bin/clang++",
                 f"{chroot}/root/usr/local/bin/rustc",