Skip to content

Commit 0c1d9fc

Browse files
Update build cpu script
1 parent f8be0f2 commit 0c1d9fc

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/scripts/build-cpu.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,7 @@ set -xeuo pipefail
66

77
pip install cmake==3.28.3
88

9-
if [ "${build_os:0:6}" == ubuntu ] && [ "${build_arch}" == aarch64 ]; then
10-
# Allow cross-compile on aarch64
11-
sudo apt-get update
12-
sudo apt-get install -y gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu g++-aarch64-linux-gnu
13-
cmake -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ -DCOMPUTE_BACKEND=cpu .
14-
elif [ "${build_os:0:5}" == macos ] && [ "${build_arch}" == aarch64 ]; then
9+
if [ "${build_os:0:5}" == macos ] && [ "${build_arch}" == aarch64 ]; then
1510
cmake -DCMAKE_OSX_ARCHITECTURES=arm64 -DCOMPUTE_BACKEND=cpu .
1611
else
1712
cmake -DCOMPUTE_BACKEND=cpu .

0 commit comments

Comments
 (0)