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

Pass R_CONFIGURE_FLAGS when configuring libuv #441

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Pass R_CONFIGURE_FLAGS when configuring libuv #441

merged 1 commit into from
Jan 10, 2024

Conversation

jeroen
Copy link
Member

@jeroen jeroen commented Jan 9, 2024

Currently the build fails when cross compiling for wasm or macos, because autoconf wants to get a --host flag. See for example build logs here: https://github.com/r-universe/r-lib/actions/runs/7467210469/job/20320359273

I think the easiest solution is to use the same flags as we use for R configure scripts.

An alternative would be to introduce a new variable to specifically set the --host variable, but I think this just introduces needless complexity. The libuv configure seems to ignore arguments that it does not know, so if R_CONFIGURE_FLAGS would contain additional parameters on some platforms, that should not matter either.

@georgestagg @tylfin

@gaborcsardi gaborcsardi merged commit 03435bc into main Jan 10, 2024
13 checks passed
@gaborcsardi
Copy link
Member

Thanks!

@gaborcsardi
Copy link
Member

How is it possible that the PR builds fine on macOS, but after merging the build fails?
https://github.com/r-lib/fs/actions/runs/7472188544/job/20333860652

@georgestagg
Copy link

That's so weird. I synced the fork at r-wasm/fs, and it passed there!
https://github.com/r-wasm/fs/actions/runs/7472746218

Does it pass if you re-run the action?

@gaborcsardi
Copy link
Member

Yeah, re-run works. Probably some issue with the config of that runner.

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.

None yet

3 participants