Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RcppParallel cxxflags to makevars #70

Merged
merged 2 commits into from
May 17, 2024
Merged

Add RcppParallel cxxflags to makevars #70

merged 2 commits into from
May 17, 2024

Conversation

andrjohns
Copy link
Contributor

This PR updates your Makevars to add RcppParallel's CXXFLAGS, which will be needed for compatibility with Windows ARM64

Copy link
Owner

@asardaes asardaes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the heads up :)

src/Makevars Outdated
@@ -1,4 +1,5 @@
PKG_CXXFLAGS += -DRCPP_USE_UNWIND_PROTECT
KG_CXXFLAGS += $(shell ${R_HOME}/bin/Rscript -e "RcppParallel::CxxFlags()")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a typo, an initial P is missing. Also, where did you find this information? The documentation doesn't mention this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a typo, an initial P is missing.

Oh good catch, sorry about that!

Also, where did you find this information? The documentation doesn't mention this.

The CxxFlags function didn't previously have much use for packages, but the TBB headers needs additional compilation flags on Windows ARM64

src/Makevars.win Show resolved Hide resolved
@asardaes asardaes merged commit 18023c2 into asardaes:master May 17, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants