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

Remove redundant rules to fix arm64 build #498

Merged
merged 1 commit into from
Oct 18, 2023
Merged

Remove redundant rules to fix arm64 build #498

merged 1 commit into from
Oct 18, 2023

Conversation

jeroen
Copy link
Contributor

@jeroen jeroen commented Sep 26, 2023

This fixes #497

The $(AR) command that is currently in Makevars.win does not work with llvm (needed on arm64 windows). However the fix is easy: these rules are actually redundant, because R's builtin Makefile already defines the proper rule for creating a static library from object files, here: https://github.com/r-devel/r-svn/blob/HEAD/src/gnuwin32/fixed/etc/Makeconf#L323-L326

So a simple solution is to simply remove this line. I confirmed that with this we can build stringi on arm64 on Windows.

@jeroen jeroen changed the title remove redundant rules Remove redundant rules to fix arm64 build Sep 26, 2023
@gagolews
Copy link
Owner

Thanks, I'll have a look once I'm back from holidays.

@gagolews gagolews merged commit 20dfcfd into gagolews:master Oct 18, 2023
6 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.

Fails to build with clang on Windows
2 participants