diff options
| author | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2025-07-10 11:41:23 +0200 |
|---|---|---|
| committer | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2025-07-10 11:41:23 +0200 |
| commit | 70ff7ac8a296db24401ca85557f94a5dfb9ab42b (patch) | |
| tree | 00c959fd74eba017bfc43b19572cf6bc2c120d9c | |
| parent | 9fff2db79bff4dc0fa409b20e6b59e3ded74b592 (diff) | |
revert: make clean
| -rw-r--r-- | contrib/depends/Jenkinsfile | 6 | ||||
| -rw-r--r-- | contrib/depends/Makefile | 31 |
2 files changed, 1 insertions, 36 deletions
diff --git a/contrib/depends/Jenkinsfile b/contrib/depends/Jenkinsfile index 412d44c..db97919 100644 --- a/contrib/depends/Jenkinsfile +++ b/contrib/depends/Jenkinsfile @@ -43,9 +43,6 @@ pipeline { post { always { script { - dir('contrib/depends') { - sh "make clean" - } def targets = params.LINUX_TARGETS.split(',').collect { it.trim() } for (target in targets) { archiveArtifacts artifacts: "contrib/depends/built/${target}/*/*.tar.gz*", allowEmptyArchive: true @@ -79,9 +76,6 @@ pipeline { post { always { script { - dir('contrib/depends') { - sh "make clean" - } def targets = params.DARWIN_TARGETS.split(',').collect { it.trim() } for (target in targets) { archiveArtifacts artifacts: "contrib/depends/built/${target}/*/*.tar.gz*", allowEmptyArchive: true diff --git a/contrib/depends/Makefile b/contrib/depends/Makefile index f1d2bf7..7e9f0f4 100644 --- a/contrib/depends/Makefile +++ b/contrib/depends/Makefile @@ -266,33 +266,4 @@ download: download-osx download-linux download-win $(foreach package,$(all_packages),$(eval $(call ext_add_stages,$(package)))) -clean: - @echo "=== Cleaning up contrib/depends ===" - - @echo " Removing work/ directory..." - @rm -rf $(BASEDIR)/work/ - - @echo " Removing host triplet directories..." - @for dir in $(BASEDIR)/*-*-*/; do \ - if [ -d "$$dir" ]; then \ - dirname=$$(basename "$$dir"); \ - rm -rf "$$dir"; \ - fi; \ - done - - @echo " Cleaning built/ directory..." - @if [ -d "$(BASE_CACHE)" ]; then \ - tmp_keep_list=$$(mktemp); \ - $(foreach package,$(all_packages),echo "$($(package)_cached)" >> $$tmp_keep_list; echo "$($(package)_cached_checksum)" >> $$tmp_keep_list; echo "$($(package)_cached_buildinfo)" >> $$tmp_keep_list;) \ - find "$(BASE_CACHE)" -name "*.tar.gz" -o -name "*.tar.gz.hash" -o -name "*.tar.gz.txt" | while read file; do \ - if ! grep -Fxq "$$file" $$tmp_keep_list; then \ - echo " Removing outdated: $$file"; \ - rm -f "$$file"; \ - fi; \ - done; \ - rm -f $$tmp_keep_list; \ - fi - - @echo " Cleanup completed" - -.PHONY: install cached download-one download-osx download-linux download-win download check-packages check-sources clean +.PHONY: install cached download-one download-osx download-linux download-win download check-packages check-sources |
