Skip to content

MAINT: Replace -O4 with -O3#13528

Merged
rth merged 1 commit intoscikit-learn:masterfrom
oleksandr-pavlyk:fix-O4
Mar 27, 2019
Merged

MAINT: Replace -O4 with -O3#13528
rth merged 1 commit intoscikit-learn:masterfrom
oleksandr-pavlyk:fix-O4

Conversation

@oleksandr-pavlyk
Copy link
Copy Markdown
Contributor

Replace extra_compile_args=['-O4'] withextra_compile_args=['-O3'] in
sklearn/manifold/setup.py

Per GCC documentation [1] permitted optimization
forms are -O0, -O1 -O2, -O3, and -Os

[1] https://gcc.gnu.org/onlinedocs/gnat_ugn/Optimization-Levels.html

Using -O4 is interpreted as -O3 with a warning,
at least with some GCC compatible compilers, e.g.
Intel(R) C Compiler

Per GCC documentation [1] permitted optimization
forms are -O0, -O1 -O2, -O3, and -Os

[1] https://gcc.gnu.org/onlinedocs/gnat_ugn/Optimization-Levels.html

Using -O4 is interpreted as -O3 with a warning,
at least with some GCC compatible compilers, e.g.
Intel(R) C Compiler
Copy link
Copy Markdown
Member

@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @oleksandr-pavlyk

Copy link
Copy Markdown
Member

@rth rth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @oleksandr-pavlyk ! The Circle CI failure is unrelated, merging.

@rth rth merged commit f5d1c69 into scikit-learn:master Mar 27, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants