From 70ff7ac8a296db24401ca85557f94a5dfb9ab42b Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Thu, 10 Jul 2025 11:41:23 +0200 Subject: revert: make clean --- contrib/depends/Jenkinsfile | 6 ------ contrib/depends/Makefile | 31 +------------------------------ 2 files changed, 1 insertion(+), 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 -- cgit v1.2.3