Re: Arm64 fails to build r-cran-rcpptoml
On 24 January 2023 at 08:17, Dirk Eddelbuettel wrote:
|
| Andreas,
|
| Per the discussion with upstream at
| https://github.com/marzer/tomlplusplus/issues/178#issuecomment-1402010516
| the RcppTOML codebase is actually pretty close to what upstream has right
| now, modulo a changed / failed way to detect when to define TOML_ENABLE_FLOAT16
|
| So you could brute-force this by adding -DTOML_ENABLE_FLOAT16 to src/Makevars
| i.e. make the second line
|
| PKG_CPPFLAGS = -I../inst/include -DTOML_ENABLE_FLOAT16
Correction after further chats with upstream in issue ticket:
PKG_CPPFLAGS = -I../inst/include -DTOML_ENABLE_FLOAT16=0
With that I built at CRAN win-builder under old-rel for i386 and x86_64.
Dirk
--
dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org
Reply to: