]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Import bmake-20230909
authorSimon J. Gerraty <sjg@FreeBSD.org>
Sun, 17 Sep 2023 17:03:11 +0000 (10:03 -0700)
committerSimon J. Gerraty <sjg@FreeBSD.org>
Sun, 17 Sep 2023 17:03:11 +0000 (10:03 -0700)
commit1012cf15f75d1e9048779abd07270a37cdba590a
treeec6723aca8157da849aa24aee5c8f3f9ef64b4e7
parent3e39ce563b9ba25883e5aa37d9799eda9e57c1e0
Import bmake-20230909

Update import.sh to generate below

ChangeLog since bmake-20230622

2023-09-09  Simon J Gerraty  <sjg@beast.crufty.net>

* VERSION (_MAKE_VERSION): 20230909
Merge with NetBSD make, pick up
o main.c: allow -j to compute a multiple of ncpu
If _SC_NPROCESSORS_ONLN is supported; and -j arg is a floating
point number or ends in 'C' compute .MAKE.JOBS as a multiple of
_SC_NPROCESSORS_ONLN
.MAKE.JOBS.C will be "yes" if -jC is supported

2023-08-20  Simon J Gerraty  <sjg@beast.crufty.net>

* VERSION (_MAKE_VERSION): 20230820
Merge with NetBSD make, pick up
o make.1: note that :localtime is better for %s
o parse.c: improve error messages for invalid input.
o var.c: fix for %s:L:gmtime - set TZ=UTC and use localtime to get
correct result, it is still better to use %s:L:localtime.

2023-08-18  Simon J Gerraty  <sjg@beast.crufty.net>

* VERSION (_MAKE_VERSION): 20230818
Merge with NetBSD make, pick up
o meta.c: meta_ignore - check raw path against metaIgnorePaths
to potentially skip call to realpath.
o var.c: be strict when parsing the argument of the ':mtime' modifier
o unit-tests/varmod-mtime.mk: document why '${%s:L:localtime}'
should be used to get an equivalent value to time(3).

2023-08-16  Simon J Gerraty  <sjg@beast.crufty.net>

* VERSION (_MAKE_VERSION): 20230816
Merge with NetBSD make, pick up
o cond.c: clean up multiple-inclusion guards

2023-07-25  Simon J Gerraty  <sjg@beast.crufty.net>

* unit-tests/Makefile: addd varmod-localtime to BROKEN_TESTS
if configure cannot work out how to control TZ.
Remove varmod-localtime from BROKEN_TESTS for IRIX*

2023-07-24  Simon J Gerraty  <sjg@beast.crufty.net>

* VERSION (_MAKE_VERSION): 20230723

* configure.in: fix the test for wether TZ=Europe/Berlin works.
Depending on the time of year, if run between 22:00 and 00:00 UTC
the check in configure would fail incorrectly.
Take the day into account as well.

2023-07-18  Simon J Gerraty  <sjg@beast.crufty.net>

* VERSION (_MAKE_VERSION): 20230711
Merge with NetBSD make, pick up
o make.1: clean up wording, clarify scope of '!' in conditions

2023-07-15  Simon J Gerraty  <sjg@beast.crufty.net>

* make-bootstrap.sh.in: set prefix
If configure is run using ksh we get unexpanded ${prefix} in
DEFAULT_SYS_PATH, by ensuring prefix is set we should still get
correct result.

2023-07-13  Simon J Gerraty  <sjg@beast.crufty.net>

* VERSION (_MAKE_VERSION): 20230711
bump version for IRIX tweaks

* make.h: undef OP_NONE if defined

* unit-tests/Makefile: set BROKEN_TESTS for IRIX

* configure.in: override INSTALL on IRIX

2023-06-27  Simon J Gerraty  <sjg@beast.crufty.net>

* boot-strap op_test: ensure we set TEST_MAKE as we want it.

mk/ChangeLog since bmake-20230622

2023-09-09  Simon J Gerraty  <sjg@beast.crufty.net>

* jobs.mk (JOB_MAX): use -jC if we can
we actually use JOB_MAX_C which defaults to 1.33C

2023-08-18  Simon J Gerraty  <sjg@beast.crufty.net>

