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

Use standard way to build a module and avoid cmake usage #11

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

osokin
Copy link

@osokin osokin commented Sep 17, 2023

Proposed changes

Proposal of these changes is to:

  • use standard way, i.e. --add-module or --add-dynamic-module configure options to build a module;
  • avoid cmake(1) usage.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • I have updated any relevant documentation (README.md and CHANGELOG.md)

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
osokin and others added 15 commits December 14, 2023 18:36
Please visit for details: nginxinc#16
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 0491cc0)
(cherry picked from commit c8c7168)
Removed documentation task, as most of it is hosted externally for now.

(cherry picked from commit aac5678)
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)
Incidentally, this also removes RE2 code from the binary.

(cherry picked from commit 30b9b73)
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants