Skip to content

Commit c47868e

Browse files
committed
[aarch64] update ACL version to v23.05.1 and OpenBLAS to v0.3.20
ACL 23.05.1 support armv8-a architecure cleanly, so,removed the workaround added for the last release. Tested the changes on armv8.2-a as well as armv8-a.
1 parent 2db9676 commit c47868e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

aarch64_linux/build_aarch64_wheel.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,18 +219,15 @@ def install_condaforge_python(host: RemoteHost, python_version="3.8") -> None:
219219

220220
def build_OpenBLAS(host: RemoteHost, git_clone_flags: str = "") -> None:
221221
print('Building OpenBLAS')
222-
host.run_cmd(f"git clone https://github.com/xianyi/OpenBLAS -b v0.3.19 {git_clone_flags}")
222+
host.run_cmd(f"git clone https://github.com/xianyi/OpenBLAS -b v0.3.20 {git_clone_flags}")
223223
make_flags = "NUM_THREADS=64 USE_OPENMP=1 NO_SHARED=1 DYNAMIC_ARCH=1 TARGET=ARMV8"
224224
host.run_cmd(f"pushd OpenBLAS && make {make_flags} -j8 && sudo make {make_flags} install && popd && rm -rf OpenBLAS")
225225

226226

227227
def build_ArmComputeLibrary(host: RemoteHost, git_clone_flags: str = "") -> None:
228228
print('Building Arm Compute Library')
229229
acl_build_flags="debug=0 neon=1 opencl=0 os=linux openmp=1 cppthreads=0 arch=armv8a multi_isa=1 build=native"
230-
host.run_cmd(f"git clone https://github.com/ARM-software/ComputeLibrary.git -b v22.11 {git_clone_flags}")
231-
host.run_cmd(['sed -i -e \'s/"armv8.2-a"/"armv8-a"/g\' ComputeLibrary/SConscript'])
232-
host.run_cmd(['sed -i -e \'s/-march=armv8.2-a+fp16/-march=armv8-a/g\' ComputeLibrary/SConstruct'])
233-
host.run_cmd(['sed -i -e \'s/"-march=armv8.2-a"/"-march=armv8-a"/g\' ComputeLibrary/filedefs.json'])
230+
host.run_cmd(f"git clone https://github.com/ARM-software/ComputeLibrary.git -b v23.05.1 {git_clone_flags}")
234231
host.run_cmd(f"cd ComputeLibrary && scons Werror=1 -j8 {acl_build_flags}")
235232

236233

0 commit comments

Comments
 (0)