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
9ccc67aa
Commit
9ccc67aa
authored
Jun 16, 2020
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add news fragment. [skip ci]
parent
46e23b60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
10 deletions
+26
-10
docs/changes/issue1645.feature
docs/changes/issue1645.feature
+8
-0
src/gevent/libuv/_corecffi_build.py
src/gevent/libuv/_corecffi_build.py
+18
-10
No files found.
docs/changes/issue1645.feature
0 → 100644
View file @
9ccc67aa
It
is
now
possible
to
build
and
use
the
embedded
libuv
on
a
Cygwin
platform.
Note
that
Cygwin
is
not
an
officially supported platform of upstream
libuv
and
is
not
tested
by
gevent,
so
the
actual
working
status
is
unknown,
and
this
may
bitrot
in
future
releases.
Thanks
to
berkakinci
for
the
patch.
src/gevent/libuv/_corecffi_build.py
View file @
9ccc67aa
...
...
@@ -171,7 +171,8 @@ elif sys.platform == 'darwin':
_libuv_source
(
'unix/kqueue.c'
),
_libuv_source
(
'unix/proctitle.c'
),
]
elif
sys
.
platform
.
startswith
((
'freebsd'
,
'dragonfly'
)):
elif
sys
.
platform
.
startswith
((
'freebsd'
,
'dragonfly'
)):
# pragma: no cover
# Not tested
LIBUV_SOURCES
+=
[
_libuv_source
(
'unix/bsd-ifaddrs.c'
),
_libuv_source
(
'unix/freebsd.c'
),
...
...
@@ -179,7 +180,8 @@ elif sys.platform.startswith(('freebsd', 'dragonfly')):
_libuv_source
(
'unix/posix-hrtime.c'
),
_libuv_source
(
'unix/bsd-proctitle.c'
),
]
elif
sys
.
platform
.
startswith
(
'openbsd'
):
elif
sys
.
platform
.
startswith
(
'openbsd'
):
# pragma: no cover
# Not tested
LIBUV_SOURCES
+=
[
_libuv_source
(
'unix/bsd-ifaddrs.c'
),
_libuv_source
(
'unix/kqueue.c'
),
...
...
@@ -187,7 +189,8 @@ elif sys.platform.startswith('openbsd'):
_libuv_source
(
'unix/posix-hrtime.c'
),
_libuv_source
(
'unix/bsd-proctitle.c'
),
]
elif
sys
.
platform
.
startswith
(
'netbsd'
):
elif
sys
.
platform
.
startswith
(
'netbsd'
):
# pragma: no cover
# Not tested
LIBUV_SOURCES
+=
[
_libuv_source
(
'unix/bsd-ifaddrs.c'
),
_libuv_source
(
'unix/kqueue.c'
),
...
...
@@ -195,21 +198,26 @@ elif sys.platform.startswith('netbsd'):
_libuv_source
(
'unix/posix-hrtime.c'
),
_libuv_source
(
'unix/bsd-proctitle.c'
),
]
elif
sys
.
platform
.
startswith
(
'sunos'
):
elif
sys
.
platform
.
startswith
(
'sunos'
):
# pragma: no cover
# Not tested.
LIBUV_SOURCES
+=
[
_libuv_source
(
'unix/no-proctitle.c'
),
_libuv_source
(
'unix/sunos.c'
),
]
elif
sys
.
platform
.
startswith
(
'aix'
):
elif
sys
.
platform
.
startswith
(
'aix'
):
# pragma: no cover
# Not tested.
LIBUV_SOURCES
+=
[
_libuv_source
(
'unix/aix.c'
),
_libuv_source
(
'unix/aix-common.c'
),
]
elif
sys
.
platform
.
startswith
(
'haiku'
):
# untested
elif
sys
.
platform
.
startswith
(
'haiku'
):
# pragma: no cover
# Not tested
LIBUV_SOURCES
+=
[
_libuv_source
(
'unix/haiku.c'
)
]
elif
sys
.
platform
.
startswith
(
'cygwin'
):
elif
sys
.
platform
.
startswith
(
'cygwin'
):
# pragma: no cover
# Not tested.
# Based on Cygwin package sources /usr/src/libuv-1.32.0-1.src/libuv-1.32.0/Makefile.am
# Apparently the same upstream at https://github.com/libuv/libuv/blob/v1.x/Makefile.am
LIBUV_SOURCES
+=
[
...
...
@@ -249,9 +257,9 @@ if sys.platform.startswith('linux'):
elif
sys
.
platform
==
'darwin'
:
_define_macro
(
'_DARWIN_USE_64_BIT_INODE'
,
1
)
_define_macro
(
'_DARWIN_UNLIMITED_SELECT'
,
1
)
elif
sys
.
platform
.
startswith
(
'netbsd'
):
elif
sys
.
platform
.
startswith
(
'netbsd'
):
# pragma: no cover
_add_library
(
'kvm'
)
elif
sys
.
platform
.
startswith
(
'sunos'
):
elif
sys
.
platform
.
startswith
(
'sunos'
):
# pragma: no cover
_define_macro
(
'__EXTENSIONS__'
,
1
)
_define_macro
(
'_XOPEN_SOURCE'
,
500
)
_add_library
(
'kstat'
)
...
...
@@ -262,7 +270,7 @@ elif sys.platform.startswith('sunos'):
# https://github.com/libuv/libuv/issues/1458
# https://github.com/giampaolo/psutil/blob/4d6a086411c77b7909cce8f4f141bbdecfc0d354/setup.py#L298-L300
_define_macro
(
'SUNOS_NO_IFADDRS'
,
''
)
elif
sys
.
platform
.
startswith
(
'aix'
):
elif
sys
.
platform
.
startswith
(
'aix'
):
# pragma: no cover
_define_macro
(
'_LINUX_SOURCE_COMPAT'
,
1
)
_add_library
(
'perfstat'
)
elif
WIN
:
...
...
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