Files
ports/math/clp/files/patch-Clp_src_ClpSimplexDual.cpp
Piotr Kubaj 2c8bc2c7f0 math/clp: fix build on non-x86 non-ARM
Only amd64 and i386 have immintrin.h. There's a check for ARM, but not for other architectures.

Building without immintrin.h works fine on amd64.

PR:		242966
Approved by:	co9co9@gmail.com (maintainer timeout)
MFH:		2020Q1 (fix build blanket)
2020-01-12 17:26:24 +00:00

12 lines
374 B
C++

--- Clp/src/ClpSimplexDual.cpp.orig 2019-12-29 17:45:58 UTC
+++ Clp/src/ClpSimplexDual.cpp
@@ -3559,7 +3559,7 @@ void moveAndZero(clpTempInfo *info, int type, void *ex
#elif defined(__arm__)
#include <arm_neon.h>
#else
-#include <immintrin.h>
+//#include <immintrin.h>
//#include <fmaintrin.h>
#endif
int ClpSimplexDual::dualColumn0(const CoinIndexedVector *rowArray,