From 2c8bc2c7f02101ceb5bb59371d14e31502b02323 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Sun, 12 Jan 2020 17:26:24 +0000 Subject: 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) --- math/clp/files/patch-Clp_src_ClpSimplexDual.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 math/clp/files/patch-Clp_src_ClpSimplexDual.cpp (limited to 'math/clp/files/patch-Clp_src_ClpSimplexDual.cpp') diff --git a/math/clp/files/patch-Clp_src_ClpSimplexDual.cpp b/math/clp/files/patch-Clp_src_ClpSimplexDual.cpp new file mode 100644 index 000000000000..5f88f8b7db6d --- /dev/null +++ b/math/clp/files/patch-Clp_src_ClpSimplexDual.cpp @@ -0,0 +1,11 @@ +--- 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 + #else +-#include ++//#include + //#include + #endif + int ClpSimplexDual::dualColumn0(const CoinIndexedVector *rowArray, -- cgit v1.2.3