MFH: r522821
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) Approved by: portmgr (fix build blanket)
This commit is contained in:
parent
895a712b25
commit
2b5f588313
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q1/; revision=522823
11
math/clp/files/patch-Clp_src_ClpPackedMatrix.cpp
Normal file
11
math/clp/files/patch-Clp_src_ClpPackedMatrix.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- Clp/src/ClpPackedMatrix.cpp.orig 2019-12-29 17:14:00 UTC
|
||||
+++ Clp/src/ClpPackedMatrix.cpp
|
||||
@@ -6752,7 +6752,7 @@ ClpPackedMatrix3::ClpPackedMatrix3()
|
||||
#elif defined(__arm__)
|
||||
#include <arm_neon.h>
|
||||
#else
|
||||
-#include <immintrin.h>
|
||||
+//#include <immintrin.h>
|
||||
//#include <fmaintrin.h>
|
||||
#endif
|
||||
/* Constructor from copy. */
|
11
math/clp/files/patch-Clp_src_ClpSimplexDual.cpp
Normal file
11
math/clp/files/patch-Clp_src_ClpSimplexDual.cpp
Normal file
@ -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 <arm_neon.h>
|
||||
#else
|
||||
-#include <immintrin.h>
|
||||
+//#include <immintrin.h>
|
||||
//#include <fmaintrin.h>
|
||||
#endif
|
||||
int ClpSimplexDual::dualColumn0(const CoinIndexedVector *rowArray,
|
Loading…
Reference in New Issue
Block a user