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

Arm64 missing libatomic #112

Merged
merged 5 commits into from
Dec 20, 2024

Conversation

karczex
Copy link
Contributor

@karczex karczex commented Nov 12, 2024

No description provided.

@dynatrace-cla-bot
Copy link
Member

dynatrace-cla-bot commented Nov 12, 2024

CLA assistant check
All committers have signed the CLA.

@karczex karczex force-pushed the arm64-missing-libatomic branch 2 times, most recently from 7d09c78 to 38e2d55 Compare November 19, 2024 17:00
@pawsten
Copy link
Collaborator

pawsten commented Nov 26, 2024

Is this PR ready?

It's attempt to not include redundant headers
@karczex karczex force-pushed the arm64-missing-libatomic branch 2 times, most recently from 3460f2f to 015453f Compare December 17, 2024 08:24
@karczex karczex marked this pull request as ready for review December 17, 2024 08:26
@karczex karczex force-pushed the arm64-missing-libatomic branch from 7af2224 to 020b138 Compare December 19, 2024 10:43
ebpfdiscoverysrv/src/main.cpp Show resolved Hide resolved
ebpfdiscoverysrv/test/dependencies.sh Outdated Show resolved Hide resolved

namespace boost::json::ext {

void print(std::ostream& os, boost::json::value const& jv) {
Copy link

Choose a reason for hiding this comment

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

consider moving const at the beginning: "const boost::json::value&"

libebpfdiscovery/headers/ebpfdiscovery/Json.h Outdated Show resolved Hide resolved
libebpfdiscovery/headers/ebpfdiscovery/Json.h Outdated Show resolved Hide resolved
libebpfdiscovery/test/JsonTest.cpp Outdated Show resolved Hide resolved
libservice/headers/service/Aggregator.h Outdated Show resolved Hide resolved
libservice/headers/service/Service.h Outdated Show resolved Hide resolved
libservice/headers/service/Service.h Outdated Show resolved Hide resolved
libservice/headers/service/Service.h Outdated Show resolved Hide resolved
@karczex karczex force-pushed the arm64-missing-libatomic branch from 020b138 to ff2950e Compare December 19, 2024 12:18
filip-szweda
filip-szweda previously approved these changes Dec 20, 2024
libservice/headers/service/Service.h Outdated Show resolved Hide resolved
ebpfdiscoverysrv/test/dependencies.sh Outdated Show resolved Hide resolved
Original motivation for this change was to
remove unnecessary binary dependency on
libatomic. As it appeared source of this dependency
was protobuf. As this quite complex piece of
software was used only to generate simple json
I swiched it to boost::json.
I decided to use boost::json because boost already was
dependency for eBPF discovery.
Setting base image to fixed version should stabilise cppcheck CI job.
If we use latest tag, cppcheck package major version would be
updateded at some point. This follows to failures on CI in not related
parts of the code.
This version should be updateded at some point.
@karczex karczex force-pushed the arm64-missing-libatomic branch from 1a64aa3 to da16ec7 Compare December 20, 2024 10:30
@filip-szweda filip-szweda merged commit 66be94e into dynatrace-oss:main Dec 20, 2024
5 checks passed
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.

5 participants