Skip to content

Commit

Permalink
remove -mfpmath=sse flag
Browse files Browse the repository at this point in the history
  • Loading branch information
espenhgn committed May 13, 2024
1 parent 435262f commit 8b1d6fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/scripts/apt_get_essential.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions src/scripts/patches/CMakeLists.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8b1d6fb

Please sign in to comment.