File tree Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,7 @@ export NO_LAPACK
35
35
export C_LAPACK
36
36
endif
37
37
38
- ifeq ($(F_COMPILER ) ,CRAY)
39
- LAPACK_NOOPT := $(filter-out -O0 -O1 -O2 -O3 -Ofast -Og -Os,$(LAPACK_FFLAGS ) )
40
- else
41
38
LAPACK_NOOPT := $(filter-out -O0 -O1 -O2 -O3 -Ofast -O -Og -Os,$(LAPACK_FFLAGS ) )
42
- endif
43
39
44
40
SUBDIRS_ALL = $(SUBDIRS ) test ctest utest exports benchmark ../laswp ../bench cpp_thread_test
45
41
@@ -210,9 +206,25 @@ ifeq ($(DYNAMIC_OLDER), 1)
210
206
@echo DYNAMIC_OLDER=1 >> Makefile.conf_last
211
207
endif
212
208
endif
209
+ @echo TARGET=$(CORE) >> Makefile.conf_last
213
210
ifdef USE_THREAD
214
211
@echo USE_THREAD=$(USE_THREAD) >> Makefile.conf_last
215
212
endif
213
+ ifdef SMP
214
+ ifdef NUM_THREADS
215
+ @echo NUM_THREADS=$(NUM_THREADS) >> Makefile.conf_last
216
+ else
217
+ @echo NUM_THREADS=$(NUM_CORES) >> Makefile.conf_last
218
+ endif
219
+ endif
220
+ ifeq ($(USE_OPENMP ) ,1)
221
+ @echo USE_OPENMP=1 >> Makefile.conf_last
222
+ endif
223
+ ifeq ($(INTERFACE64 ) ,1)
224
+ @echo INTERFACE64=1 >> Makefile.conf_last
225
+ endif
226
+ @echo THELIBNAME=$(LIBNAME) >> Makefile.conf_last
227
+ @echo THELIBSONAME=$(LIBSONAME) >> Makefile.conf_last
216
228
@-ln -fs $(LIBNAME) $(LIBPREFIX).$(LIBSUFFIX)
217
229
@touch lib.grd
218
230
Original file line number Diff line number Diff line change @@ -3,6 +3,14 @@ export GOTOBLAS_MAKEFILE = 1
3
3
-include $(TOPDIR)/Makefile.conf_last
4
4
include ./Makefile.system
5
5
6
+ ifdef THELIBNAME
7
+ LIBNAME=$(THELIBNAME)
8
+ LIBSONAME=$(THELIBSONAME)
9
+ endif
10
+ ifeq ($(INTERFACE64),1)
11
+ USE_64BITINT=1
12
+ endif
13
+
6
14
PREFIX ?= /opt/OpenBLAS
7
15
8
16
OPENBLAS_INCLUDE_DIR := $(PREFIX)/include
You can’t perform that action at this time.
0 commit comments