Skip to content

Commit 0310d16

Browse files
committed
Add support macos
1 parent 8882492 commit 0310d16

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.install/install_script.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,19 @@ fi
1919
echo $OS
2020
if [[ $ARCH == 'aarch64' ]]
2121
then
22-
# install libarmpl
2322
wget https://developer.arm.com/-/cdn-downloads/permalink/Arm-Performance-Libraries/Version_24.10/arm-performance-libraries_24.10_deb_gcc.tar
2423
tar -xf arm-performance-libraries_24.10_deb_gcc.tar
2524
sudo ./arm-performance-libraries_24.10_deb/arm-performance-libraries_24.10_deb.sh --accept --install-to armpl
2625
sudo rm -rf arm-performance-libraries_24.10_deb_gcc.tar
26+
# install libarmpl
27+
elif [[ $OS == 'macos' ]]
28+
then
29+
wget https://developer.arm.com/-/cdn-downloads/permalink/Arm-Performance-Libraries/Version_24.10/arm-performance-libraries_24.10_macOS.tgz
30+
tar zxvf arm-performance-libraries_24.10_macOS.tgz
31+
hdiutil attach armpl_24.10_flang-new_clang_19.dmg
32+
/Volumes/armpl_24.10_flang-new_clang_19_installer/armpl_24.10_flang-new_clang_19_install.sh -y --install-to armpl
2733
fi
34+
2835
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
2936

3037
cd $SCRIPT_DIR

0 commit comments

Comments
 (0)