Skip to content

Commit

Permalink
should use BH 1.87 for fix assert handle
Browse files Browse the repository at this point in the history
  • Loading branch information
ygeunkim committed Dec 18, 2024
1 parent 192ddde commit 9640324
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Imports:
posterior,
bayesplot
LinkingTo:
BH (>= 1.84.0-0),
BH (>= 1.87.0-0),
Rcpp (>= 0.10.0),
RcppEigen (>= 0.3.4.0.0),
RcppSpdlog,
Expand Down
2 changes: 1 addition & 1 deletion src/Makevars.ucrt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PKG_CPPFLAGS = -I../inst/include -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -DBOOST_DISABLE_ASSERTS -DUSE_RCPP
PKG_CPPFLAGS = -I../inst/include -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -DBOOST_ENABLE_ASSERT_HANDLER -DUSE_RCPP
PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS)

PKG_LIBS = $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
2 changes: 1 addition & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Add -DBOOST_DISABLE_ASSERTS against assertion failures made by boost library
# If -DEIGEN_DONT_PARALLELIZE added, multi-threading will be disabled related to OpenMP.
# In this package we use the same number of threads specified in OpenMP
PKG_CPPFLAGS = -I../inst/include -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -DBOOST_DISABLE_ASSERTS -DUSE_RCPP
PKG_CPPFLAGS = -I../inst/include -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -DBOOST_ENABLE_ASSERT_HANDLER -DUSE_RCPP
PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS)

## With Rcpp 0.11.0 and later, we no longer need to set PKG_LIBS as there is
Expand Down

0 comments on commit 9640324

Please sign in to comment.