Skip to content

Commit ba4531d

Browse files
jagadish-amdpragupta
authored andcommitted
Revert to prev sccache by ROCm
Signed-off-by: Jagadish Krishnamoorthy <[email protected]> (cherry picked from commit 1ad5bb95d796283d5f56ac1edd16f1731d24a49d) (cherry picked from commit 519160d)
1 parent 462187f commit ba4531d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.ci/docker/common/install_cache.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@ sed -e 's|PATH="\(.*\)"|PATH="/opt/cache/bin:\1"|g' -i /etc/environment
3636
export PATH="/opt/cache/bin:$PATH"
3737

3838
# Setup compiler cache
39-
install_ubuntu
39+
if [ -n "$ROCM_VERSION" ]; then
40+
curl --retry 3 http://repo.radeon.com/misc/.sccache_amd/sccache -o /opt/cache/bin/sccache
41+
else
42+
install_ubuntu
43+
fi
44+
4045
chmod a+x /opt/cache/bin/sccache
4146

4247
function write_sccache_stub() {

0 commit comments

Comments
 (0)