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

Add macOS arm64 support #19193

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Add macOS arm64 support #19193

wants to merge 11 commits into from

Conversation

Pythyu
Copy link

@Pythyu Pythyu commented Dec 5, 2024

What does this PR do?

Add support to build arm64 macOS integrations, most of it is taken from original x64 macOS files and adapted for arm64

Motivation

Used on my hackathon project

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

@Pythyu
Copy link
Author

Pythyu commented Dec 26, 2024

Changes in .deps will be removed before merge, it is only there so that I can tests my other two related PRs on datadog-agent and omnibus-software

# Packages which must be built from source
always_build=()

if false && [[ "${DD_BUILD_PYTHON_VERSION}" == "3" ]]; then
Copy link
Author

Choose a reason for hiding this comment

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

Disabled the rebuild of confluent-kafka and librdkafka because some module doesn't support universal2 wheels and I didn't managed to force take the arm64 wheel instead of universal

Copy link
Author

Choose a reason for hiding this comment

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

I don't think it is necessary for macOS m1 to have kerberos support at least for now since the main goal is to allow easier local building on our laptops

@@ -320,6 +327,7 @@ jobs:
- name: Create pull request
uses: peter-evans/create-pull-request@v5
with:
base: pythyu/macos_arm_build
Copy link
Author

Choose a reason for hiding this comment

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

Hack I used to get .deps inside of this branch. Will be removed when merging

@Pythyu Pythyu marked this pull request as ready for review December 26, 2024 14:20
@Pythyu Pythyu requested review from a team as code owners December 26, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants