Skip to content

Commit

Permalink
added aarch64 architecture to config file #91
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Blätte authored and Andreas Blätte committed Feb 29, 2024
1 parent 8b9a373 commit 2fa5cb2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,18 @@ case $OS in
echo "* Linux distribution ID: $DISTRO ($SUPPORT)";

# For Debian, Fedora and Ubuntu, the generic Linux configuration works,
# there are no known required adaptions so far. If another distribution is used,
# the previous message informs users that adaptions may be necessary.
# there are no known required adaptions so far. If another distribution is
# used, the previous message informs users that adaptions may be necessary.
#
ARCH=`lscpu | head -n 1 | grep -oP '\w+$'`
case "$ARCH" in
x86_64)
CWB_PLATFORM_CONFIG_FILE="linux-64";;
i386)
CWB_PLATFORM_CONFIG_FILE="linux";;
aarch64)
echo "* architecture ($ARCH), using Linux config as default"
CWB_PLATFORM_CONFIG_FILE="linux";;
*)
echo "* unknown architecture ($ARCH), using Linux config as default"
CWB_PLATFORM_CONFIG_FILE="linux"
Expand Down

0 comments on commit 2fa5cb2

Please sign in to comment.