diff --git a/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh b/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh index 4f74488ae41714a4ce03ba7514bf93842768c5ae..a73ec4019cd06a84a9d34ed09d0b1c920470f1e6 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."