diff --git a/simpleInstall/install.sh b/simpleInstall/install.sh index f092048ee..d56b0e2a4 100644 --- a/simpleInstall/install.sh +++ b/simpleInstall/install.sh @@ -157,9 +157,11 @@ function check_os() { exit 1 fi # check cpu instruction - if [ X"$(cat /proc/cpuinfo | grep rdtscp | uniq)" == X"" ] - then - echo "The cpu instruction rdtscp is missing." && exit 1 + CPU_BIT=$(uname -m) + if [ X"$CPU_BIT" == X"x86_64" ]; then + if [ X"$(cat /proc/cpuinfo | grep rdtscp | uniq)" == X"" ]; then + echo "The cpu instruction rdtscp is missing." && exit 1 + fi fi }