<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test, branch vendor/NetBSD/bmake/20200606</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=vendor%2FNetBSD%2Fbmake%2F20200606</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=vendor%2FNetBSD%2Fbmake%2F20200606'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-06-09T02:07:26Z</updated>
<entry>
<title>Import bmake-20200606</title>
<updated>2020-06-09T02:07:26Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2020-06-09T02:07:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=abd272d7cab9b0b2de6ab28d5bc664a8df7c5c85'/>
<id>urn:sha1:abd272d7cab9b0b2de6ab28d5bc664a8df7c5c85</id>
<content type='text'>
Relevant items from ChangeLog:

	o dir.c: cached_stats - don't confuse stat and lstat results.
	o var.c: add :Or for reverse sort.
</content>
</entry>
<entry>
<title>Import bmake-20200517</title>
<updated>2020-05-20T19:34:48Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2020-05-20T19:34:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=b897d72a5adf5cfad8c79f90e155bae99bdde48c'/>
<id>urn:sha1:b897d72a5adf5cfad8c79f90e155bae99bdde48c</id>
<content type='text'>
Changes since 20181221 are mostly portability related
hence the large gap in versions imported.

There are however some bug fixes, and a rework of filemon handling.
In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace
and elimination of filemon(4) which has not had the TLC it needs.

FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c
allows use of that, with a bit less overhead than the ktrace model.

Summary of changes from ChangeLog

	o str.c: empty string does not match % pattern
	  plus unit-test changes
	o var.c: import handling of old sysV style modifier using '%'
	o str.c: refactor brk_string
	o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
	  a blank command is perfectly valid.
	o meta.c: meta_oodate, check for corrupted meta file
	  earlier and more often.
	* meta.c: meta_compat_parent check for USE_FILEMON
	  patch from Soeren Tempel
	o meta.c: fix compat mode, need to call meta_job_output()
	o job.c: extra fds for meta mode not needed if using filemon_dev
	o meta.c: avoid passing NULL to filemon_*() when meta_needed()
	  returns FALSE.
	o filemon/filemon_{dev,ktrace}.c: allow selection of
	  filemon implementation.  filemon_dev.c uses the kernel module
	  while filemon_ktrace.c leverages the fktrace api available in
	  NetBSD.  filemon_ktrace.c can hopefully form the basis for
	  adding support for other tracing mechanisms such as strace on
	  Linux.
	o meta.c: when target is out-of-date per normal make rules
	  record value of .OODATE in meta file.
	o parse.c: don't pass NULL to realpath(3)
	  some versions cannot handle it.
	o parse.c: ParseDoDependency: free paths rather than assert

plus more unit-tests
</content>
</entry>
<entry>
<title>bmake: import -fno-common fix build back from upstream</title>
<updated>2020-03-30T16:20:04Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-03-30T16:20:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=14ade6f03183ea07683d6775a858bfd51fac9990'/>
<id>urn:sha1:14ade6f03183ea07683d6775a858bfd51fac9990</id>
<content type='text'>
sjg@ committed the local patch previously committed upstream; pull it in to
vendor/ to ease any potential stress of future imports.
</content>
</entry>
<entry>
<title>Import bmake-20181221</title>
<updated>2018-12-22T21:32:17Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2018-12-22T21:32:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=4e6c593faabfd45028e88e42b3456080669bdabf'/>
<id>urn:sha1:4e6c593faabfd45028e88e42b3456080669bdabf</id>
<content type='text'>
o parse.c: ParseVErrorInternal use .PARSEDIR
  and apply if relative, and then use .PARSEFILE
  for consistent result.
o var.c: avoid SEGFAULT in .unexport-env
  when MAKELEVEL is not set
</content>
</entry>
<entry>
<title>Import bmake-20180919</title>
<updated>2018-12-06T00:13:35Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2018-12-06T00:13:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=14ed4acf373acf4a08f80acf1689d5f967460af0'/>
<id>urn:sha1:14ed4acf373acf4a08f80acf1689d5f967460af0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Import bmake-20180512</title>
<updated>2018-05-18T19:49:54Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2018-05-18T19:49:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=a5422567f996e7316e1e9471b8b993f146212fcd'/>
<id>urn:sha1:a5422567f996e7316e1e9471b8b993f146212fcd</id>
<content type='text'>
Of relevance:

  o job.c: skip polling job token pipe
  o parse.c: be more cautious about detecting depenency line
    rather than sysV style include.

also in mk:

