Skip to content

Commit 2c1d50f

Browse files
committed
ci: revert Frontier staging/install cleanup in build.sh
1 parent 87f299f commit 2c1d50f

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

.github/workflows/common/build.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,9 @@ fi
2525
# source code is built here on the compute node.
2626
# Phoenix: always start fresh to avoid SIGILL from stale binaries compiled
2727
# on a different microarchitecture.
28-
# Frontier: wipe only compiled Fortran staging/install slugs; preserve dep
29-
# dirs (silo, hdf5, lapack, fftw, hipfort) which were built on the login node
30-
# and cannot be re-fetched from a compute node (no internet).
3128
if [ "$job_cluster" = "phoenix" ]; then
3229
source .github/scripts/clean-build.sh
3330
clean_build
34-
elif [ "$job_cluster" = "frontier" ] || [ "$job_cluster" = "frontier_amd" ]; then
35-
for _dir in build/staging/ build/install/; do
36-
if [ -d "$_dir" ]; then
37-
for _sub in "$_dir"*/; do
38-
_name=$(basename "$_sub")
39-
case "$_name" in silo|hdf5|lapack|fftw|hipfort) continue ;; esac
40-
rm -rf "$_sub"
41-
done
42-
fi
43-
done
44-
unset _dir _sub _name
4531
fi
4632

4733
source .github/scripts/retry-build.sh

0 commit comments

Comments
 (0)