Add missing compiler program for sccache support

This commit is contained in:
Stephen Seo 2022-09-07 15:06:05 +09:00
parent 1b1c86034a
commit 22203fee1f

View file

@ -732,6 +732,9 @@ export PATH=${PATH/:\/usr\/local\/bin/}
or not create_executable_script( or not create_executable_script(
f"{chroot}/root/usr/local/bin/c++", sccache_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( or not create_executable_script(
f"{chroot}/root/usr/local/bin/clang", sccache_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/g++",
f"{chroot}/root/usr/local/bin/cc", f"{chroot}/root/usr/local/bin/cc",
f"{chroot}/root/usr/local/bin/c++", 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/clang++", f"{chroot}/root/usr/local/bin/clang++",
f"{chroot}/root/usr/local/bin/rustc", f"{chroot}/root/usr/local/bin/rustc",