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
9d6545a3
Commit
9d6545a3
authored
Aug 29, 2017
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply auditwheel and avoid conflicting wheel changes in 32/64 bits.
Add wheelhouse directories to gitignore.
parent
b97df20e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
.gitignore
.gitignore
+1
-0
Makefile
Makefile
+7
-2
No files found.
.gitignore
View file @
9d6545a3
...
...
@@ -16,6 +16,7 @@ Tools/*.elc
TEST_TMP/
build/
wheelhouse*/
!tests/build/
dist/
.gitrev
...
...
Makefile
View file @
9d6545a3
...
...
@@ -50,10 +50,15 @@ wheel_manylinux: wheel_manylinux64 wheel_manylinux32
wheel_manylinux32 wheel_manylinux64
:
dist/Cython-$(VERSION).tar.gz
echo
"Building wheels for Cython
$VERSION
"
mkdir
-p
wheelhouse
mkdir
-p
wheelhouse
_
$(
subst
wheel_,,
$@
)
time
docker run
--rm
-t
\
-v
$(
shell
pwd
)
:/io
\
-e
CFLAGS
=
"-O3 -g0 -mtune=generic -pipe -fPIC"
\
-e
LDFLAGS
=
"
$(LDFLAGS)
-fPIC"
\
-e
WHEELHOUSE
=
wheelhouse_
$(
subst
wheel_,,
$@
)
\
$(
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'
bash
-c
'for PYBIN in /opt/python/*/bin; do \
$$PYBIN/python -V; \
{ $$PYBIN/pip wheel -w /io/$$WHEELHOUSE /io/$< & } ; \
done; wait; \
for whl in /io/$$WHEELHOUSE/Cython-
$(VERSION)
-*-linux_*.whl; do auditwheel repair $$whl -w /io/$$WHEELHOUSE; done'
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