diff --git a/bootstrap.sh b/bootstrap.sh index 12d257f1..cffe1b8c 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -3,7 +3,12 @@ EIGEN_URL='http://bitbucket.org/eigen/eigen/get/3.3.5.tar.bz2' echo "-- deploying Eigen source..." -wget ${EIGEN_URL} --no-check-certificate && ./scripts/update_eigen.sh `basename ${EIGEN_URL}` && rm `basename ${EIGEN_URL}` +ARC=`basename ${EIGEN_URL}` +wget ${EIGEN_URL} --no-check-certificate && ./scripts/update_eigen.sh ${ARC} && rm ${ARC} +# patch for non-portable includes in Eigen 3.3.5 +# apparently already fixed in Eigen HEAD so it should not be +# a problem in the future (A.P.) +patch Grid/Eigen/unsupported/CXX11/Tensor scripts/eigen-3.3.5.Tensor.patch echo '-- generating Make.inc files...' ./scripts/filelist diff --git a/prerequisites/fftw-3.3.4.tar.gz b/prerequisites/fftw-3.3.4.tar.gz deleted file mode 100644 index df0f808d..00000000 Binary files a/prerequisites/fftw-3.3.4.tar.gz and /dev/null differ diff --git a/scripts/eigen-3.3.5.Tensor.patch b/scripts/eigen-3.3.5.Tensor.patch new file mode 100644 index 00000000..54984b94 --- /dev/null +++ b/scripts/eigen-3.3.5.Tensor.patch @@ -0,0 +1,19 @@ +--- ./Eigen/unsupported/Eigen/CXX11/Tensor 2018-07-23 10:33:42.000000000 +0100 ++++ Tensor 2018-08-28 16:15:56.000000000 +0100 +@@ -25,7 +25,7 @@ + #include + #endif + +-#include ++#include "../../../Eigen/src/Core/util/DisableStupidWarnings.h" + + #include "../SpecialFunctions" + #include "src/util/CXX11Meta.h" +@@ -147,6 +147,6 @@ + + #include "src/Tensor/TensorIO.h" + +-#include ++#include "../../../Eigen/src/Core/util/ReenableStupidWarnings.h" + + //#endif // EIGEN_CXX11_TENSOR_MODULE