Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Commit

Permalink
Merge branch 'development' of https://github.com/revbayes/revbayes in…
Browse files Browse the repository at this point in the history
…to development
  • Loading branch information
hoehna committed Jun 12, 2019
2 parents 7440801 + 94dbf04 commit c8bf96e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion projects/cmake/regenerate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,12 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -static")
' >> "$HERE/CMakeLists.txt"
else
echo '
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -msse -msse2 -msse3")
if (CMAKE_SYSTEM_PROCESSOR MATCHES "^arm*|aarch64")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3")
add_definitions(-DRB_ARM)
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -msse -msse2 -msse3")
endif()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3")
' >> "$HERE/CMakeLists.txt"
fi
Expand Down
2 changes: 2 additions & 0 deletions src/core/utils/RbOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
//#define TESTING

/* Feature enabling switches */
#ifndef RB_ARM
#define SSE_ENABLED
#endif
//#define AVX_ENABLED


Expand Down

0 comments on commit c8bf96e

Please sign in to comment.