changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / scripts/build-emacs.sh

changeset 38: 197d061b1f2e
parent: 4e73da2d9c63
child: 28ed81f2d290
author: ellis <ellis@rwest.io>
date: Sat, 30 Dec 2023 23:45:41 -0500
permissions: -rwxr-xr-x
description: 2
1 #!/usr/bin/env bash
2 CPUS=$(getconf _NPROCESSORS_ONLN)
3 TARGETDIR=${1:-build/src/emacs}
4 CONFIG=(--with-mailutils
5  --with-imagemagick
6  --with-x-toolkit=gtk
7  --without-pop
8  --without-sound
9  --with-json
10  --enable-link-time-optimization
11  --with-native-compilation
12  --with-modules)
13 pushd $TARGETDIR
14 ./autogen.sh
15 $TARGETDIR/configure ${CONFIG[@]}
16 NATIVE_FULL_AOT=1 make -j$CPUS
17 popd