Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
fc48411a
Commit
fc48411a
authored
Oct 22, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
5a79227a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
setup.py
setup.py
+4
-4
No files found.
setup.py
View file @
fc48411a
...
@@ -30,7 +30,7 @@ import os
...
@@ -30,7 +30,7 @@ import os
import
sys
import
sys
# tell cython to resolve `cimport wendelin.*` modules hierarcy starting at top-level.
# tell cython to resolve `cimport wendelin.*` modules hierarc
h
y starting at top-level.
# see wendelin.py for details.
# see wendelin.py for details.
from
Cython.Compiler.Main
import
Context
as
CyContext
from
Cython.Compiler.Main
import
Context
as
CyContext
cy_search_inc_dirs
=
CyContext
.
search_include_directories
cy_search_inc_dirs
=
CyContext
.
search_include_directories
...
@@ -72,7 +72,7 @@ def _with_defaults(what, *argv, **kw):
...
@@ -72,7 +72,7 @@ def _with_defaults(what, *argv, **kw):
else
:
else
:
ccdefault
.
append
(
'-std=gnu++11'
)
# not c++11 since we use typeof
ccdefault
.
append
(
'-std=gnu++11'
)
# not c++11 since we use typeof
# DSOs are not yet annoated for visibility
# DSOs are not yet anno
t
ated for visibility
# XXX pyext besides _bigfile.so also cannot do this because PyMODINIT_FUNC
# XXX pyext besides _bigfile.so also cannot do this because PyMODINIT_FUNC
# does not include export in it. TODO reenable for _bigfile.so
# does not include export in it. TODO reenable for _bigfile.so
"""
"""
...
@@ -86,8 +86,8 @@ def _with_defaults(what, *argv, **kw):
...
@@ -86,8 +86,8 @@ def _with_defaults(what, *argv, **kw):
lddefault
=
[]
lddefault
=
[]
# python extensions cannot be built with -Wl,--no-undefined: at runtime
# python extensions cannot be built with -Wl,--no-undefined: at runtime
# they link
s
with either python (without libpython) or libpython. linking
# they link with either python (without libpython) or libpython. linking
# with both libpython and python would be wrong
# with both libpython and python would be wrong
.
if
what
==
_DSO
:
if
what
==
_DSO
:
lddefault
.
append
(
'-Wl,--no-undefined'
)
# check DSO for undefined symbols at link time
lddefault
.
append
(
'-Wl,--no-undefined'
)
# check DSO for undefined symbols at link time
...
...
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