Created
January 9, 2026 15:54
-
-
Save alexispurslane/97e4bd2fc935c5e8ddfd4154d887456b to your computer and use it in GitHub Desktop.
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
| make distclean | |
| # Environment Setup | |
| export LDFLAGS="-L$(brew --prefix libmps)/lib -L$(brew --prefix tree-sitter)/lib" | |
| export CPPFLAGS="-I$(brew --prefix libmps)/include -I$(brew --prefix tree-sitter)/include" | |
| export CFLAGS="-O3 -march=native -fno-finite-math-only -fno-trapping-math -fassociative-math -freciprocal-math" | |
| ./configure \ | |
| --with-ns \ | |
| --with-mps \ | |
| --with-native-compilation=aot \ | |
| --with-tree-sitter \ | |
| --with-imagemagick \ | |
| --with-mailutils \ | |
| --without-gsettings \ | |
| --without-compress-install | |
| make -j$(sysctl -n hw.ncpu) | |
| make install | |
| cat > entitlements.plist <<EOF | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>com.apple.security.cs.allow-jit</key> | |
| <true/> | |
| <key>com.apple.security.cs.disable-library-validation</key> | |
| <true/> | |
| <key>com.apple.security.cs.allow-unsigned-executable-memory</key> | |
| <true/> | |
| </dict> | |
| </plist> | |
| EOF | |
| codesign --force --options runtime --entitlements entitlements.plist --sign - nextstep/Emacs.app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment