Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Kirill Smelkov
gevent
Commits
1698e9a7
Commit
1698e9a7
authored
May 01, 2019
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to fix the dump command.
parent
93e73bad
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
.travis.yml
.travis.yml
+3
-1
src/gevent/libev/_corecffi_build.py
src/gevent/libev/_corecffi_build.py
+6
-1
No files found.
.travis.yml
View file @
1698e9a7
...
...
@@ -50,6 +50,7 @@ matrix:
before_install
:
-
export PATH=$BUILD_RUNTIMES/snakepit/$TRAVIS_PYTHON_VERSION.d/bin:$PATH
-
export G_SITE=$BUILD_RUNTIMES/snakepit/$TRAVIS_PYTHON_VERSION.d/lib/*/site-packages/
before_script
:
# Show some details of interest
...
...
@@ -130,6 +131,7 @@ jobs:
# Install the Python runtime
-
*build-gevent-python
-
*build-gevent-deps
-
ls -l $G_SITE
# Install the C dependencies to a known location. This is used
# to test 'no embed' cases. It might seem like it would prime
# the CCache for when we *do* embed if we did it as part of the generic build stage,
...
...
@@ -143,7 +145,7 @@ jobs:
-
rm -rf $BUILD_LIBS/share/man/
-
ls -l $BUILD_LIBS $BUILD_LIBS/lib $BUILD_LIBS/include
-
pip install --no-build-isolation .[test]
-
objdump -p
src
/gevent/libev/*so
-
objdump -p
$G_SITE
/gevent/libev/*so
script
:
# Verify that we got non-embedded builds
-
python -c 'import gevent.libev.corecffi as CF; assert not CF.LIBEV_EMBED'
...
...
src/gevent/libev/_corecffi_build.py
View file @
1698e9a7
...
...
@@ -101,8 +101,13 @@ if __name__ == '__main__':
# python setup.py build_ext -i
# 3) export DYLD_LIBRARY_PATH=`pwd`/deps/libev/.libs
#
#
XXX:
The DYLD_LIBRARY_PATH is because the linker hard-codes
# The DYLD_LIBRARY_PATH is because the linker hard-codes
# /usr/local/lib/libev.4.dylib in the corecffi.so dylib, because
# that's the "install name" of the libev dylib that was built.
# Adding a -rpath to the LDFLAGS doesn't change things.
# This can be fixed with `install_name_tool`:
#
# 3) install_name_tool -change /usr/local/lib/libev.4.dylib \
# `pwd`/deps/libev/.libs/libev.4.dylib \
# src/gevent/libev/_corecffi.abi3.so
ffi
.
compile
(
verbose
=
True
)
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