Skip to content
Snippets Groups Projects
Commit 4ff26bf5 authored by Grégoire Kubler's avatar Grégoire Kubler
Browse files

feat : now cibuildwheel works on windows

parent 974774a3
No related branches found
No related tags found
2 merge requests!212Version 0.3.0,!116feat/release_pip
#!/bin/bash
set -x
set -e
for repo in $AIGE_DEPENDENCIES ; do
REPO_PATH=$(find /host/home/ -type d -name $repo \
-not -path '*install*' \
-not -path '*.git*' \
-not -path '*miniconda*' \
-not -path '*.local*' \
-not -path "*lib*" \
-not -path "*/$repo/$repo" \
-print -quit)
cd $REPO_PATH
if [[ $repo == "" ]]; then # case for aidge_ core
mkdir -p build # creating build if its not already there to hold the build of cpp files
rm -rf build/* # build from scratch
pip install . -v
done
else
for repo in $AIGE_DEPENDENCIES ; do # case for other projects
REPO_PATH=$(find /host/home/ -type d -name $repo \
-not -path '*install*' \
-not -path '*.git*' \
-not -path '*miniconda*' \
-not -path '*.local*' \
-not -path "*lib*" \
-not -path "*/$repo/$repo" \
-print -quit)
cd $REPO_PATH
mkdir -p build # creating build if its not already there to hold the build of cpp files
rm -rf build/* # build from scratch
pip install . -v
done
fi
set +x
set +e
......@@ -5,7 +5,7 @@
[tool.cibuildwheel]
build-frontend = "build"
before-build = [".gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh ${AIDGE_DEPENDENCIES}"]
before-build = ["bash .gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh ${AIDGE_DEPENDENCIES}"]
[tool.cibuildwheel.environment]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment