Skip to content

Commit

Permalink
Merge pull request #377 from RcppCore/bugfix/issue375
Browse files Browse the repository at this point in the history
Ensure openmp propagates in the 'found' case (closes #375)
  • Loading branch information
eddelbuettel committed May 11, 2022
2 parents 2328321 + 2c82f61 commit 1a91f52
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2022-05-11 Dirk Eddelbuettel <edd@debian.org>

* configure.ac: Ensure OpenMP is propagated in the 'found' case

2022-04-14 Dirk Eddelbuettel <edd@debian.org>

* DESCRIPTION (Version, Date): RcppArmadillo 0.11.0.1.0
Expand Down
1 change: 1 addition & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -2888,6 +2888,7 @@ arma_have_openmp="#define ARMA_DONT_USE_OPENMP 1"
if test x"${openmp_already_works}" = x"yes"; then
arma_have_openmp="#define ARMA_USE_OPENMP 1"
openmp_flag='$(SHLIB_OPENMP_CXXFLAGS)'
fi
if test x"${can_use_openmp}" = x"yes"; then
Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ arma_have_openmp="#define ARMA_DONT_USE_OPENMP 1"

if test x"${openmp_already_works}" = x"yes"; then
arma_have_openmp="#define ARMA_USE_OPENMP 1"
openmp_flag='$(SHLIB_OPENMP_CXXFLAGS)'
fi

if test x"${can_use_openmp}" = x"yes"; then
Expand Down

0 comments on commit 1a91f52

Please sign in to comment.