Last active
March 7, 2025 23:18
-
-
Save ibrahima/a1525f0c7511efe5aeef49c874b516e3 to your computer and use it in GitHub Desktop.
My emacs build
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
#!/usr/bin/env bash | |
# Ensure that we have libgccjit matching the default gcc version, libwebkitgtk-dev headers | |
./configure \ | |
--without-compress-install \ | |
--with-mailutils \ | |
--with-pgtk \ | |
--with-tree-sitter | |
# --with-xwidgets \ # Seems like this no longer works due to https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66068 | |
# --with-native-compilation \ This is the default since Emacs 30 | |
# --with-json # This is no longer an option since Emacs 30, JSON support is built in | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.masteringemacs.org/article/speed-up-emacs-libjansson-native-elisp-compilation
https://www.masteringemacs.org/article/how-to-get-started-tree-sitter
https://batsov.com/articles/2021/12/19/building-emacs-from-source-with-pgtk/