Skip to content

Commit

Permalink
Update setup_rhel.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-grzybek-ampere authored Sep 16, 2024
1 parent eb80d54 commit 042fbd5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions setup_rhel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ pip3 install --break-system-packages --upgrade -r "$(dirname "$0")/requirements.

yum install -y autoconf automake alsa-lib-devel pkg-config

if [ "$(PYTHONPATH=$SCRIPT_DIR python3 -c 'from cpuinfo import get_cpu_info; from benchmark import which_ampere_cpu; cpu = which_ampere_cpu(get_cpu_info()["flags"], 1); print("AmpereOne" in cpu)')" == "True" ]; then
# Only on AmpereOne family
pip3 install --break-system-packages --upgrade -r "$(dirname "$0")/requirements-ampereone.txt" ||
pip3 install --upgrade -r "$(dirname "$0")/requirements-ampereone.txt"
fi
# if [ "$(PYTHONPATH=$SCRIPT_DIR python3 -c 'from cpuinfo import get_cpu_info; from benchmark import which_ampere_cpu; cpu = which_ampere_cpu(get_cpu_info()["flags"], 1); print("AmpereOne" in cpu)')" == "True" ]; then
# # Only on AmpereOne family
# pip3 install --break-system-packages --upgrade -r "$(dirname "$0")/requirements-ampereone.txt" ||
# pip3 install --upgrade -r "$(dirname "$0")/requirements-ampereone.txt"
# fi

ARCH=$ARCH python3 "$SCRIPT_DIR"/utils/setup/install_frameworks.py

Expand Down

0 comments on commit 042fbd5

Please sign in to comment.