Skip to content

feat(build): Add Intel macOS Make targets for GUI setup and build - #380

Open
vveliev wants to merge 1 commit into
reco-project:mainfrom
vveliev:main
Open

feat(build): Add Intel macOS Make targets for GUI setup and build#380
vveliev wants to merge 1 commit into
reco-project:mainfrom
vveliev:main

Conversation

@vveliev

@vveliev vveliev commented Jun 15, 2026

Copy link
Copy Markdown
  • Add make mac-intel-init to install and pin Rust 1.92.0 toolchain, ffmpeg, pkgconf
  • Add make mac-intel-doctor to verify toolchain, Homebrew, and ffmpeg pkg-config discovery
  • Add make gui-build-mac-intel to compile reco-gui without default ORT backend (resolves prebuilt availability issues on x86_64-apple-darwin)
  • Add make gui-run-mac-intel convenience target to run the built GUI binary
  • Update README.md with Intel macOS setup section and usage examples
  • Makefile handles rustup installation via Homebrew and detects pkg-config paths automatically
  • All targets verified working on Intel Mac with Rust 1.92.0

Description

Checklist

  • I self-reviewed this change and it follows the project style guidelines
  • cargo test --all passes
  • cargo clippy --all-targets -- -D warnings and cargo fmt --all -- --check pass
  • I added or updated tests where it made sense

Screenshots

- Add `make mac-intel-init` to install and pin Rust 1.92.0 toolchain, ffmpeg, pkgconf
- Add `make mac-intel-doctor` to verify toolchain, Homebrew, and ffmpeg pkg-config discovery
- Add `make gui-build-mac-intel` to compile reco-gui without default ORT backend (resolves prebuilt availability issues on x86_64-apple-darwin)
- Add `make gui-run-mac-intel` convenience target to run the built GUI binary
- Update README.md with Intel macOS setup section and usage examples
- Makefile handles rustup installation via Homebrew and detects pkg-config paths automatically
- All targets verified working on Intel Mac with Rust 1.92.0
Copilot AI review requested due to automatic review settings June 15, 2026 15:58
@github-actions

Copy link
Copy Markdown

Thank you for your contribution. Before this can be merged, please read our Contributor License Agreement and sign it by posting the comment below. It grants the maintainer the right to relicense your contribution, including under a commercial license for dual-licensing.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds Intel (x86_64) macOS bootstrap/build instructions and a Makefile to standardize GUI builds without default ORT features.

Changes:

  • Document Intel Mac setup + GUI build/run workflow via Make targets.
  • Add root Makefile with mac-intel-* and gui-*-mac-intel targets.
  • Add “doctor” target to validate toolchain and FFmpeg/pkg-config availability.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

File Description
README.md Adds Intel Mac setup section and Make-based build/run instructions.
Makefile Introduces macOS Intel dependency bootstrap, diagnostics, and build/run targets.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Makefile
Comment on lines +15 to +26
brew install ffmpeg pkgconf rustup-init
@RUSTUP_BIN="$$(command -v rustup 2>/dev/null || true)"; \
if [ -z "$$RUSTUP_BIN" ] && [ -x "$$(brew --prefix rustup)/bin/rustup" ]; then \
RUSTUP_BIN="$$(brew --prefix rustup)/bin/rustup"; \
fi; \
if [ -z "$$RUSTUP_BIN" ] && [ -x "$$HOME/.cargo/bin/rustup" ]; then \
RUSTUP_BIN="$$HOME/.cargo/bin/rustup"; \
fi; \
if [ -z "$$RUSTUP_BIN" ]; then \
echo "rustup is not available in PATH. Add $$(brew --prefix rustup)/bin to PATH and retry."; \
exit 1; \
fi; \
Comment thread Makefile

mac-intel-init:
@command -v brew >/dev/null || { echo "Homebrew is required: https://brew.sh"; exit 1; }
brew update
Comment thread Makefile
Comment on lines +16 to +26
@RUSTUP_BIN="$$(command -v rustup 2>/dev/null || true)"; \
if [ -z "$$RUSTUP_BIN" ] && [ -x "$$(brew --prefix rustup)/bin/rustup" ]; then \
RUSTUP_BIN="$$(brew --prefix rustup)/bin/rustup"; \
fi; \
if [ -z "$$RUSTUP_BIN" ] && [ -x "$$HOME/.cargo/bin/rustup" ]; then \
RUSTUP_BIN="$$HOME/.cargo/bin/rustup"; \
fi; \
if [ -z "$$RUSTUP_BIN" ]; then \
echo "rustup is not available in PATH. Add $$(brew --prefix rustup)/bin to PATH and retry."; \
exit 1; \
fi; \
Comment thread Makefile
Comment on lines +53 to +63
@RUSTUP_BIN="$$(command -v rustup 2>/dev/null || true)"; \
if [ -z "$$RUSTUP_BIN" ] && [ -x "$$(brew --prefix rustup)/bin/rustup" ]; then \
RUSTUP_BIN="$$(brew --prefix rustup)/bin/rustup"; \
fi; \
if [ -z "$$RUSTUP_BIN" ] && [ -x "$$HOME/.cargo/bin/rustup" ]; then \
RUSTUP_BIN="$$HOME/.cargo/bin/rustup"; \
fi; \
if [ -z "$$RUSTUP_BIN" ]; then \
echo "rustup is required (brew install rustup-init)."; \
exit 1; \
fi; \
Comment thread README.md
Comment on lines +126 to +127
# Verify ffmpeg/pkg-config and Rust are visible
make mac-intel-doctor
Comment thread Makefile
@@ -0,0 +1,68 @@
SHELL := /bin/zsh
@mohamedtahaguelzim

Copy link
Copy Markdown
Contributor

Hello;
Thank you for this PR. Was very needed.

Could you please sign the CLA so I could merge it?

Have you been able to get the AI to work on MacOS intel?
Thanks again

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.

3 participants