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

include macos frameworks in autotools LDFLAGS #6309

Merged
merged 5 commits into from Jan 16, 2020
Merged

include macos frameworks in autotools LDFLAGS #6309

merged 5 commits into from Jan 16, 2020

Conversation

ericLemanissier
Copy link
Contributor

@ericLemanissier ericLemanissier commented Jan 8, 2020

Changelog: Bugfix: Include MacOS frameworks definitions in autotools LDFLAGS (also Meson).
Changelog: Bugfix: Apply system_libs information in autotools build helper.
Docs: Omit

@memsharded
Copy link
Member

There are a few broken tests, many because of a Mock missing data.

Could you please elaborate a bit more about this? Is it really possible to inject the frameworks as they are into LD_FLAGS?

@memsharded
Copy link
Member

Asking for the help of @SSE4 to check this PR, and help making it green if it makes sense.

@SSE4
Copy link
Contributor

SSE4 commented Jan 15, 2020

yeas, there are mocks need to be fixed, I'll take a look

@ericLemanissier
Copy link
Contributor Author

ericLemanissier commented Jan 15, 2020

I think system_libs should also be added
Sorry, this PR lacks context. I'll take the time to find what failed, and why this PR should fix it, probably in the coming days.

@SSE4
Copy link
Contributor

SSE4 commented Jan 16, 2020

@ericLemanissier could you give me write permissions to your fork? thx.

Signed-off-by: SSE4 <tomskside@gmail.com>
@SSE4
Copy link
Contributor

SSE4 commented Jan 16, 2020

@ericLemanissier @memsharded
I went ahead and fixed errors in tests. for me the PR makes total sense, as frameworks and system libraries should be respected by AutoToolsBuildEnvironment helper (otherwise, certain projects may not configure properly).

@ericLemanissier
Copy link
Contributor Author

Thanks a lot @SSE4 !
also, this PR fixes the same issue with meson builds because Meson build helper internally uses AutoToolsBuildEnvironment

@memsharded memsharded added this to the 1.22 milestone Jan 16, 2020
@memsharded
Copy link
Member

memsharded commented Jan 16, 2020

Thanks all.

I have tentatively assigned it for Conan 1.22, let's wait for @jgsogo and @danimtb review.

@memsharded memsharded self-assigned this Jan 16, 2020
Copy link
Member

@danimtb danimtb left a comment

Choose a reason for hiding this comment

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

LGTM although I am missing a test with input values for both system_libs and frameworks and asserts on the output of the autotools helper

Copy link
Member

@memsharded memsharded left a comment

Choose a reason for hiding this comment

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

LGTM although I am missing a test with input values for both system_libs and frameworks and asserts on the output of the autotools helper

Yes, definitely, this deserves a test with some values in both, because it is green, but the truth is that it could be doing nothing and we would never know, or worse, we can break it in the future and not be aware.

Please @SSE4 try to add one or two tests that use some actual values for those. Many thanks!

@ericLemanissier
Copy link
Contributor Author

ok, unit tests are now passing on my computer

@memsharded
Copy link
Member

I have merged from develop, because we have added Py38 testing, and some tests have been fixed in develop to pass in Py38

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

4 participants