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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
9d06861d
Commit
9d06861d
authored
Aug 29, 2017
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add manylinux wheel building target to Makefile.
parent
00f2c51f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
Makefile
Makefile
+16
-0
No files found.
Makefile
View file @
9d06861d
PYTHON
?=
python
PYTHON
?=
python
TESTOPTS
?=
TESTOPTS
?=
REPO
=
git://github.com/cython/cython.git
REPO
=
git://github.com/cython/cython.git
VERSION
?=
$(
shell
sed
-ne
's|^__version__\s*=\s*"\([^"]*\)".*|\1|p'
Cython/Shadow.py
)
MANYLINUX_IMAGE_X86_64
=
quay.io/pypa/manylinux1_x86_64
MANYLINUX_IMAGE_686
=
quay.io/pypa/manylinux1_i686
all
:
local
all
:
local
...
@@ -41,3 +45,15 @@ test: testclean
...
@@ -41,3 +45,15 @@ test: testclean
s5
:
s5
:
$(MAKE)
-C
Doc/s5 slides
$(MAKE)
-C
Doc/s5 slides
wheel_manylinux
:
wheel_manylinux64 wheel_manylinux32
wheel_manylinux32 wheel_manylinux64
:
dist/Cython-$(VERSION).tar.gz
echo
"Building wheels for Cython
$VERSION
"
mkdir
-p
wheelhouse
time
docker run
--rm
-t
\
-v
$(
shell
pwd
)
:/io
\
-e
CFLAGS
=
"-O3 -g0 -mtune=generic -pipe -fPIC"
\
-e
LDFLAGS
=
"
$(LDFLAGS)
-fPIC"
\
$(
if
$(
patsubst
%32,,
$@
)
,
$(MANYLINUX_IMAGE_X86_64)
,
$(MANYLINUX_IMAGE_686)
)
\
bash
-c
'for PYBIN in /opt/python/*/bin; do $$PYBIN/python -V; { $$PYBIN/pip wheel -w /io/wheelhouse /io/$< & } ; done; wait'
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