rPackages.BayesLogit: build with openblas
This commit is contained in:
parent
71b848b45d
commit
b120a737fd
@ -1087,6 +1087,7 @@ let
|
||||
|
||||
BayesLogit = old.BayesLogit.overrideDerivation (attrs: {
|
||||
patches = [ ./patches/BayesLogit.patch ];
|
||||
buildInputs = (attrs.buildInputs or []) ++ [ pkgs.openblasCompat ];
|
||||
});
|
||||
|
||||
BayesBridge = old.BayesBridge.overrideDerivation (attrs: {
|
||||
|
@ -6,7 +6,7 @@ diff -ru -x '*~' BayesLogit_orig/src/Makevars BayesLogit/src/Makevars
|
||||
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) -llapack -lf77blas -lcblas -latlas -lgfortran
|
||||
+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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user