File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,11 +35,7 @@ export NO_LAPACK
3535export C_LAPACK
3636endif
3737
38- ifeq ($(F_COMPILER ) ,CRAY)
39- LAPACK_NOOPT := $(filter-out -O0 -O1 -O2 -O3 -Ofast -Og -Os,$(LAPACK_FFLAGS ) )
40- else
4138LAPACK_NOOPT := $(filter-out -O0 -O1 -O2 -O3 -Ofast -O -Og -Os,$(LAPACK_FFLAGS ) )
42- endif
4339
4440SUBDIRS_ALL = $(SUBDIRS ) test ctest utest exports benchmark ../laswp ../bench cpp_thread_test
4541
@@ -210,9 +206,25 @@ ifeq ($(DYNAMIC_OLDER), 1)
210206 @echo DYNAMIC_OLDER=1 >> Makefile.conf_last
211207endif
212208endif
209+ @echo TARGET=$(CORE) >> Makefile.conf_last
213210ifdef USE_THREAD
214211 @echo USE_THREAD=$(USE_THREAD) >> Makefile.conf_last
215212endif
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
216228 @-ln -fs $(LIBNAME) $(LIBPREFIX).$(LIBSUFFIX)
217229 @touch lib.grd
218230
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