Emacs IGC branch build and install

[Witness Jo]

2025/11/04

Emacs IGC branch build and install

# Clone the Emacs repository
git clone https://git.savannah.gnu.org/git/emacs.git
cd emacs

# Checkout the feature/igc branch
git checkout feature/igc

# Clean any previous builds
make distclean 2>/dev/null || true

# Generate configure script
./autogen.sh

# Configure with native compilation and other optimizations
./configure --with-native-compilation=aot \
            --with-json \
            --with-tree-sitter \
            --with-imagemagick \
            --with-sqlite3 \
            --with-igc

# Build (adjust -j number based on your CPU cores)
make -j$(nproc)

# Install (optional, or run from src/emacs)
sudo make install