commit: e08f655cd616721cbcb9d93203ab23e25a4dcdb5
parent c0494d9af84b9e8c3e76e34c6e898978013a3b39
Author: Gábor Stefanik <netrolller.3d@gmail.com>
Date: Mon, 15 Apr 2024 11:50:52 +0200
Rebuild pregenerated files in nyacc
Diffstat:
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/steps/mes-0.26/pass1.kaem b/steps/mes-0.26/pass1.kaem
@@ -34,7 +34,7 @@ sha256sum -c sources.SHA256SUM
# Unpack
mkdir build
cd build
-ungz --file ${DISTFILES}/${NYACC_PKG}.tar.gz --output ${NYACC_PKG}.tar
+ungz --file ${DISTFILES}/${NYACC_PKG}-lb1.tar.gz --output ${NYACC_PKG}.tar
ungz --file ${DISTFILES}/${MES_PKG}.tar.gz --output ${MES_PKG}.tar
untar --file ${NYACC_PKG}.tar
untar --non-strict --file ${MES_PKG}.tar # ignore symlinks
@@ -62,6 +62,20 @@ kaem --verbose --strict --file kaem.${MES_ARCH}
cp bin/mes-m2 ${BINDIR}/mes-m2
chmod 755 ${BINDIR}/mes-m2
+# Rebuild pregenerated files in nyacc
+cd ../${NYACC_PKG}
+rm module/nyacc/lang/c99/mach.d/c99-act.scm module/nyacc/lang/c99/mach.d/c99-tab.scm \
+ module/nyacc/lang/c99/mach.d/c99cx-act.scm module/nyacc/lang/c99/mach.d/c99cx-tab.scm \
+ module/nyacc/lang/c99/mach.d/c99x-act.scm module/nyacc/lang/c99/mach.d/c99x-tab.scm \
+ module/nyacc/lang/c99/mach.d/cpp-act.scm module/nyacc/lang/c99/mach.d/cpp-tab.scm
+${MES} -L module gen-cpp-files.scm
+# More RAM for this one!
+MES_ARENA=32000000
+${MES} -L module gen-c99-files.scm
+MES_ARENA=20000000
+${MES} -L module gen-c99cx-files.scm
+cd ../${MES_PKG}
+
# Create mescc.scm
mescc_in=scripts/mescc.scm.in
replace --file ${mescc_in} --output ${mescc_in} --match-on @prefix@ --replace-with ${PREFIX}
diff --git a/steps/mes-0.26/sources b/steps/mes-0.26/sources
@@ -1,2 +1,4 @@
https://mirrors.kernel.org/gnu/mes/mes-0.26.tar.gz 0f2210ad5896249466a0fc9a509e86c9a16db2b722741c6dfb5e8f7b33e385d4
-https://download.savannah.gnu.org/releases/nyacc/nyacc-1.00.2.tar.gz f36e4fb7dd524dc3f4b354d3d5313f69e7ce5a6ae93711e8cf6d51eaa8d2b318
+https://github.com/Googulator/nyacc/releases/download/V1.00.2-lb1/nyacc-1.00.2-lb1.tar.gz 708c943f89c972910e9544ee077771acbd0a2c0fc6d33496fe158264ddb65327
+https://archive.org/download/live-bootstrap-sources/nyacc-1.00.2-lb1.tar.gz 708c943f89c972910e9544ee077771acbd0a2c0fc6d33496fe158264ddb65327
+https://files.bootstrapping.world/nyacc-1.00.2-lb1.tar.gz 708c943f89c972910e9544ee077771acbd0a2c0fc6d33496fe158264ddb65327