Files
drg-xmrig/.gitignore
DanS de11995a53 Add macOS release build target
Add `./build.sh --macos-release`, producing a portable host-arch macOS
binary (Intel x86_64 or Apple Silicon arm64). libuv, hwloc, and OpenSSL
are linked statically from Homebrew so the result runs on stock macOS
without Homebrew at runtime.

Homebrew's static libhwloc.a is built with the libxml2 and OpenCL
topology plugins, so the link adds `-lxml2 -framework OpenCL` (both
ship with macOS). Brew prefixes are resolved via `brew --prefix`, so
the same target works on Intel (/usr/local) and Apple Silicon
(/opt/homebrew); the package is named by `uname -m`.

Also document the macOS build in README and ignore build-macos/.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 09:05:55 -05:00

45 lines
525 B
Plaintext

# Build output
/build
/build-windows
scripts/build
# Dependencies
/deps-windows
scripts/deps
# IDE / editor
/CMakeLists.txt.user
/.idea
.vscode
/.qtcreator
# Mining config (contains pool/wallet settings — copy config.example.json)
src/config.json
# Build artifacts (safety net)
*.o
*.a
*.so
*.dll
*.exe
# Logs
*.log
# Dependency tarballs
*.tar.gz
# Generated OpenCL
/src/backend/opencl/cl/cn/cryptonight_gen.cl
# OS files
.DS_Store
Thumbs.db
*.swp
*~
release/
build-linux/
build-macos/
build-windows/
deps-windows/