From: Stephen Seo Date: Wed, 7 Sep 2022 05:30:12 +0000 (+0900) Subject: Add missing compilers to use sccache with X-Git-Url: https://git.seodisparate.com/stephenseo/css/base.css?a=commitdiff_plain;h=1b1c86034aacc568971b53586aa7267469864cd4;p=AnotherAURHelper Add missing compilers to use sccache with --- diff --git a/update.py b/update.py index 4ef0163..b5c8ad5 100755 --- 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",