]> git.seodisparate.com - AnotherAURHelper/commitdiff
Add missing compiler program for sccache support
authorStephen Seo <seo.disparate@gmail.com>
Wed, 7 Sep 2022 06:06:05 +0000 (15:06 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Wed, 7 Sep 2022 06:06:05 +0000 (15:06 +0900)
update.py

index b5c8ad51cb9cb25fe8680cd03c643f5b21bcb28e..73c7b81274dece5065d85367cc721cf4379cc5c9 100755 (executable)
--- a/update.py
+++ b/update.py
@@ -732,6 +732,9 @@ export PATH=${PATH/:\/usr\/local\/bin/}
         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/cpp", sccache_script
+        )
         or not create_executable_script(
             f"{chroot}/root/usr/local/bin/clang", sccache_script
         )
@@ -760,6 +763,7 @@ def cleanup_sccache(chroot):
                 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/cpp",
                 f"{chroot}/root/usr/local/bin/clang",
                 f"{chroot}/root/usr/local/bin/clang++",
                 f"{chroot}/root/usr/local/bin/rustc",