Skip to content
Snippets Groups Projects
Commit 6944fafc authored by Nicolas Richart's avatar Nicolas Richart
Browse files

Adding colors for no particular reasons

parent 83c58fd0
No related branches found
No related tags found
1 merge request!4Missing cuda/nccl modules
...@@ -177,17 +177,28 @@ spack:install: ...@@ -177,17 +177,28 @@ spack:install:
- echo "{}" > spack-install-${environment}.xml - echo "{}" > spack-install-${environment}.xml
# Cleaning patches in case one has a different hash # Cleaning patches in case one has a different hash
- ${STACK_LOCATION}/spack/bin/spack --color always -e ${environment} clean -m - ${STACK_LOCATION}/spack/bin/spack
--color always
-e ${environment}
clean -m
- ${STACK_LOCATION}/spack/bin/spack --color always -e ${environment} install - ${STACK_LOCATION}/spack/bin/spack
--color always
-e ${environment} install
--log-file spack-install-${environment}.xml --log-file spack-install-${environment}.xml
--log-format junit --log-format junit
--only-concrete --only-concrete
--fail-fast --fail-fast
--show-log-on-error --show-log-on-error
- ${STACK_LOCATION}/spack/bin/spack -e ${environment} find -vl | tee spack-find-${environment}-${stack}.log - ${STACK_LOCATION}/spack/bin/spack
- ${STACK_LOCATION}/spack/bin/spack -e ${environment} --color always
-e ${environment}
find -vl | tee spack-find-${environment}-${stack}.log
- ${STACK_LOCATION}/spack/bin/spack
--color always
-e ${environment}
buildcache create buildcache create
--update-index --update-index
--key EDC904DCE3D2E84E --key EDC904DCE3D2E84E
...@@ -202,7 +213,8 @@ spack:install: ...@@ -202,7 +213,8 @@ spack:install:
- job: spack:concretize - job: spack:concretize
artifacts: artifacts:
paths: paths:
- spack-find-*.log - spack-*.log
- spack-*.xml
reports: reports:
junit: spack-install-*.xml junit: spack-install-*.xml
timeout: 72h timeout: 72h
......
...@@ -25,14 +25,18 @@ for c in "core_compilers" "compilers"; do ...@@ -25,14 +25,18 @@ for c in "core_compilers" "compilers"; do
echo "${_specs}" echo "${_specs}"
if [ "x${_specs}" != "x" ]; then if [ "x${_specs}" != "x" ]; then
${STACK_LOCATION}/spack/bin/spack spec \ ${STACK_LOCATION}/spack/bin/spack \
--color always \
spec \
--install-status \ --install-status \
--namespaces \ --namespaces \
--long \ --long \
--types \ --types \
${_specs} ${_specs}
${STACK_LOCATION}/spack/bin/spack spec \ ${STACK_LOCATION}/spack/bin/spack \
--color always \
spec \
--install-status \ --install-status \
--namespaces \ --namespaces \
--long \ --long \
...@@ -40,7 +44,9 @@ for c in "core_compilers" "compilers"; do ...@@ -40,7 +44,9 @@ for c in "core_compilers" "compilers"; do
--json \ --json \
${_specs} > compilers_spec.json ${_specs} > compilers_spec.json
${STACK_LOCATION}/spack/bin/spack install \ ${STACK_LOCATION}/spack/bin/spack \
--color always \
install \
--log-file ${MOUNT_POINT}/spack-install-${c}.xml \ --log-file ${MOUNT_POINT}/spack-install-${c}.xml \
--log-format junit \ --log-format junit \
--fail-fast \ --fail-fast \
...@@ -50,7 +56,9 @@ for c in "core_compilers" "compilers"; do ...@@ -50,7 +56,9 @@ for c in "core_compilers" "compilers"; do
hashes=$(jq -Mr '.spec.nodes | map("/\(.hash)") | join(" ")' compilers_spec.json) hashes=$(jq -Mr '.spec.nodes | map("/\(.hash)") | join(" ")' compilers_spec.json)
echo "Adding packages to buildcache" echo "Adding packages to buildcache"
${STACK_LOCATION}/spack/bin/spack buildcache create \ ${STACK_LOCATION}/spack/bin/spack \
--color always \
buildcache create \
--update-index \ --update-index \
--key EDC904DCE3D2E84E \ --key EDC904DCE3D2E84E \
${MOUNT_POINT}/buildcache ${hashes} ${MOUNT_POINT}/buildcache ${hashes}
...@@ -63,7 +71,9 @@ for c in "core_compilers" "compilers"; do ...@@ -63,7 +71,9 @@ for c in "core_compilers" "compilers"; do
# echo " - ${location}/compiler/latest/linux" # echo " - ${location}/compiler/latest/linux"
# echo " - ${location}/Linux_x86_64/2024/compilers" # echo " - ${location}/Linux_x86_64/2024/compilers"
${STACK_LOCATION}/spack/bin/spack compiler find \ ${STACK_LOCATION}/spack/bin/spack \
--color always \
compiler find \
--scope system \ --scope system \
${location} \ ${location} \
${location}/compiler/latest \ ${location}/compiler/latest \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment