Release a macOS disk image (.dmg) for Apple silicon
I maintainer di solito rispondono entro 1 giorno
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Releases ship Linux archives only. On macOS, the README sends users to a build from source, with Homebrew's LLVM 20. A ctrace built that way loads LLVM, Clang, Z3 and zstd from Homebrew by absolute path (otool -L build/ctrace), and OpenSSL and Brotli too, which cpp-httplib links whenever it finds them: it cannot be copied to another Mac.
To do
- A "Build macOS binary (arm64)" job in
release-binaries.yml, run on every pull request like the Linux ones, that producescoretrace-<version>-macos-arm64.dmgand its.sha256, with the Python analyzer. - The image holds one folder laid out as the Linux archive. The Homebrew libraries
ctraceloads ship inlib/, and every Mach-O file loads them relative to itself: the macOS counterpart of thepatchelfstep. - Licenses as on Linux: an inventory of what the image ships, the license and version of each Homebrew formula collected from its keg, and a packaging that fails on an unlisted library.
- Before the upload, the image is mounted, its folder copied out and run with Homebrew moved away: the Python analyzer, a C analysis and a concurrency analysis.
- On a tag, the image is attached to the release with its provenance attestation.
- The README says how to install it, and how to remove the Gatekeeper mark.
Out of scope
- Signing with a Developer ID, and notarization. CoreTrace has no Apple Developer account. The image is signed ad hoc, which Apple silicon requires; macOS refuses to run a
ctracethat a browser downloaded until the quarantine mark is removed. Once an account exists: import the certificate into a temporary keychain, sign each Mach-O file withcodesign --options runtime --timestamp, then runxcrun notarytool submit --waitandxcrun stapler stapleon the image. - Intel Macs. They need an x86_64 runner and Homebrew libraries built for it.
- The runtime analyzer. It is released for Linux only.
Acceptance
- The job passes on pull requests, and the image it builds runs from any folder, without Homebrew.
check-licenses.shpasses on the image with the macOS inventory.- A release attaches the
.dmg, its.sha256and its attestation.
- Lingua principale
- C++
- Stelle
- 5
- Fork
- 4
- Merge medio
- 1h 9m
- PR unite (30g)
- 81
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CoreTrace/coretrace
-
chore good first issue severity/minor
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno
-
build severity/minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
CoreTrace/coretrace#176 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
build good first issue severity/minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
test: add unit tests for ctrace::RunDirectoryForse già presa @tecnolgd l’ha presa 3 giorni fa. Apertagood first issue test
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
CoreTrace/coretrace#164 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Builds without a build type are unoptimized: the README's commands and CI's main jobForse già presa @SizzleUnrlsd l’ha presa 1 giorno fa. Apertabuild severity/minor
CoreTrace/coretrace#192 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di CoreTrace/coretrace
Issue simili
-
binding:web core docs p3
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
RunanywhereAI/runanywhere-sdks#1123 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
NVIDIA-RTX/NRI#277 ·
I maintainer di solito rispondono entro 1 giorno