Skip to content

Commit

Permalink
Copy compiler environment buildcaches to compiler mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Dec 2, 2023
1 parent 5845957 commit 2e7e359
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bin/sync_from_jenkins
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,19 @@ if [ -d $1-$2/spack_env/var/spack/environments ]; then
spack -e $env buildcache sync $1-$2b local-binary-plain
spack -e $env buildcache sync $1-$2e local-binary-plain
done
for env in $(ls -d $1-$2/spack_env/var/spack/environments/{gcc,clang}*);do
spack -e $env buildcache sync $1-$2c local-compiler-plain
spack -e $env buildcache sync $1-$2e local-compiler-plain
done
fi
if [ -d $1-$2/spack_env/spack/v0.21.0-fermi/NULL/var/spack/environments ]; then
for env in $(ls -d $1-$2/spack_env/spack/v0.21.0-fermi/NULL/var/spack/environments/*);do
spack -e $env buildcache sync $1-$2b local-binary-unified
spack -e $env buildcache sync $1-$2e local-binary-unified
done
for env in $(ls -d $1-$2/spack_env/spack/v0.21.0-fermi/NULL/var/spack/environments/{gcc,clang}*);do
spack -e $env buildcache sync $1-$2b local-compiler-unified
spack -e $env buildcache sync $1-$2e local-compiler-unified
done
fi

0 comments on commit 2e7e359

Please sign in to comment.