Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aidge_core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Houssem ROUIS
aidge_core
Commits
64f1e7a0
Commit
64f1e7a0
authored
11 months ago
by
Grégoire Kubler
Browse files
Options
Downloads
Patches
Plain Diff
chore : python exec debug
parent
9c5c9579
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+3
-1
3 additions, 1 deletion
CMakeLists.txt
setup.py
+3
-3
3 additions, 3 deletions
setup.py
with
6 additions
and
4 deletions
CMakeLists.txt
+
3
−
1
View file @
64f1e7a0
...
...
@@ -87,9 +87,11 @@ if (PYBIND)
# Handles Python + pybind11 headers dependencies
target_link_libraries
(
${
module_name
}
PRIVATE
Python::Python
PUBLIC
pybind11::pybind11
)
)
endif
()
target_link_libraries
(
${
module_name
}
PUBLIC Threads::Threads fmt::fmt
)
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
3
−
3
View file @
64f1e7a0
...
...
@@ -4,7 +4,6 @@ import os
import
shutil
import
pathlib
import
subprocess
import
multiprocessing
from
math
import
ceil
...
...
@@ -46,7 +45,8 @@ class CMakeBuild(build_ext):
# Impose to use the executable of the python
# used to launch setup.py to setup PythonInterp
param_py
=
"
-DPYTHON_EXECUTABLE=
"
+
sys
.
executable
python_executable
=
sys
.
executable
print
(
f
"
python executable
{
python_executable
}
"
)
compile_type
=
"
Debug
"
install_path
=
(
...
...
@@ -59,7 +59,7 @@ class CMakeBuild(build_ext):
[
"
cmake
"
,
str
(
cwd
),
param_py
,
"
-DPYTHON_EXECUTABLE=
"
+
python_executable
,
"
-DTEST=OFF
"
,
f
"
-DCMAKE_INSTALL_PREFIX:PATH=
{
install_path
}
"
,
f
"
-DCMAKE_BUILD_TYPE=
{
compile_type
}
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment