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

feat : missing pyproject.toml + tempalte cibuildwheel before script

parent 165c6897
No related branches found
No related tags found
2 merge requests!212Version 0.3.0,!116feat/release_pip
#!/bin/bash
set -x set -x
set -e set -e
DEPS_NAME=("aidge_core") for repo in $AIGE_DEPENDENCIES ; do
for repo in $DEPS_NAME; do REPO_PATH=$(find /host/home/ -type d -iname $repo \
cd $repo -not -path '*install*' \
mkdir build -not -path '*.git*' \
cd build -not -path '*miniconda*' \
cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DAIDGE_INSTALL=1 -not -path '*.local*' \
make -j4 all install -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 done
set +x set +x
set +e set +e
# [project]
# name = "aidge_core"
# dependencies = ["numpy"]
# version="$(cat version.txt)"
[tool.cibuildwheel]
build-frontend = "build"
before-build = [".gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh ${AIDGE_DEPENDENCIES}"]
[tool.cibuildwheel.environment]
AIGE_DEPENDENCIES = "" # aidge_core do not rely on any aidge dependency
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