Skip to content

Commit

Permalink
Merge pull request #1655 from DARMA-tasking/1650-fix-fcontext-stria
Browse files Browse the repository at this point in the history
1650 -- fcontext: check if architecture matches aarch64
  • Loading branch information
lifflander authored Jan 12, 2022
2 parents a5b7c58 + b8293fd commit a4e8127
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/context/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ install(
EXECUTE_PROCESS(COMMAND uname -p OUTPUT_VARIABLE CPU_ARCH )
string(REGEX REPLACE "\n$" "" CPU_ARCH "${CPU_ARCH}" )

if (CPU_ARCH MATCHES "aarch64")
set(CPU_ARCH "arm64")
endif()

if (CPU_ARCH MATCHES "ppc")
set(CPU_ARCH "ppc64")
endif()
Expand Down

0 comments on commit a4e8127

Please sign in to comment.