Add missing compilers to use sccache with

This commit is contained in:
Stephen Seo 2022-09-07 14:30:12 +09:00
parent ad1f4f7ad5
commit 1b1c86034a

View file

@ -726,6 +726,12 @@ export PATH=${PATH/:\/usr\/local\/bin/}
or not create_executable_script( or not create_executable_script(
f"{chroot}/root/usr/local/bin/g++", sccache_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( or not create_executable_script(
f"{chroot}/root/usr/local/bin/clang", sccache_script f"{chroot}/root/usr/local/bin/clang", sccache_script
) )
@ -752,6 +758,8 @@ def cleanup_sccache(chroot):
"-f", "-f",
f"{chroot}/root/usr/local/bin/gcc", f"{chroot}/root/usr/local/bin/gcc",
f"{chroot}/root/usr/local/bin/g++", 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/clang++", f"{chroot}/root/usr/local/bin/clang++",
f"{chroot}/root/usr/local/bin/rustc", f"{chroot}/root/usr/local/bin/rustc",