Skip to content

Commit

Permalink
no gnu make extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Zilong-Li committed Aug 16, 2024
1 parent dc46e3d commit d38024b
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/Makevars.in
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
CXX_STD = CXX17
PKG_CPPFLAGS = -I../inst/include
PKG_CXXFLAGS = -DNDEBUG -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS

ifeq (@USE_MKL@,true)
PKG_CPPFLAGS += -DEIGEN_USE_MKL_ALL
PKG_LIBS = @BLAS_LAPACK_LIBS@
PKG_CXXFLAGS = -DNDEBUG -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -DEIGEN_USE_MKL_ALL
PKG_LIBS = @BLAS_LAPACK_LIBS@
else
# PKG_CPPFLAGS += -DEIGEN_USE_BLAS
# ifeq (@USE_LAPACKE@,true)
# PKG_CPPFLAGS += -DEIGEN_USE_LAPACKE
# endif
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
PKG_CXXFLAGS = -DNDEBUG -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
endif

0 comments on commit d38024b

Please sign in to comment.