Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
ee3bd4d9
Commit
ee3bd4d9
authored
Sep 16, 2016
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add todo, release note.
parent
a62e4935
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
CHANGES.rst
CHANGES.rst
+2
-0
Tools/rules.bzl
Tools/rules.bzl
+3
-0
No files found.
CHANGES.rst
View file @
ee3bd4d9
...
@@ -44,6 +44,8 @@ Features added
...
@@ -44,6 +44,8 @@ Features added
* Support for the C++ ``typeid`` operator.
* Support for the C++ ``typeid`` operator.
* Support for bazel using a the pyx_library rule in //Tools:rules.bzl.
Bugs fixed
Bugs fixed
----------
----------
...
...
Tools/rules.bzl
View file @
ee3bd4d9
...
@@ -40,6 +40,9 @@ def pyx_library(
...
@@ -40,6 +40,9 @@ def pyx_library(
outs
=
[
src
.
split
(
'.'
)[
0
]
+
'.so'
for
src
in
pyx_srcs
]
outs
=
[
src
.
split
(
'.'
)[
0
]
+
'.so'
for
src
in
pyx_srcs
]
extra_flags
=
" "
.
join
([
"-X '%s=%s'"
%
x
for
x
in
cython_directives
]
+
extra_flags
=
" "
.
join
([
"-X '%s=%s'"
%
x
for
x
in
cython_directives
]
+
[
"-s '%s=%s'"
%
x
for
x
in
cython_options
])
[
"-s '%s=%s'"
%
x
for
x
in
cython_options
])
# TODO(robertwb): It might be better to only generate the C files,
# letting cc_library (or similar) handle the rest, but there isn't yet
# suport compiling Python C extensions from bazel.
native
.
genrule
(
native
.
genrule
(
name
=
name
+
"_cythonize"
,
name
=
name
+
"_cythonize"
,
srcs
=
pyx_srcs
,
srcs
=
pyx_srcs
,
...
...
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