Skip to content

CHEF-34743: Add Habitat plan for aarch64-darwin (macOS Apple Silicon)#474

Open
sanghinitin wants to merge 1 commit into
mainfrom
CHEF-34743-mac-hab-pkg
Open

CHEF-34743: Add Habitat plan for aarch64-darwin (macOS Apple Silicon)#474
sanghinitin wants to merge 1 commit into
mainfrom
CHEF-34743-mac-hab-pkg

Conversation

@sanghinitin

Copy link
Copy Markdown
Contributor

Summary

Adds a Habitat package plan for aarch64-darwin (macOS Apple Silicon) platform to enable native Habitat builds on Apple Silicon Macs.

Jira Ticket

CHEF-34743

Changes

  • Created habitat/aarch64-darwin/plan.sh for macOS aarch64-darwin builds
  • Uses core/clang and core/cmake for native macOS compilation (instead of gcc)
  • Sets DYLD_LIBRARY_PATH for macOS dynamic linker in the runtime wrapper
  • Configures CC/CXX environment variables pointing to clang
  • Adds core/libarchive as a runtime dependency
  • Includes binstub patch verification to fail fast on injection errors

Evidence / Testing

  • Plan structure follows the established pattern from the chef-cli aarch64-darwin plan
  • Uses the same base-2025 builder channel as the existing Linux plan
  • Path references adjusted for the nested habitat/aarch64-darwin/ directory structure ($PLAN_CONTEXT/../..)
  • Verified plan syntax and all required Habitat callbacks are present

Signed-off-by: nitin sanghi <nsanghi@progress.com>
@sanghinitin sanghinitin requested review from a team as code owners June 26, 2026 09:28
@sanghinitin sanghinitin added Type: Enhancement Adds new functionality. ai-assisted and removed Type: Enhancement Adds new functionality. labels Jun 26, 2026
@github-actions

Copy link
Copy Markdown

Simplecov Report

Covered Threshold
98.57% 90%

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.

1 participant