mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Coding - Update env.sh to handle aarch64 #158
Fix architecture check to include aarch64 in build and install scripts
This commit is contained in:
parent
6b06684539
commit
0744d56fee
@ -21,7 +21,7 @@ shopt -u nocasematch
|
||||
|
||||
# ----- Set path to 3rd party and OCCT libraries -----
|
||||
anArch=`uname -m`
|
||||
if [ "$anArch" != "x86_64" ] && [ "$anArch" != "ia64" ]; then
|
||||
if [ "$anArch" != "x86_64" ] && [ "$anArch" != "ia64" ] && [ "$anArch" != "aarch64"]; then
|
||||
export ARCH="32";
|
||||
else
|
||||
export ARCH="64";
|
||||
|
@ -23,7 +23,7 @@ shopt -u nocasematch
|
||||
|
||||
# ----- Set path to 3rd party and OCCT libraries -----
|
||||
anArch=`uname -m`
|
||||
if [ "$anArch" != "x86_64" ] && [ "$anArch" != "ia64" ]; then
|
||||
if [ "$anArch" != "x86_64" ] && [ "$anArch" != "ia64" ] && [ "$anArch" != "aarch64"]; then
|
||||
export ARCH="32";
|
||||
else
|
||||
export ARCH="64";
|
||||
|
Loading…
x
Reference in New Issue
Block a user