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

fix : various minor bugs

parent f40b3d45
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ if [[ $repo == "" ]]; then # case for aidge_ core ...@@ -5,7 +5,7 @@ if [[ $repo == "" ]]; then # case for aidge_ core
mkdir -p build # creating build if its not already there to hold the build of cpp files mkdir -p build # creating build if its not already there to hold the build of cpp files
rm -rf build/* # build from scratch rm -rf build/* # build from scratch
else else
for repo in $AIGE_DEPENDENCIES ; do # case for other projects for repo in $AIDGE_DEPENDENCIES ; do # case for other projects
REPO_PATH=$(find /host/home/ -type d -name $repo \ REPO_PATH=$(find /host/home/ -type d -name $repo \
-not -path '*install*' \ -not -path '*install*' \
-not -path '*.git*' \ -not -path '*.git*' \
......
include project_name.txt
recursive-include aidge_core *.py recursive-include aidge_core *.py
recursive-include include *.hpp recursive-include include *.hpp
recursive-include src *.cpp recursive-include src *.cpp
[project] [project]
name = "aidge_core" name = "aidge_core"
description="Core implementations of the operators and graph of aidge framework" description="Core implementations of the operators and graph of aidge framework"
dynamic = ["version"] # defined in tool.setuptools_scm
dependencies = ["numpy"] dependencies = ["numpy"]
requires-python = ">= 3.7" requires-python = ">= 3.7"
readme = "README.md" readme = "README.md"
...@@ -10,6 +9,7 @@ classifiers = [ ...@@ -10,6 +9,7 @@ classifiers = [
"Development Status :: 2 - Pre-Alpha", "Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python :: 3" "Programming Language :: Python :: 3"
] ]
dynamic = ["version"] # defined in tool.setuptools_scm
[build-system] [build-system]
requires = ["setuptools>=68", "setuptools-scm", "cmake"] requires = ["setuptools>=68", "setuptools-scm", "cmake"]
...@@ -22,7 +22,7 @@ build-frontend = "build" ...@@ -22,7 +22,7 @@ build-frontend = "build"
before-build = ["bash .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] [tool.cibuildwheel.environment]
# aidge_core do not rely on any aidge dependency, hence this string is empty # aidge_core do not rely on any aidge dependency, hence this string is empty
AIGE_DEPENDENCIES = "" # format => "dep_1 dep_2 ... dep_n" AIDGE_DEPENDENCIES = "" # format => "dep_1 dep_2 ... dep_n"
##################################################### #####################################################
# SETUPTOOLS # SETUPTOOLS
......
...@@ -69,6 +69,8 @@ class CMakeBuild(build_ext): ...@@ -69,6 +69,8 @@ class CMakeBuild(build_ext):
f"-DCMAKE_BUILD_TYPE={compile_type}", f"-DCMAKE_BUILD_TYPE={compile_type}",
"-DPYBIND=ON", "-DPYBIND=ON",
"-DCMAKE_EXPORT_COMPILE_COMMANDS=ON", "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON",
"-DTEST=OFF",
"-DCOVERAGE=OFF"
] ]
) )
......
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