changelog shortlog graph tags branches changeset file revisions annotate raw help

Mercurial > infra / scripts/get-emacs.sh

revision 3: 34e87d25f113
parent 1: 08c364669209
child 9: 015c6f7d6e16
     1.1--- a/scripts/get-emacs.sh	Thu Nov 09 22:27:18 2023 -0500
     1.2+++ b/scripts/get-emacs.sh	Sun Nov 19 21:07:23 2023 -0500
     1.3@@ -1,8 +1,8 @@
     1.4 #!/usr/bin/bash
     1.5-TIMESTAMP=$(date +%s)
     1.6+CPUS=$(shell getconf _NPROCESSORS_ONLN)
     1.7 VER="${1:-main}"
     1.8 TARGETDIR=${2:-$(realpath build/emacs-$VER)}
     1.9-DISTDIR=${3:-$(realpath dist/emacs-$VER-$TIMESTAMP)}
    1.10+DISTDIR=${3:-$(realpath dist/emacs-$VER)}
    1.11 CONFIG=(--with-mailutils
    1.12 	--with-imagemagick
    1.13 	--with-x-toolkit=gtk
    1.14@@ -16,10 +16,10 @@
    1.15 git clone https://lab.rwest.io/packy/shed/vendor/emacs.git $TARGETDIR
    1.16 pushd $TARGETDIR
    1.17 ./autogen.sh
    1.18-mkdir -p $DISTDIR
    1.19+mkdir -pv $DISTDIR
    1.20 pushd $DISTDIR
    1.21 $TARGETDIR/configure ${CONFIG[@]} 
    1.22-NATIVE_FULL_AOT=1 make -j8
    1.23+NATIVE_FULL_AOT=1 make -j$CPUS
    1.24 # make install
    1.25 popd
    1.26 popd