File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -210,9 +210,25 @@ ifeq ($(DYNAMIC_OLDER), 1)
210
210
@echo DYNAMIC_OLDER=1 >> Makefile.conf_last
211
211
endif
212
212
endif
213
+ @echo TARGET=$(CORE) >> Makefile.conf_last
213
214
ifdef USE_THREAD
214
215
@echo USE_THREAD=$(USE_THREAD) >> Makefile.conf_last
215
216
endif
217
+ ifdef SMP
218
+ ifdef NUM_THREADS
219
+ @echo NUM_THREADS=$(NUM_THREADS) >> Makefile.conf_last
220
+ else
221
+ @echo NUM_THREADS=$(NUM_CORES) >> Makefile.conf_last
222
+ endif
223
+ endif
224
+ ifeq ($(USE_OPENMP ) ,1)
225
+ @echo USE_OPENMP=1 >> Makefile.conf_last
226
+ endif
227
+ ifeq ($(INTERFACE64 ) ,1)
228
+ @echo INTERFACE64=1 >> Makefile.conf_last
229
+ endif
230
+ @echo THELIBNAME=$(LIBNAME) >> Makefile.conf_last
231
+ @echo THELIBSONAME=$(LIBSONAME) >> Makefile.conf_last
216
232
@-ln -fs $(LIBNAME) $(LIBPREFIX).$(LIBSUFFIX)
217
233
@touch lib.grd
218
234
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