Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython_plus_experiments
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Julien Jerphanion
cython_plus_experiments
Commits
ddf675c4
Commit
ddf675c4
authored
Apr 21, 2021
by
Julien Jerphanion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify setup
parent
ece629fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
41 deletions
+4
-41
kdtree/Makefile
kdtree/Makefile
+2
-27
kdtree/setup.py
kdtree/setup.py
+2
-14
No files found.
kdtree/Makefile
View file @
ddf675c4
ifeq
(,)
INCLUDE_DIRS
=
-I
/usr/include/python3.8
else
INCLUDE_PYTHON
=
-I
/srv/slapgrid/slappart6/srv/runner/shared/python3/2e435adf7e2cb7d97668da52532ac7f3/include/python3.7m
OPENSSL_PATH
=
/srv/slapgrid/slappart6/srv/runner/shared/openssl/24bd61db512fe6e4e0d214ae77943d75
INCLUDE_OPENSSL
=
-I
$(OPENSSL_PATH)
/include
LIBRARY_OPENSSL
=
-L
$(OPENSSL_PATH)
/lib
RUNPATH_OPENSSL
=
-Wl
,-rpath
=
$(OPENSSL_PATH)
/lib
FMTLIB_PATH
=
/srv/slapgrid/slappart6/srv/runner/shared/fmtlib/d524cc3d1a798a140778558556ec6d0c
INCLUDE_FMTLIB
=
-I
$(FMTLIB_PATH)
/include
LIBRARY_FMTLIB
=
-L
$(FMTLIB_PATH)
/lib
RUNPATH_FMTLIB
=
-Wl
,-rpath
=
$(FMTLIB_PATH)
/lib
INCLUDE_DIRS
=
$(INCLUDE_PYTHON)
$(INCLUDE_OPENSSL)
$(INCLUDE_FMTLIB)
LIBPATHS
=
$(LIBRARY_OPENSSL)
$(LIBRARY_FMTLIB)
RUNPATHS
=
$(RUNPATH_OPENSSL)
$(RUNPATH_FMTLIB)
LDFLAGS
=
$(LIBPATHS)
$(RUNPATHS)
endif
EXE
=
main
CXX
=
g++
CPPFLAGS
=
-O2
-g
-Wno-unused-result
-Wsign-compare
-pthread
$(INCLUDE_DIRS)
...
...
@@ -59,6 +32,8 @@ nopython: $(EXE)
# Run without Python runtime
runnopython
:
$(EXE)
# Information of the runtime are currently redirected to stderr.
# This is just a simple way to mute them.
./
$(EXE)
2>/dev/null
clean
:
...
...
kdtree/setup.py
View file @
ddf675c4
...
...
@@ -7,22 +7,10 @@ extensions = [
"main"
,
language
=
"c++"
,
sources
=
[
"main.pyx"
],
include_dirs
=
[
"/srv/slapgrid/slappart6/srv/runner/shared/openssl/24bd61db512fe6e4e0d214ae77943d75/include"
,
"/srv/slapgrid/slappart6/srv/runner/shared/fmtlib/d524cc3d1a798a140778558556ec6d0c/include"
],
library_dirs
=
[
"/srv/slapgrid/slappart6/srv/runner/shared/openssl/24bd61db512fe6e4e0d214ae77943d75/lib"
,
"/srv/slapgrid/slappart6/srv/runner/shared/fmtlib/d524cc3d1a798a140778558556ec6d0c/lib"
],
libraries
=
[
"crypto"
,
"fmt"
],
extra_link_args
=
[
"-Wl,-rpath=/srv/slapgrid/slappart6/srv/runner/shared/openssl/24bd61db512fe6e4e0d214ae77943d75/lib"
,
"-Wl,-rpath=/srv/slapgrid/slappart6/srv/runner/shared/fmtlib/d524cc3d1a798a140778558556ec6d0c/lib"
],
libraries
=
[
"crypto"
,
"fmt"
],
),
]
setup
(
ext_modules
=
cythonize
(
extensions
)
ext_modules
=
cythonize
(
extensions
)
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment