Skip to content

Commit adf1065

Browse files
committed
jl
1 parent 8fc764a commit adf1065

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/julia/build_tarballs_release.jl

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,28 @@ cmake -DCMAKE_INSTALL_PREFIX=${prefix} \
4444
..
4545
else
4646
cd $WORKSPACE/srcdir/OpenBLAS*
47+
48+
if [[ "${target}" == x86_64-* ]]; then
49+
export TARGET=HASWELL
50+
export BINARY=64
51+
elif [[ "${target}" == i686-* ]]; then
52+
export TARGET=PRESCOTT
53+
export BINARY=32
54+
elif [[ "${target}" == aarch64-* ]]; then
55+
export TARGET=ARMV8
56+
export BINARY=64
57+
elif [[ "${target}" == arm-* ]]; then
58+
export TARGET=ARMV7
59+
export BINARY=32
60+
elif [[ "${target}" == powerpc64le-* ]]; then
61+
export TARGET=POWER8
62+
export BINARY=64
63+
fi
64+
65+
make DYNAMIC_ARCH=1 NO_SHARED=1 USE_OPENMP=0 NUM_THREADS=64 \
66+
TARGET=${TARGET} BINARY=${BINARY} NO_LAPACK=0 \
67+
CC=${CC} FC=${FC} HOSTCC=gcc -j${nproc}
68+
4769
make DYNAMIC_ARCH=1 NO_SHARED=1 USE_OPENMP=0 NUM_THREADS=64 BINARY=64 -j${nproc}
4870
make install PREFIX=${prefix} NO_SHARED=1
4971

0 commit comments

Comments
 (0)