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
69f36136
Commit
69f36136
authored
Oct 05, 2021
by
Jason Madden
Committed by
GitHub
Oct 05, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1820 from ikonst/patch-1
manylinux: disable -ffast-math
parents
cf19786a
5d7be4f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
docs/changes/1820.misc
docs/changes/1820.misc
+3
-0
scripts/releases/make-manylinux
scripts/releases/make-manylinux
+3
-1
No files found.
docs/changes/1820.misc
0 → 100644
View file @
69f36136
Stop compiling manylinux wheels with ``-ffast-math.`` This was
implicit in ``-Ofast``, but could alter the global state of the
process. Analysis and fix thanks to Ilya Konstantinov.
scripts/releases/make-manylinux
View file @
69f36136
...
...
@@ -43,7 +43,9 @@ if [ "$DOCKER_IMAGE" == "quay.io/pypa/manylinux2014_aarch64" -a -n "$GITHUB_ACTI
SLOW_ARM
=
1
else
echo
"Compiling with -Ofast"
export
CFLAGS
=
"-Ofast
$GEVENT_WARNFLAGS
"
# Note: -Ofast includes -ffast-math which affects process-wide floating-point flags (e.g. can affect numpy).
# We opt out of -ffast-math explicitly. Other libraries can still trigger it.
export
CFLAGS
=
"-Ofast -fno-fast-math
$GEVENT_WARNFLAGS
"
fi
# -lrt: Needed for clock_gettime libc support on this version.
# -pthread: Needed for pthread_atfork (cffi).
...
...
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