* now_utc: %s only works with :localtime

2023-07-14  Simon J Gerraty  <sjg@beast.crufty.net>

* install-sh: ignore -c as claimed and only insist on
a directory for destination when more than one file to copy.

* sys.mk: when looking for SYS_OS_MK try ${.MAKE.OS} and
${.MAKE.OS:S,64,,} early (so we find sys/IRIX.mk for IRIX64)

2023-07-13  Simon J Gerraty  <sjg@beast.crufty.net>

* install-mk (MK_VERSION): 20230711

* sys.mk: set SYS_MK and INSTALL_SH for systems with incompatible
install(1)

* sys/IRIX.mk:  when setting ROOT_GROUP only match the first :0:
set INSTALL to install-sh rather than pathname that may not exist
(yet).

2023-07-07  Simon J Gerraty  <sjg@beast.crufty.net>

* dirdeps.mk: pass DIRDEP_TARGETS to DIRDEP_MAKE
normally this is empty - for the default target, but there are
use-cases where we might set it to something else.

2023-07-04  Simon J Gerraty  <sjg@beast.crufty.net>

* install-mk (MK_VERSION): 20230704

* dirdeps.mk: apply DEBUG_DIRDEPS_LIST_FILTER to lists we output
when DEBUG_DIRDEPS is in effect.
Eg. DEBUG_DIRDEPS_LIST_FILTER=ts\n
can greatly improve readability.
78 files changed:
ChangeLog
VERSION
bmake.1
bmake.cat1
boot-strap
cond.c
configure
configure.in
import.sh
install-sh
main.c
make-bootstrap.sh.in
make.1
make.h
meta.c
mk/ChangeLog
mk/FILES
mk/dirdeps.mk
mk/install-mk
mk/install-sh [new file with mode: 0755]
mk/jobs.mk
mk/lib.mk
mk/meta.autodep.mk
mk/mk-files.txt
mk/rst2htm.mk
mk/sys.mk
mk/sys/IRIX.mk
parse.c
unit-tests/Makefile
unit-tests/cond-cmp-numeric-eq.mk
unit-tests/cond-cmp-numeric-ge.mk
unit-tests/cond-cmp-numeric-gt.mk
unit-tests/cond-cmp-numeric-le.mk
unit-tests/cond-cmp-numeric-lt.mk
unit-tests/cond-cmp-numeric-ne.mk
unit-tests/cond-func-empty.exp
unit-tests/cond-func-empty.mk
unit-tests/cond-op-and.mk
unit-tests/cond-op-or.mk
unit-tests/dep-op-missing.exp
unit-tests/directive-dinclude.exp
unit-tests/directive-dinclude.mk
unit-tests/directive-export-gmake.exp
unit-tests/directive-export-gmake.mk
unit-tests/directive-export.exp
unit-tests/directive-export.mk
unit-tests/directive-for-escape.exp
unit-tests/directive-for-escape.mk
unit-tests/directive-hyphen-include.exp
unit-tests/directive-hyphen-include.mk
unit-tests/directive-include-guard.exp
unit-tests/directive-include-guard.mk
unit-tests/directive-include.exp
unit-tests/directive-include.mk
unit-tests/directive-sinclude.exp
unit-tests/directive-sinclude.mk
unit-tests/directive.exp
unit-tests/directive.mk
unit-tests/opt-debug-graph1.exp
unit-tests/opt-debug-graph2.exp
unit-tests/opt-debug-graph3.exp
unit-tests/opt-jobs.mk
unit-tests/parse.exp
unit-tests/parse.mk
unit-tests/suff-main-several.exp
unit-tests/suff-transform-debug.exp
unit-tests/var-op-assign.exp
unit-tests/var-op-assign.mk
unit-tests/varmod-gmtime.mk
unit-tests/varmod-ifelse.exp
unit-tests/varmod-ifelse.mk
unit-tests/varmod-mtime.exp
unit-tests/varmod-mtime.mk
unit-tests/varname-dot-make-jobs.exp
unit-tests/varname-dot-make-jobs.mk
unit-tests/varname.exp
unit-tests/varname.mk
var.c