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

feat : added ninja build backend option to pip

parent 285217dc
No related branches found
No related tags found
2 merge requests!212Version 0.3.0,!116feat/release_pip
Pipeline #50030 waiting for manual action
......@@ -51,9 +51,15 @@ class CMakeBuild(build_ext):
if "AIDGE_INSTALL" not in os.environ
else os.environ["AIDGE_INSTALL"]
)
cmake_type_opts = (
["-G", os.environ.get("AIDGE_BUILD_GEN")]
if "AIDGE_BUILD_GEN" in os.environ
else []
)
self.spawn(
[
"cmake",
*cmake_type_opts,
str(cwd),
"-DTEST=OFF",
f"-DCMAKE_INSTALL_PREFIX:PATH={install_path}",
......
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