Skip to content
Prev 8468 / 12125 Next

[R-pkg-devel] windows i386

Dear Simon,

The repo is at https://gitlab.com/roigrp/solver/highs .

Thank you. If I tried the Makevars approach but this leads to other issues
with the 32-bit version.
I resubmittet the the version with the configure file.

Cheers,
Florian
?

Gesendet:?Donnerstag, 15. September 2022 um 01:39 Uhr
Von:?"Simon Urbanek" <simon.urbanek at R-project.org>
An:?"Florian Schwendinger" <FlorianSchwendinger at gmx.at>
Cc:?r-package-devel at r-project.org
Betreff:?Re: [R-pkg-devel] windows i386
Florian,

since there was no direct response and given the earlier discussion I figured I chime. The main problem seems to be your build system that doesn't work. Since you didn't post the actual version of the package, I can only see the CRAN version which still don't set any of the necessary flags from R so it won't work (the error is that it can't even use the C compiler). Your package has to work both in 32-bit and 64-bit, so you need to make sure you pass the correct flags for cmake for each architecture - it's really the same concept as discussed earlier. As for multi-arch, if you have configure.win then you may need to use --merge-multiarch such that each architecture is built separately and the merged into one binary.

I think an easier approach would be if you simply dropped configure* and just used Makevars to build the dependent library as part of the build process since you are building in a sub-directory, so you don't really need the configure and could build both archs in one R CMD INSTALL run.

Cheers,
Simon
?