Compile with native compl

This commit is contained in:
Marcus Kammer 2023-11-13 16:35:21 +01:00
parent b481bdeb5b
commit a487203e48

View file

@ -483,7 +483,7 @@ write_files:
# Update package list and install dependencies # Update package list and install dependencies
sudo apt update sudo apt update
sudo apt install -y build-essential git autoconf texinfo libncurses-dev libgnutls28-dev libjansson-dev libgccjit-11-dev pkg-config sudo apt install -y build-essential git autoconf texinfo libncurses-dev libgnutls28-dev libjansson-dev libgccjit-11-dev pkg-config zlib1g-dev
# Clone the Emacs repository # Clone the Emacs repository
git clone git://git.sv.gnu.org/emacs.git git clone git://git.sv.gnu.org/emacs.git
@ -496,7 +496,7 @@ write_files:
./autogen.sh ./autogen.sh
# Configure Emacs for building without X11, without GTK, without image support, and with native compilation # Configure Emacs for building without X11, without GTK, without image support, and with native compilation
./configure --without-x --without-imagemagick --without-jpeg --without-png --without-gif --without-tiff --without-xpm --with-modules --with-nativecomp ./configure --without-x --without-imagemagick --without-jpeg --without-png --without-gif --without-tiff --without-xpm --with-modules --with-native-compilation=aot
# Build Emacs # Build Emacs
make -j$(nproc) make -j$(nproc)