pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/bootstrap
Module Name: pkgsrc
Committed By: jperkin
Date: Mon Apr 29 12:37:25 UTC 2024
Modified Files:
pkgsrc/bootstrap: bootstrap
Log Message:
bootstrap: Use printf builtin in bootstrap mksh.
This mirrors the build of the main mksh binary, and improves bootstrap
performance by around 12% on my M1 Max.
To generate a diff of this commit:
cvs rdiff -u -r1.324 -r1.325 pkgsrc/bootstrap/bootstrap
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/bootstrap/bootstrap
diff -u pkgsrc/bootstrap/bootstrap:1.324 pkgsrc/bootstrap/bootstrap:1.325
--- pkgsrc/bootstrap/bootstrap:1.324 Tue Apr 23 07:38:14 2024
+++ pkgsrc/bootstrap/bootstrap Mon Apr 29 12:37:25 2024
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.324 2024/04/23 07:38:14 nia Exp $
+# $NetBSD: bootstrap,v 1.325 2024/04/29 12:37:25 jperkin Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc%NetBSD.org@localhost>
# All rights reserved.
@@ -1297,7 +1297,7 @@ run_cmd "(cd $wrkdir/libnbcompat; $shpro
case "$need_mksh" in
yes) echo_msg "Bootstrapping mksh"
copy_src $pkgsrcdir/shells/mksh/files mksh
- run_cmd "(cd $wrkdir/mksh && env $BSTRAP_ENV CC=\"${CC}\" $shprog Build.sh -r)"
+ run_cmd "(cd $wrkdir/mksh && env $BSTRAP_ENV CC=\"${CC}\" USE_PRINTF_BUILTIN=1 $shprog Build.sh -r)"
run_cmd "$install_sh -c -o $user -g $group -m 755 $wrkdir/mksh/mksh $wrkdir/bin/mksh"
echo "TOOLS_PLATFORM.sh?= $prefix/bin/mksh" >> ${TARGET_MKCONF}
echo "TOOLS_PLATFORM.sh?= $wrkdir/bin/mksh" >> ${BOOTSTRAP_MKCONF}
Home |
Main Index |
Thread Index |
Old Index