* dirdeps.mk: include local.dirdeps-build.mk when .MAKE.LEVEL &gt; 0
  ie. we are building something.
* FILES: add dirdeps-options.mk to deal with optional DIRDEPS.
* ldorder.mk: describe how to use LDORDER_EXTERN_BARRIER
  if needed.
</content>
</entry>
<entry>
<title>Import bmake-20180222</title>
<updated>2018-03-01T23:45:44Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2018-03-01T23:45:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=2358deb6549648fd9a27a65544f9944b312426c2'/>
<id>urn:sha1:2358deb6549648fd9a27a65544f9944b312426c2</id>
<content type='text'>
From ChangeLog

* VERSION: 20180222
  Merge with NetBSD make, pick up
  o parse.c: avoid calling sysconf for every call to loadfile

* VERSION: 20180218
  Merge with NetBSD make, pick up
  o var.c: Var_Set handle NULL value anytime.

* VERSION: 20180212
  Merge with NetBSD make, pick up
  o parse.c: do not treat .info as warning with -W

* VERSION: 20171207
  Merge with NetBSD make, pick up
  o var.c: Var_Append use Var_Set if var not previously set
    so that VAR_CMD is handled correctly.
    Add a suitable unit-test.

* VERSION: 20171126

* aclocal.m4: use AC_LINK_IFELSE for AC_C___ATTRIBUTE__
  since AC_TRY_COMPILE puts input inside main()
  which upsets modern compilers.

* VERSION: 20171118
  Merge with NetBSD make, pick up
  o var.c: do not append to variable set on command line
    add unit-test to catch this.
</content>
</entry>
<entry>
<title>Import bmake-20171028</title>
<updated>2017-11-01T23:16:32Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2017-11-01T23:16:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ade1697bee1de85ba84665fc7f1c633c0bfc1faa'/>
<id>urn:sha1:ade1697bee1de85ba84665fc7f1c633c0bfc1faa</id>
<content type='text'>
From ChangeLog

2017-10-28  Simon J. Gerraty  &lt;sjg@bad.crufty.net&gt;

        * VERSION: 20171028
          Merge with NetBSD make, pick up
          o main.c: ignore empty MAKEOBJDIR

        * Makefile.config.in:
          make @prefix@ @machine*@ and @default_sys_path@ defaults.

2017-10-05  Simon J. Gerraty  &lt;sjg@bad.crufty.net&gt;

        * VERSION: 20171005

        * unit-tests/dotwait.mk: redirect stderr through pipe for more
          consistent result on some platforms.

2017-08-13  Simon J. Gerraty  &lt;sjg@bad.crufty.net&gt;

        * machine.sh: entry for AIX

2017-08-12  Simon J. Gerraty  &lt;sjg@bad.crufty.net&gt;

        * VERSION (_MAKE_VERSION): Move the setting of _MAKE_VERSION
          to a file that can be included by configure as well as make.
          This allows configure to set set _MAKE_VERSION in make-bootstrap.sh

2017-08-10  Simon J. Gerraty  &lt;sjg@bad.crufty.net&gt;

        * Makefile (_MAKE_VERSION): 20170810
          Merge with NetBSD make, pick up
          o meta.c: if target is in subdir we only need subdir name in
            meta_name.
</content>
</entry>
<entry>
<title>Import bmake-20170720</title>
<updated>2017-07-24T00:52:52Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2017-07-24T00:52:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=56028c60f45b9c206f7a9b968fa2bd0af5619581'/>
<id>urn:sha1:56028c60f45b9c206f7a9b968fa2bd0af5619581</id>
<content type='text'>
compat.c: pass SIGINT etc onto child and wait for it to exit
before we self-terminate.
</content>
</entry>
<entry>
<title>Import bmake-20170711</title>
<updated>2017-07-15T18:43:39Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2017-07-15T18:43:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=7ef48313e3a45ae781c4749db7eb4938f54da8cd'/>
<id>urn:sha1:7ef48313e3a45ae781c4749db7eb4938f54da8cd</id>
<content type='text'>
Several misc cleanups, refactor main() to reduce size.
Adds -v option to always fully expand variables (only interesting to NetBSD)
And in particular (from ChangeLog):

  o meta.c: ensure command output in meta file has ending newline
    even when filemon not being used.
    When matching ${.MAKE.META.IGNORE_PATTERNS} do not use
    pathname via ':L' since any ':' in pathname breaks that.
    Instead set a '${.p.}' to pathname in the target context and
    use that.
</content>
</entry>
</feed>
