Skip to content

Instantly share code, notes, and snippets.

@Nek
Last active February 7, 2023 03:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nek/6f2ea49875c6ce9e0a68ffecfefdced1 to your computer and use it in GitHub Desktop.
Save Nek/6f2ea49875c6ce9e0a68ffecfefdced1 to your computer and use it in GitHub Desktop.
set -gx CPATH $CPATH "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include"
set -gx CPATH $CPATH "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include"
set -gx CPATH $CPATH "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include"
set -gx CPATH $CPATH "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Versions/Current/Headers"
set -gx CC /usr/bin/clang
set -gx CPATH $CPATH "/opt/homebrew/opt/libgccjit/include"
set -gx CPATH $CPATH "/opt/homebrew/opt/gcc/lib/gcc/12/gcc/aarch64-apple-darwin22/12/include"
set -gx LDFLAGS $LDFLAGS "-L/opt/homebrew/opt/libgccjit/lib/gcc/12"
set -gx PKG_CONFIG_PATH $PKG_CONFIG_PATH "/opt/homebrew/opt/imagemagick/lib/pkgconfig"
set -gx CFLAGS $CFLAGS "-DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT"
./configure --with-native-compilation --with-xwidgets --with-mailutils --with-imagemagick --with-json --with-tree-sitter --with-modules --with-rsvg --without-pop --with-ns --disable-ns-self-contained --with-xml2 --with-gnutls --with-dbus --without-x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment