nixpkgs/pkgs/development/r-modules/patches/BayesLogit_cblas.patch
2015-06-09 11:43:00 -05:00

13 lines
631 B
Diff

diff -ru -x '*~' BayesLogit_orig/src/Makevars BayesLogit/src/Makevars
--- BayesLogit_orig/src/Makevars 2014-04-24 23:31:13.000000000 +0900
+++ BayesLogit/src/Makevars 2014-10-21 21:00:15.570699136 +0900
@@ -6,7 +6,7 @@
## W/OUT Dynamic Stuff
OBJECTS = Matrix.o MatrixFrame.o RRNG.o RNG.o FSF_nmix.o LogitWrapper.o \
PolyaGamma.o PolyaGammaAlt.o PolyaGammaSP.o InvertY.o
-PKG_LIBS = $(BLAS_LIBS) $(FLIBS) $(LAPACK_LIBS)
+PKG_LIBS = $(BLAS_LIBS) $(FLIBS) $(LAPACK_LIBS) -lopenblas
# PKG_CPPFLAGS = -DUSE_R -DNDEBUG -DDISABLE_SINGLE -DNTHROW -Wall -pedantic -Wextra
PKG_CPPFLAGS = -DUSE_R -DNDEBUG -DDISABLE_SINGLE -DNTHROW