LandSciTech / pfocal

Fast parallel convolution in R.
https://landscitech.github.io/pfocal/
Other
2 stars 1 forks source link

Build error in CI on windows and macOs #12

Closed VLucet closed 3 years ago

VLucet commented 3 years ago

On windows (R 3.6):

-- Install failure -------------------------------------------------------------

* installing *source* package 'dwsR' ...
** using staged installation
** libs

*** arch - i386
Error in .shlib_internal(args) : 
  C++17 standard requested but CXX17 is not defined

On Mac OS (R latest):

── Install failure ─────────────────────────────────────────────────────────────

* installing *source* package ‘dwsR’ ...
** using staged installation
** libs
clang++ -mmacosx-version-min=10.13 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -fopenmp -lgomp -I'../inst/include/' -I'/Users/runner/work/_temp/Library/Rcpp/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
clang: warning: -lgomp: 'linker' input unused [-Wunused-command-line-argument]
clang: error: unsupported option '-fopenmp'
make: *** [RcppExports.o] Error 1
ERROR: compilation failed for package ‘dwsR’
VLucet commented 3 years ago

(this is on CI on #11 and associated branch atm)

VLucet commented 3 years ago

We are going on insist on R>=4.0.0, but still try to support MacOs