Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aidge_backend_cpu
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Eclipse Projects
aidge
aidge_backend_cpu
Commits
282185e5
Commit
282185e5
authored
1 year ago
by
Olivier BICHLER
Browse files
Options
Downloads
Patches
Plain Diff
Fixed build issue
parent
f67869d9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!14
Padding interface change to match ONNX
Pipeline
#32976
failed
1 year ago
Stage: static_analysis
Stage: build
Stage: test
Stage: coverage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+0
-5
0 additions, 5 deletions
CMakeLists.txt
setup.py
+4
-3
4 additions, 3 deletions
setup.py
with
4 additions
and
8 deletions
CMakeLists.txt
+
0
−
5
View file @
282185e5
...
...
@@ -12,11 +12,6 @@ set(module_name _${project}) # target name
project
(
${
project
}
)
##############################################
# Import utils CMakeLists
set
(
CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
"
${
CMAKE_SOURCE_DIR
}
/cmake"
)
include
(
PybindModuleCreation
)
##############################################
# Define options
option
(
PYBIND
"python binding"
ON
)
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
4
−
3
View file @
282185e5
...
...
@@ -66,12 +66,13 @@ class CMakeBuild(build_ext):
# used to launch setup.py to setup PythonInterp
param_py
=
"
-DPYTHON_EXECUTABLE=
"
+
sys
.
executable
compile_type
=
'
Debug
'
install_path
=
os
.
path
.
join
(
sys
.
prefix
,
"
lib
"
,
"
libAidge
"
)
if
"
AIDGE_INSTALL
"
not
in
os
.
environ
else
os
.
environ
[
"
AIDGE_INSTALL
"
]
self
.
spawn
([
'
cmake
'
,
str
(
cwd
),
param_py
,
'
-DTEST=OFF
'
,
f
'
-DCMAKE_INSTALL_PREFIX:PATH=
{
install_path
}
'
])
self
.
spawn
([
'
cmake
'
,
str
(
cwd
),
param_py
,
'
-DTEST=OFF
'
,
f
'
-DCMAKE_INSTALL_PREFIX:PATH=
{
install_path
}
'
,
f
'
-DCMAKE_BUILD_TYPE=
{
compile_type
}
'
])
if
not
self
.
dry_run
:
self
.
spawn
([
'
cmake
'
,
'
--build
'
,
'
.
'
,
'
--config
'
,
'
Debug
'
,
'
-j
'
,
max_jobs
])
self
.
spawn
([
'
cmake
'
,
'
--install
'
,
'
.
'
,
'
--config
'
,
'
Debug
'
])
self
.
spawn
([
'
cmake
'
,
'
--build
'
,
'
.
'
,
'
--config
'
,
compile_type
,
'
-j
'
,
max_jobs
])
self
.
spawn
([
'
cmake
'
,
'
--install
'
,
'
.
'
,
'
--config
'
,
compile_type
])
os
.
chdir
(
str
(
cwd
))
aidge_package
=
build_lib
/
(
get_project_name
())
...
...
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