Skip to content

Commit dc55f88

Browse files
authored
Fixed the clean command to use --target since -t isn't always available. (#2378)
1 parent 4e92814 commit dc55f88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.gitlab/common/common.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@
118118
script:
119119
- echo "== CLEAN BUILD DIRECTORY =="
120120
- source spack-ci-env-name.sh
121-
- cmake --build ${LBANN_BUILD_PARENT_DIR}/build -t clean
121+
- echo "== CLEANING ${LBANN_BUILD_PARENT_DIR}/build =="
122+
- cmake --build ${LBANN_BUILD_PARENT_DIR}/build --target clean
122123
- echo "== REMOVING BUILD RESOURCES =="
123124
- find ${CI_PROJECT_DIR}/builds -maxdepth 1 -mtime +2 -name "lbann_*" -type d -print -exec rm -r {} \;
124125
- find ${CI_PROJECT_DIR} -maxdepth 1 -mtime +2 -name "LBANN_*_setup_build_tools.sh" -type f -print -exec rm {} \;

0 commit comments

Comments
 (0)