From 9328fdc9dcb45dc059b9ea6d9aed178e2d65ac95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Kubler?= <gregoire.kubler@proton.me> Date: Tue, 11 Jun 2024 14:25:09 +0200 Subject: [PATCH] fix : better file exception takes in count AIDGE_INSTALL --- ...uildwheel_build_deps_before_build_wheel.sh | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh b/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh index 4f74488..a73ec40 100644 --- a/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh +++ b/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh @@ -13,16 +13,19 @@ if [[ $AIDGE_DEPENDENCIES == "" ]]; then # case for aidge_ core else for repo in $AIDGE_DEPENDENCIES ; do # case for other projects search_path=$1 - REPO_PATH=$(find $search_path ! -writable -prune -o -type d \ - -name "$repo" \ - -not -path "*/install/*" \ - -not -path "*/.git/*" \ - -not -path "*/miniconda/*" \ - -not -path "*/conda/*" \ - -not -path "*/.local/*" \ - -not -path "*/lib/*" \ - -not -path "*/$repo/$repo/*" \ - -not -path "*/proc/*" \ + REPO_PATH=$(find $search_path ! -writable -prune -o -type d \ + -name "$repo" \ + -not -path "*/install/*" \ + -not -path "*/.git/*" \ + -not -path "*/miniconda/*" \ + -not -path "*/conda/*" \ + -not -path "*/.local/*" \ + -not -path "*/lib/*" \ + -not -path "*/lib*" \ + -not -path "*/INSTALL*" \ + -not -path "*/$repo/$repo/*" \ + -not -path "*/proc/*" \ + -not -path "*${AIDGE_INSTALL//"../"}*" \ -print -quit) if [[ -z "$REPO_PATH" ]]; then echo "ERROR : dependency $repo not found in search_path \"$search_path\". ABORTING." -- GitLab