Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-30 Thread Nixon, Michelle Pistner
Cc: Nixon, Michelle Pistner ; kurt.hor...@wu.ac.at ; r-package-devel@r-project.org Subject: Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP [You don't often get email from murdoch.dun...@gmail.com. Learn why this is important at https://aka.ms/LearnAboutSende

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-27 Thread Ivan Krylov via R-package-devel
On Sun, 26 May 2024 17:57:17 -0500 Dirk Eddelbuettel wrote: > and we'd need something like this (untested) > >.plugins[["openmp"]] <- function() { >list(env = > list(PKG_CXXFLAGS=Sys.getenv("SHLIB_OPENMP_CXXFLAGS, ""), > PKG_LIBS=Sys.getenv("SHLIB_OPENMP_CXXFLAGS, ""))) } >From the

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-26 Thread Dirk Eddelbuettel
On 26 May 2024 at 13:31, Kurt Hornik wrote: | > Dirk Eddelbuettel writes: | | > Kurt, | | > Could you do me a favour and run on that clang18-using machine in question | > the following one-liner (provided your session has access to a .libPaths() | > including Rcpp) and, in the case of succe

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-26 Thread Kurt Hornik
> Dirk Eddelbuettel writes: > Kurt, > Could you do me a favour and run on that clang18-using machine in question > the following one-liner (provided your session has access to a .libPaths() > including Rcpp) and, in the case of success, the resulting function? I can: R> Rcpp::cppFunction("

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-24 Thread Kurt Hornik
> Dirk Eddelbuettel writes: > On 23 May 2024 at 20:02, Ivan Krylov wrote: > | On Wed, 22 May 2024 09:18:13 -0500 > | Dirk Eddelbuettel wrote: > | > | > Testing via 'nm' as you show is possible but not exactly 'portable'. > | > So any suggestions as to what to condition on here? > | > | (My

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-24 Thread Dirk Eddelbuettel
Kurt, Could you do me a favour and run on that clang18-using machine in question the following one-liner (provided your session has access to a .libPaths() including Rcpp) and, in the case of success, the resulting function? > Rcpp::cppFunction("int ompconfigtest() { return omp_get_num_thread

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-23 Thread Dirk Eddelbuettel
On 23 May 2024 at 20:02, Ivan Krylov wrote: | On Wed, 22 May 2024 09:18:13 -0500 | Dirk Eddelbuettel wrote: | | > Testing via 'nm' as you show is possible but not exactly 'portable'. | > So any suggestions as to what to condition on here? | | (My apologies if you already got an answer from Kur

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-23 Thread Ivan Krylov via R-package-devel
On Wed, 22 May 2024 09:18:13 -0500 Dirk Eddelbuettel wrote: > Testing via 'nm' as you show is possible but not exactly 'portable'. > So any suggestions as to what to condition on here? (My apologies if you already got an answer from Kurt. I think we're not seeing his mails to the list.) Perhaps

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-23 Thread Duncan Murdoch
On 2024-05-23 11:49 a.m., Dirk Eddelbuettel wrote: On 22 May 2024 at 14:03, Duncan Murdoch wrote: | On 2024-05-22 10:18 a.m., Dirk Eddelbuettel wrote: | > | > On 22 May 2024 at 13:54, Nixon, Michelle Pistner wrote: | > | Thank you both for your responses and help! Kurt-- your message makes a lo

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-23 Thread Dirk Eddelbuettel
On 22 May 2024 at 14:03, Duncan Murdoch wrote: | On 2024-05-22 10:18 a.m., Dirk Eddelbuettel wrote: | > | > On 22 May 2024 at 13:54, Nixon, Michelle Pistner wrote: | > | Thank you both for your responses and help! Kurt-- your message makes a lot of | > | sense. I'll try to debug soon and will r

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-22 Thread Duncan Murdoch
ckage-devel@r-project.org | ; Kurt Hornik | Subject: Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang | with OpenMP | | [You don't often get email from kurt.hor...@wu.ac.at. Learn why this is | important at https://aka.ms/LearnAboutSenderIdentification ] | | >>>&g

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-22 Thread Dirk Eddelbuettel
3:57 AM | To: Dirk Eddelbuettel | Cc: Nixon, Michelle Pistner ; r-package-devel@r-project.org | ; Kurt Hornik | Subject: Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang | with OpenMP | | [You don't often get email from kurt.hor...@wu.ac.at. Learn why this is

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-22 Thread Nixon, Michelle Pistner
Nixon, Michelle Pistner ; r-package-devel@r-project.org ; Kurt Hornik Subject: Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP [You don't often get email from kurt.hor...@wu.ac.at. Learn why this is important at https://aka.ms/LearnAboutSenderIden

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-21 Thread Dirk Eddelbuettel
Hi Michelle, On 21 May 2024 at 13:46, Nixon, Michelle Pistner wrote: | Hi all, | | I'm running into build issues for my package (fido: https://github.com/jsilve24/fido) on the r-devel-linux-x86_64-debian-clang system on CRAN (full check log here: https://win-builder.r-project.org/incoming_pre

[R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-21 Thread Nixon, Michelle Pistner
Hi all, I'm running into build issues for my package (fido: https://github.com/jsilve24/fido) on the r-devel-linux-x86_64-debian-clang system on CRAN (full check log here: https://win-builder.r-project.org/incoming_pretest/fido_1.1.0_20240515_211644/Debian/00install.out). fido relies on severa