Skip to content

Conversation

@rgommers
Copy link
Member

GCC and Clang didn't mind passing unused compile flags when building object files, but the OneAPI Intel compilers emit lots of warnings like:

[422/593] Compiling C object numpy/_core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_umath_svml_linux_avx512_svml_z0_asin_d_la.s.o
icx: warning: argument unused during compilation: '-fvisibility=hidden' [-Wunused-command-line-argument]
icx: warning: argument unused during compilation: '-fdiagnostics-color=always' [-Wunused-command-line-argument]
icx: warning: argument unused during compilation: '-fno-strict-aliasing' [-Wunused-command-line-argument]
icx: warning: argument unused during compilation: '-D NPY_HAVE_SSE2' [-Wunused-command-line-argument]

Those are fixed after this change. It also reduced the total number of build targets from 593 to 527 when building with SVML.

GCC and Clang didn't mind passing unused compile flags when
building object files, but the OneAPI Intel compilers emit
warnings like:
```
[422/593] Compiling C object numpy/_core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_umath_svml_linux_avx512_svml_z0_asin_d_la.s.o
icx: warning: argument unused during compilation: '-fvisibility=hidden' [-Wunused-command-line-argument]
icx: warning: argument unused during compilation: '-fdiagnostics-color=always' [-Wunused-command-line-argument]
icx: warning: argument unused during compilation: '-fno-strict-aliasing' [-Wunused-command-line-argument]
icx: warning: argument unused during compilation: '-D NPY_HAVE_SSE2' [-Wunused-command-line-argument]
```
Those are fixed after this change.

[skip cirrus] [skip circle]
@github-actions github-actions bot added the 36 - Build Build related PR label Oct 18, 2024
@rgommers rgommers added this to the 2.2.0 release milestone Oct 18, 2024
@charris charris merged commit dc862b4 into numpy:main Oct 18, 2024
@charris
Copy link
Member

charris commented Oct 18, 2024

Thanks Ralf.

@rgommers rgommers deleted the bld-svml-objects branch October 18, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants