generated from nginxinc/template-repository
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
Use standard way to build a module and avoid cmake usage #11
Open
osokin
wants to merge
18
commits into
nginxinc:main
Choose a base branch
from
osokin:no-cmake
base: main
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The proposal of this change is to remove cmake(1) from the module build process.
Use `s/gHttpModule/ngx_otel_module/g' to make the module linkable. Update library dependency list with `-lgrpc++' to fix build.
- remove needless src/modules.c, that generates by nginx build system - rename the module's source file to src/ngx_otel_module.cpp
Please visit for details: nginxinc#16
(cherry picked from commit 958a4b6)
Move on to gRPC v1.46.7 and opetelemtry-cpp v1.11.0, last versions that support C++11. (cherry picked from commit fa280e1)
(cherry picked from commit 7edca7a)
(cherry picked from commit 0491cc0)
(cherry picked from commit c8c7168)
Removed documentation task, as most of it is hosted externally for now. (cherry picked from commit aac5678)
(cherry picked from commit b54c650)
(cherry picked from commit 93dc2b1)
Starting with 2023-06-01 RE2 publicly depends on Abseil, so we can't use system provided RE2 together with gRPC-bundled Abseil. (cherry picked from commit fa28f37)
(cherry picked from commit d6d7ce1)
(cherry picked from commit 5a0071f)
Incidentally, this also removes RE2 code from the binary. (cherry picked from commit 30b9b73)
(cherry picked from commit d381713)
to resolve the following error during the load module on nginx' start up: undefined symbol "_z11initgrpclogv"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed changes
Proposal of these changes is to:
--add-module
or--add-dynamic-module
configure options to build a module;Checklist
Before creating a PR, run through this checklist and mark each as complete.
CONTRIBUTING
documentREADME.md
andCHANGELOG.md
)