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 -Lnative flags for C++ runtime library #610

Merged
merged 1 commit into from
Feb 25, 2021

Conversation

hlopko
Copy link
Member

@hlopko hlopko commented Feb 25, 2021

This should have been a part of #576.

Copy link
Collaborator

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

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

Any tests? :)

@hlopko
Copy link
Member Author

hlopko commented Feb 25, 2021

Yeah tests for this are one big yak shave for which I'm not sure I'm prepared for mentally :))

It would involve setting up a custom C++ toolchain that uses static_runtime_lib and actually work on our (at least) Linux CI workers. I'd reuse Bazel's autoconfiguration logic, but I'd need to be able to be able to customize it with the runtime lib, which needs Bazel PRs. And then writing a rule that would transition to this custom toolchain for the unit test.

@hlopko hlopko merged commit 5285ebc into bazelbuild:main Feb 25, 2021
@hlopko hlopko deleted the add_runtime_lib_dir branch April 1, 2021 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants