Message-ID: <QB1PR01MB3537304D48AA00C1C98E13C8BA2B0@QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM>
Date: 2019-04-15T15:31:57Z
From: Maxime Turgeon
Subject: [R-pkg-devel] SHLIB_OPENMP_*FLAGS in Makefiles
In-Reply-To: <CAMVrHdBXMLYP-HByfRZdCy+9QcMNuu9r9YW1HRD6NmJbUNmeBQ@mail.gmail.com>
The NOTE refers to Makevars and Makevars.win. The most logical place to start your investigation would be those two files. Do you have any reason to believe that they are *not* the culprits?
Max
________________________________
From: R-package-devel <r-package-devel-bounces at r-project.org> on behalf of Jarrett Phillips <phillipsjarrett1 at gmail.com>
Sent: April 15, 2019 11:21 AM
To: r-package-devel at r-project.org
Subject: [R-pkg-devel] SHLIB_OPENMP_*FLAGS in Makefiles
In checking my R package via devtools::check and devtools::check_built, I
received the following NOTE which I am unsure how to fix. My package
contains compiled code (via Rcpp). Within my .cpp file I have the following
line:
#define ARMA_DONT_PRINT_OPENMP_WARNING
Is this the issue?
checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... NOTE
src/Makevars: SHLIB_OPENMP_CXXFLAGS is included in PKG_CXXFLAGS but
not in PKG_LIBS
src/Makevars: SHLIB_OPENMP_CFLAGS is included in PKG_LIBS but
linking is by C++
src/Makevars.win: SHLIB_OPENMP_CXXFLAGS is included in PKG_CXXFLAGS
but not in PKG_LIBS
src/Makevars.win: SHLIB_OPENMP_CFLAGS is included in PKG_LIBS but
linking is by C++
Thanks.
[[alternative HTML version deleted]]
______________________________________________
R-package-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
[[alternative HTML version deleted]]