File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ ifeq "$(USE_ATLAS)" "YES"
1313 @$(ECHO ) -------- Building $@ --------
1414 $(DLL ) -s -shared $(DLLFLAGS ) -o $@ $^ Rblas.def \
1515 -L../../../$(IMPDIR ) -lR -L" $( ATLAS_PATH) " -lf77blas -latlas
16+ else ifeq "$(USE_OPENBLAS)" "YES"
17+ ../../../$(BINDIR ) /Rblas.dll : blas00.o ../../gnuwin32/dllversion.o
18+ @$(ECHO ) -------- Building $@ --------
19+ $(DLL ) -s -shared $(DLLFLAGS ) -o $@ $^ Rblas.def \
20+ -L../../../$(IMPDIR ) -lR $(shell $(PKG_CONFIG ) --libs openblas)
1621else
1722../../../$(BINDIR ) /Rblas.dll : blas.o blas2.o cmplxblas.o cmplxblas2.o ../../gnuwin32/dllversion.o
1823 @$(ECHO ) -------- Building $@ --------
Original file line number Diff line number Diff line change 6262# USE_ATLAS = NO
6363# ATLAS_PATH =
6464
65+ # Set to YES if you want to use OPENBLAS. OPENBLAS libraries are looked up
66+ # using pkg-config. OPENBLAS and pkg-config are part of Rtools.
67+ # USE_OPENBLAS = NO
68+
6569# Support for the ACML and Goto BLASes has been withdrawn: see R-admin.html
6670
6771# Define to use svnversion to set SVN-REVISION (slow, and requires a clean
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ LOCAL_SOFT ?= $(shell which `echo $(CC) | sed -e 's/ .*//g'` | sed -e 's!/bin/[^
77EXT_LIBS ?= $(LOCAL_SOFT )
88G_FLAG ?= $(if $(USE_LLVM ) ,-g3,-gdwarf-2)
99USE_ATLAS ?= NO
10+ USE_OPENBLAS ?= NO
1011ATLAS_PATH ?=
1112TOOL_PATH ?=
1213BINPREF64 ?=
You can’t perform that action at this time.
0 commit comments