[R] Remove extra gcc-specific options from Makevars.win #3627
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
CC: @coatless @eddelbuettel @kalibera
This is an experimental PR to try and remove the GCC-specific options from
Makevars.win. @kalibera pointed out via email that the R package build fails on Windows when using LLVM, because thetrack-macro-expansion=0compiler option isn't available in LLVM. If we wanted, we could make the option conditional, but @kalibera noted that the build was actually faster under gcc without those options. So, let's see what happens here.Those options were originally added to decrease RAM usage so that the CRAN Windows workers would build successfully (if I remember right), but perhaps they aren't needed anymore.
First we can try this PR here, and if this succeeds, I can port these tiny changes to the existing mlpack CRAN package and see if CRAN still builds them successfully.
The usual disclaimer is that I am not an R expert and will defer to others' input and advice here! 😄