Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 7c46d19

Browse files
committed
disable build_OpenBLAS() from aarch64_wheel_ci_build.py
1 parent aa3ef36 commit 7c46d19

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

aarch64_linux/aarch64_wheel_ci_build.py

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -14,44 +14,6 @@ def list_dir(path: str) -> List[str]:
1414
"""
1515
return check_output(["ls", "-1", path]).decode().split("\n")
1616

17-
18-
def build_OpenBLAS() -> None:
19-
'''
20-
Building OpenBLAS, because the package in many linux is old
21-
'''
22-
print('Building OpenBLAS')
23-
openblas_build_flags = [
24-
"NUM_THREADS=128",
25-
"USE_OPENMP=1",
26-
"NO_SHARED=0",
27-
"DYNAMIC_ARCH=1",
28-
"TARGET=ARMV8",
29-
"CFLAGS=-O3",
30-
]
31-
openblas_checkout_dir = "OpenBLAS"
32-
33-
check_call(
34-
[
35-
"git",
36-
"clone",
37-
"https://github.com/OpenMathLib/OpenBLAS.git",
38-
"-b",
39-
"v0.3.25",
40-
"--depth",
41-
"1",
42-
"--shallow-submodules",
43-
]
44-
)
45-
46-
check_call(["make", "-j8"]
47-
+ openblas_build_flags,
48-
cwd=openblas_checkout_dir)
49-
check_call(["make", "-j8"]
50-
+ openblas_build_flags
51-
+ ["install"],
52-
cwd=openblas_checkout_dir)
53-
54-
5517
def build_ArmComputeLibrary() -> None:
5618
"""
5719
Using ArmComputeLibrary for aarch64 PyTorch
@@ -222,7 +184,6 @@ def parse_arguments():
222184
elif branch.startswith(("v1.", "v2.")):
223185
build_vars += f"BUILD_TEST=0 PYTORCH_BUILD_VERSION={branch[1:branch.find('-')]} PYTORCH_BUILD_NUMBER=1 "
224186

225-
build_OpenBLAS()
226187
if enable_mkldnn:
227188
build_ArmComputeLibrary()
228189
print("build pytorch with mkldnn+acl backend")

0 commit comments

Comments
 (0)