Date: Sun, 12 Jan 2020 17:26:24 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r522821 - head/math/clp/files Message-ID: <202001121726.00CHQOXn061346@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Sun Jan 12 17:26:24 2020 New Revision: 522821 URL: https://svnweb.freebsd.org/changeset/ports/522821 Log: 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) Added: head/math/clp/files/patch-Clp_src_ClpPackedMatrix.cpp (contents, props changed) head/math/clp/files/patch-Clp_src_ClpSimplexDual.cpp (contents, props changed) Added: head/math/clp/files/patch-Clp_src_ClpPackedMatrix.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/clp/files/patch-Clp_src_ClpPackedMatrix.cpp Sun Jan 12 17:26:24 2020 (r522821) @@ -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. */ Added: head/math/clp/files/patch-Clp_src_ClpSimplexDual.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/clp/files/patch-Clp_src_ClpSimplexDual.cpp Sun Jan 12 17:26:24 2020 (r522821) @@ -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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001121726.00CHQOXn061346>