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

runtimes support for package:check_cxxsnippet #4921

Merged
merged 4 commits into from Apr 6, 2024

Conversation

Arthapz
Copy link
Member

@Arthapz Arthapz commented Apr 1, 2024

support passing runtime flags to check_cxxsnippet, this is a POC just to get ur opinion and suggestions
this is needed because if a package is built with libc++ and linked to a snippet which use libstdc++, this will result in a link error

xmake/core/tool/builder.lua Outdated Show resolved Hide resolved
@waruqi
Copy link
Member

waruqi commented Apr 2, 2024

The current package-related runtimes settings should be handled here.

function _instance:_generate_build_configs(configs, opt)

Although there is some hardcoding here, it is less impactful than modifying the builder. Maybe there's a better way to handle this later.

More needs to be done to support it well, maybe you can open an issue first.

fix test indent
@waruqi
Copy link
Member

waruqi commented Apr 4, 2024

I haven't had time to review it lately and may have to wait a few more days.

@Arthapz
Copy link
Member Author

Arthapz commented Apr 4, 2024

I haven't had time to review it lately and may have to wait a few more days.

No problem take ur time

@waruqi waruqi merged commit 665f568 into xmake-io:dev Apr 6, 2024
19 checks passed
@waruqi waruqi added this to the v2.9.1 milestone Apr 6, 2024
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

2 participants