daylen / stockfish-mac

Beautiful, powerful chess app for the Mac
http://stockfishchess.org/mac/
GNU General Public License v3.0
511 stars 116 forks source link

Code to generate binaries shipped with the Stockfish App? #71

Open robertkarl opened 3 years ago

robertkarl commented 3 years ago

As far as I understand it, this app distributes binaries built from Stockfish 13 source. These binaries are codesigned so they run within the sandboxed app (and not outside of it).

% codesign -d -vvv stockfish-x86-64-bmi2
Executable=/Users/robertkarl/code/stockfish-mac/stockfish-x86-64-bmi2
Identifier=com.daylenyang.Stockfish.stockfish-x86-64-bmi2
Format=Mach-O thin (x86_64)
CodeDirectory v=20400 size=3250 flags=0x0(none) hashes=90+7 location=embedded
Hash type=sha256 size=32
CandidateCDHash sha256=0e90df631f50f3b0fbec9833e41a79bc8f14e287
CandidateCDHashFull sha256=0e90df631f50f3b0fbec9833e41a79bc8f14e287da7ff3dd81436695e78fe6ae
Hash choices=sha256
CMSDigest=0e90df631f50f3b0fbec9833e41a79bc8f14e287da7ff3dd81436695e78fe6ae
CMSDigestType=2
CDHash=0e90df631f50f3b0fbec9833e41a79bc8f14e287
Signature size=4776
Authority=3rd Party Mac Developer Application: Daylen Yang (NR8F7ZFLA3)
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=Feb 20, 2021 at 2:51:36 AM
Info.plist=not bound
TeamIdentifier=NR8F7ZFLA3
Sealed Resources=none
Internal requirements count=1 size=228

It would be nice if the stockfish-mac repo included the exact stockfish 13 source used, and any modifications to it or commands needed to build and sign these executables.