Commit 1d300df
committed
STYLE: Remove unused SSE2 compiler flag checks in CMake configuration
Visual Studio 2022 warns of ignored flags.
In Visual Studio 2012 and later versions, SSE2 is enabled by default.
https://learn.microsoft.com/en-us/cpp/build/reference/arch-x86?view=msvc-170
Originally prompted by 1000's of warnings:
cl : Command line warning D9025 : overriding '/arch:SSE' with '/arch:SSE2'
For all modern Linux packaging workflows (wheels, C++ libs, distros):
x86_64: do NOT specify -msse2 — wasteful and redundant.
Portability is retained, the x86-64 baseline includes SSE21 parent c3e1e02 commit 1d300df
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | | - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
450 | 454 | | |
451 | 455 | | |
452 | 456 | | |
| |||
0 commit comments