Commit 77ef9aaf44122b7d6a9ba4a9d699da35ab736c99
1 parent
691a3490f6
Exists in
master
and in
1 other branch
Use a simple Makefile
Showing 2 changed files with 15 additions and 8 deletions Side-by-side Diff
Makefile
1 | 1 | |
2 | -all: | |
3 | - ( ./build.sh ) | |
4 | 2 | |
3 | +forme: | |
4 | + ( rm -rf OpenBLAS-0.2.14 && tar xzf OpenBLAS-0.2.14.tar.gz ) | |
5 | + ( cd OpenBLAS-0.2.14 && make USE_THREAD=1 USE_OPENMP=1 LIBNAMESUFFIX=lxsd ) | |
6 | + | |
7 | +formeserial: | |
8 | + ( rm -rf OpenBLAS-0.2.14 && tar xzf OpenBLAS-0.2.14.tar.gz ) | |
9 | + ( cd OpenBLAS-0.2.14 && make USE_THREAD=0 USE_OPENMP=0 LIBNAMESUFFIX=lxsd ) | |
10 | + | |
11 | +forall: | |
12 | + ( rm -rf OpenBLAS-0.2.14 && tar xzf OpenBLAS-0.2.14.tar.gz ) | |
13 | + ( cd OpenBLAS-0.2.14 && make DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=1 LIBNAMESUFFIX=lxsd NUM_THREADS=64 ) | |
14 | + | |
5 | 15 | clean: |
6 | 16 | ( rm -rf OpenBLAS-0.2.14 ) |
17 | + | |
18 | +install: | |
19 | + ( cd OpenBLAS-0.2.14 && make PREFIX=$(BTREE) LIBNAMESUFFIX=lxsd install) |