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

Switch to cmake for protobuf library build #63

Closed
wants to merge 2 commits into from

Conversation

csxwin
Copy link
Contributor

@csxwin csxwin commented Aug 10, 2023

This pull request are making changes to the install dependency scripts. It will make two chagnes:

  1. Switch to CMake for protobuf library build
  2. Enable CMake option DCMAKE_POSITION_INDEPENDENT_CODE so that the static library can be consumed by shared target build

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@csxwin csxwin requested a review from a team as a code owner August 10, 2023 00:06
Copy link
Contributor

@hefroy hefroy left a comment

Choose a reason for hiding this comment

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

Switch to CMake needs to be done for target builds for arm64 and armhf too (only done for the protoc native build so far).

@csxwin csxwin force-pushed the build-protobuf-lib-via-cmake branch from b6d4f10 to d5220e5 Compare August 21, 2023 01:30
@csxwin csxwin force-pushed the build-protobuf-lib-via-cmake branch from d5220e5 to 968e50d Compare August 21, 2023 06:06
@csxwin
Copy link
Contributor Author

csxwin commented Sep 20, 2023

Close this PR as the CI is failing due to ubuntu packaging. Hence this change will be bundled with the packaging fix in a future PR

@csxwin csxwin closed this Sep 20, 2023
@hefroy hefroy deleted the build-protobuf-lib-via-cmake branch September 25, 2023 11:51
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.

2 participants