File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -210,9 +210,25 @@ ifeq ($(DYNAMIC_OLDER), 1)
210210 @echo DYNAMIC_OLDER=1 >> Makefile.conf_last
211211endif
212212endif
213+ @echo TARGET=$(CORE) >> Makefile.conf_last
213214ifdef USE_THREAD
214215 @echo USE_THREAD=$(USE_THREAD) >> Makefile.conf_last
215216endif
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
216232 @-ln -fs $(LIBNAME) $(LIBPREFIX).$(LIBSUFFIX)
217233 @touch lib.grd
218234
Original file line number Diff line number Diff line change @@ -3,6 +3,14 @@ export GOTOBLAS_MAKEFILE = 1
33-include $(TOPDIR)/Makefile.conf_last
44include ./Makefile.system
55
6+ ifdef THELIBNAME
7+ LIBNAME=$(THELIBNAME)
8+ LIBSONAME=$(THELIBSONAME)
9+ endif
10+ ifeq ($(INTERFACE64),1)
11+ USE_64BITINT=1
12+ endif
13+
614PREFIX ?= /opt/OpenBLAS
715
816OPENBLAS_INCLUDE_DIR := $(PREFIX)/include
You can’t perform that action at this time.
0 commit comments