-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.openblas
43 lines (32 loc) · 1016 Bytes
/
Makefile.openblas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
include config/base.config
include config/forcegcc.config
#### Octave
OBLASVER = 0.3.28
OBLAS = OpenBLAS-${OBLASVER}
OBLAS_INST_PATH = ${NLYTIQ_INST_PATH}
# ${_EPF_} contains the front matter for configure after the include below
include config/configure.prefix.flag.config
_LDP_ = LD_LIBRARY_PATH=${NLYTIQ_LIB_PATH}
#--------------------------------------------------------------------------#
all: install-openblas
clean: clean-openblas
configure-openblas:
tar -zxvf sources/${OBLAS}.tar.gz
touch configure-openblas
build-openblas: configure-openblas
cd ${OBLAS} ; \
make TARGET=SKYLAKEX BINARY=64 USE_OPENMP=1 \
USE_TLS=1 MAKE_NB_JOBS=${NCPU} \
GEMM_MULTITHREAD_THRESHOLD=50 \
NO_FORTRAN=0 \
NOFORTRAN=0 \
NO_LAPACK=0 \
NO_STATIC=0 \
NO_DYNAMIC=0
touch build-openblas
install-openblas: build-openblas
cd ${OBLAS} ; \
make PREFIX=${NLYTIQ_INST_PATH} install
touch install-openblas
clean-openblas:
rm -rf build-openblas configure-openblas install-openblas ${OBLAS}