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

Makefile: only support building deps from submodule #23957

Merged
merged 3 commits into from
Sep 1, 2020

Conversation

jtattermusch
Copy link
Contributor

@jtattermusch jtattermusch commented Aug 24, 2020

as Makefile is now only intended for internal use, it doesn't make sense to support building from system-installed dependencies.
When building artifacts (which is now the primary purpose of Makefile), we are always building the dependencies from submodules (zlib being the only exception), so it doesn't make sense to keep all the complex Makefile machinery that tries to detect if dependencies are installed on the system etc. (e.g. the ..._CHECK_CMD, HAS_SYSTEM_... etc.)

The result:

  • all the dependencies now only support the "EMBED_..." mode where the code is taken from the submodule
  • zlib is the only dependency that supports building from system-installed zlib (because we still use that in some places).
  • some other cleanup and simplifications

If this works out, the Makefile can be simplified even further in followup steps.

@jtattermusch jtattermusch added release notes: yes Indicates if PR needs to be in release notes lang/c++ labels Aug 27, 2020
@jtattermusch jtattermusch marked this pull request as ready for review August 27, 2020 14:25
@jtattermusch
Copy link
Contributor Author

@veblush this is now close to being ready for review - it's worth taking a first glance.

@jtattermusch
Copy link
Contributor Author

Rebased. I will only merge once the release branch has been successfully cut.

@jtattermusch
Copy link
Contributor Author

This seems safe to merge - feel free to revert if problems arise.

@jtattermusch jtattermusch merged commit 249c261 into grpc:master Sep 1, 2020
stanhu added a commit to stanhu/grpc that referenced this pull request Oct 30, 2021
grpc#23957 removed the ability to build
against the system OpenSSL libraries. However, BoringSSL is not
supported on such platforms as the IBM s390x. This commits restores the
behavior of that merge request just for OpenSSL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/c++ release notes: yes Indicates if PR needs to be in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants