mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
This reverts commit c4b0854750.
Reverted https://github.com/pytorch/pytorch/pull/151547 on behalf of https://github.com/malfet due to It breaks all aarch64 tests ([comment](https://github.com/pytorch/pytorch/pull/151547#issuecomment-2833593427))
23 lines
429 B
Bash
23 lines
429 B
Bash
#!/bin/bash
|
|
# Script used only in CD pipeline
|
|
|
|
set -ex
|
|
|
|
cd /
|
|
git clone https://github.com/OpenMathLib/OpenBLAS.git -b v0.3.29 --depth 1 --shallow-submodules
|
|
|
|
|
|
OPENBLAS_BUILD_FLAGS="
|
|
NUM_THREADS=128
|
|
USE_OPENMP=1
|
|
NO_SHARED=0
|
|
DYNAMIC_ARCH=1
|
|
TARGET=ARMV8
|
|
CFLAGS=-O3
|
|
"
|
|
|
|
OPENBLAS_CHECKOUT_DIR="OpenBLAS"
|
|
|
|
make -j8 ${OPENBLAS_BUILD_FLAGS} -C ${OPENBLAS_CHECKOUT_DIR}
|
|
make -j8 ${OPENBLAS_BUILD_FLAGS} install -C ${OPENBLAS_CHECKOUT_DIR}
|