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 staticlib2 test for modules #5240

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from
Draft

add staticlib2 test for modules #5240

wants to merge 1 commit into from

Conversation

waruqi
Copy link
Member

@waruqi waruqi commented Jun 20, 2024

@waruqi
Copy link
Member Author

waruqi commented Jun 26, 2024

When clang compiles an external target module, if it is marked as reuse, then its xxx.mpp.o path is currently incorrect.

@waruqi
Copy link
Member Author

waruqi commented Jun 26, 2024

_try_reuse_modules does not work for gcc/clang. _are_flags_compatible() always returns false for gcc. and xxx.mpp.o is not found for clang. @Arthapz

@Arthapz
Copy link
Member

Arthapz commented Jun 26, 2024

_try_reuse_modules does not work for gcc/clang. _are_flags_compatible() always returns false for gcc. and xxx.mpp.o is not found for clang. @Arthapz

Strange it work on my project for clang, module reusage is only for public compatible bmifile, not objectfiles

I'll Check tomorrow

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