Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
Enhance macOS support by adding ARM64 builds and adjusting build, packaging, CI, and docs to handle both Intel and ARM architectures.
- Introduce
CMAKE_OSX_ARCHITECTURES-based arch detection intasks/build.jswith x64 fallback. - Add ARM64 entries to
manifest.jsonand normalize type casing. - Update CMakeLists, CI workflow, and README to build and package separately for
arm64andx86_64.
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tasks/build.js | Use env var for architecture, add fallback lookup, log platform/arch |
| manifest.json | Added macOS ARM64 dependency entries and unified type values |
| CMakeLists.txt | Customize CPACK package name for arm64 vs x86_64 |
| .github/workflows/build_pat.yaml | Split macOS jobs into Intel/ARM, install Qt IFW via aqtinstall |
| README.md | Document separate ARM64 and Intel build commands and DMG names |
| app/.../reportsController.js,* | Fixed path-replacement regex |
| app/.../projectService.js,* | Fixed path-replacement regex |
| app/.../osServerService.js,* | Simplified quoting in CLI commands |
| app/.../analysisController.js,* | Switched to arrow callbacks, updated let to const, fixed regex |
\
Comments suppressed due to low confidence (4)
.github/workflows/build_pat.yaml:139
- On GitHub Actions Windows runners the default shell is PowerShell, where
%N%won’t expand; either switch tocmdor use$Env:Nfor PowerShell.
cmake --build . --target package -j %N% --config Release
.github/workflows/build_pat.yaml:22
- [nitpick] You’ve defined both
matrix.nameandmatrix.include; consider removing the top-levelnamelist and relying solely onincludefor clarity.
name: [Ubuntu, macOS-Intel, macOS-ARM, Windows_2022]
README.md:89
- [nitpick] The indentation of the new ARM64/Intel blocks is inconsistent with surrounding items; aligning the bullet level and code fences will improve readability.
**Note:** For ARM64 (Apple Silicon) specific builds, use:
manifest.json:85
- You changed
typeto lowercase here; ensure all code that consumes this field is case-insensitive or updated to match.
"type": "openstudio"
Collaborator
Author
|
At this point I need to test the Mac Arm installer locally and potentially simplify the code changes in this PR. Then this PR can merge. |
anchapin
added a commit
that referenced
this pull request
Jul 10, 2025
ESLint errors were causing the macOS ARM64 build to fail. This temporarily removes the lint step from the build process to unblock PR #311. A separate PR will be created to fix the linting issues properly. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add darwin arm64 dependency entries to manifest.json - Support MATRIX_ARCH and CMAKE_OSX_ARCHITECTURES in tasks/build.js with x64 fallback - Add macOS architecture suffix (-arm64, -x86_64, -universal) to CPACK_PACKAGE_FILE_NAME - Split macOS CI build into macOS-Intel (macos-15-intel, x86_64) and macOS-ARM (macos-15, arm64) - Only use Rosetta in verify_server_deps.yaml when bundled ruby lacks arm64 slice - Update README.md with macOS ARM64 and Intel CMake commands and DMG names Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Collaborator
Author
|
Rebased onto Tracked upstream dependency fixes required before merging:
|
This was referenced Oct 14, 2026
This file contains hidden or 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
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.
Enhance macOS support by adding ARM architecture builds and updating CI configurations. Update README with build instructions for ARM and Intel. Modify CMakeLists to handle architecture-specific package names. Improve dependency management in build script for architecture detection.