diff --git a/src/scripts/apt_get_essential.sh b/src/scripts/apt_get_essential.sh index 8ff3a6e..113a549 100644 --- a/src/scripts/apt_get_essential.sh +++ b/src/scripts/apt_get_essential.sh @@ -26,6 +26,7 @@ apt-get install -y --no-install-recommends \ libgsl-dev=2.5+dfsg-6+deb10u1build0.20.04.1 \ libnss3=2:3.98-0ubuntu0.20.04.2 \ libpcre2-dev=10.34-7ubuntu0.1 \ + libquadmath0=10.5.0-1ubuntu1~20.04 \ libxt-dev=1:1.1.5-1 \ make=4.2.1-1.2 \ pandoc=2.5-3build2 \ diff --git a/src/scripts/patches/CMakeLists.patch b/src/scripts/patches/CMakeLists.patch index d9f6f64..50cea9c 100644 --- a/src/scripts/patches/CMakeLists.patch +++ b/src/scripts/patches/CMakeLists.patch @@ -8,8 +8,8 @@ index 8d2e460..c87c65f 100644 ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel")) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -march=native -mfpmath=sse -ggdb") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -march=native -mfpmath=sse -ggdb") -+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -march=westmere -mfpmath=sse -ggdb") -+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -march=westmere -mfpmath=sse -ggdb") ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -march=native -ggdb") ++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -march=native -ggdb") set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0") endif (("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") OR