-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:FNALssi/fermi-spack-tools into main
- Loading branch information
Showing
8 changed files
with
137 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/bash | ||
curl -OL https://buildmaster.fnal.gov/buildmaster/view/spack/job/build-spack-env/label1=$1/$2/artifact/copyBack/jenkins-build-spack-env-label1=$1-$2.tar.bz2 | ||
mkdir $1-$2; tar -x -C $1-$2 -f jenkins-build-spack-env-label1=$1-$2.tar.bz2 | ||
#if (curl https://buildmaster.fnal.gov/buildmaster/view/spack/job/build-spack-env/$2/label1=$2/artifact/copyBack/spack-emergency-cache/ 2>/dev/null | grep -q 404 ); then | ||
spack mirror add $1-$2e --type binary https://buildmaster.fnal.gov/buildmaster/view/spack/job/build-spack-env/$2/label1=$1/artifact/copyBack/spack-emergency-cache/ | ||
#fi | ||
#if (curl https://buildmaster.fnal.gov/buildmaster/view/spack/job/build-spack-env/$2/label1=$2/artifact/copyBack/spack-binary-cache/ 2>/dev/null | grep -q 404 ); then | ||
spack mirror add $1-$2b --type binary https://buildmaster.fnal.gov/buildmaster/view/spack/job/build-spack-env/$2/label1=$1/artifact/copyBack/spack-binary-cache/ | ||
#fi | ||
#if (curl https://buildmaster.fnal.gov/buildmaster/view/spack/job/build-spack-env/$2/label1=$2/artifact/copyBack/spack-compiler-cache/ 2>/dev/null | grep -q 404 );then | ||
spack mirror add $1-$2c --type binary https://buildmaster.fnal.gov/buildmaster/view/spack/job/build-spack-env/$2/label1=$1/artifact/copyBack/spack-compiler-cache | ||
#fi | ||
spack mirror list | ||
if [ -d $1-$2/spack_env/var/spack/environments ]; then | ||
for env in $(ls -d $1-$2/spack_env/var/spack/environments/*);do | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
spack: | ||
config: | ||
install_tree: | ||
projections: | ||
gcc: "{architecture}/{compiler.name}-{compiler.version}/{name}-{version}" | ||
llvm: "{architecture}/{compiler.name}-{compiler.version}/{name}-{version}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
spack: | ||
config: | ||
install_tree: | ||
projections: | ||
gcc: "{package.name}/{version}/{architecture}-{compiler.name}-{compiler.version}" | ||
llvm: "{package.name}/{version}{architecture}-{compiler.name}-{compiler.version}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -136,11 +136,6 @@ packages: | |
- spec: "gdbm @1.19 %[email protected] os=almalinux9" | ||
prefix: /usr | ||
buildable: False | ||
glib: | ||
externals: | ||
- spec: "glib @2.68.4 %[email protected] os=almalinux9" | ||
prefix: /usr | ||
buildable: False | ||
gettext: | ||
externals: | ||
- spec: "gettext ~bzip2+curses~git+libunistring+libxml2~tar+xz @0.21 %[email protected] os=almalinux9" | ||
|
Oops, something went wrong.