Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Linux aarch64 architecture (ARM) #1100

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions HEN_HOUSE/scripts/config.guess
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,9 @@ EOF
sparc:Linux:*:* | sparc64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit 0 ;;
aarch64:Linux:*:*)
echo aarch64-unknown-linux-gnu
exit 0 ;;
x86_64:Linux:*:*)
echo x86_64-unknown-linux-gnu
exit 0 ;;
Expand Down
3 changes: 3 additions & 0 deletions HEN_HOUSE/scripts/configure
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ if test "x$system_name" = xdarwin; then
fi
echo "$canonical_system" >&2
is_x86_64=$(echo $canonical_system | grep x86_64)
if echo "$canonical_system" | grep "aarch64" > /dev/null; then
memory_model=""
fi

printf $format "Checking for make ... " >&2
have_make=no
Expand Down
7 changes: 7 additions & 0 deletions HEN_HOUSE/scripts/configure_c++
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ system_name=$(uname -s | sed ":/:_:g" | tr '[:upper:]' '[:lower:]')
if test "x$system_name" = xdarwin; then
memory_model=""
fi
if echo "$canonical_system" | grep "aarch64" > /dev/null; then
memory_model=""
fi

case $CXX in

Expand Down Expand Up @@ -256,6 +259,10 @@ case $canonical_system in
#
*ibm-aix*)
shared="-G -Wl,-brtl"; lib_link1="-L\$(abs_dso) -Wl,-brtl,-bexpall";;
*aarch64-*-linux*)
fpic="-fPIC";
opt="$opt -Wno-narrowing"
;;
*) echo Unsupported architecture $canonical_system; fpic="-fPIC";;
esac

Expand Down