This project is mirrored from https://git.savannah.gnu.org/git/make.git.
Pull mirroring failed .
Last successful update .
Last successful update .
- 03 Jan, 2020 7 commits
-
-
Paul Smith authored
* NEWS: Update the release and date * configure.ac: Update the release number
-
Paul Smith authored
-
Paul Smith authored
Initial implementation by Christof Warlich <cwarlich@gmx.de> * NEWS: Announce the new feature. * doc/make.texi (Other Special Variables): Document .EXTRA_PREREQS. * src/dep.h (struct dep): New flag to note extra prereq deps. * src/filedef.h (expand_extra_prereqs): Declare a function to expand the value of .EXTRA_PREREQS. * src/file.c (expand_extra_prereqs): Given a struct variable lookup of .EXTRA_PREREQS, convert it into a list of deps and for each one make sure it has a struct file and has the new flag set. (snap_file): A new function invoked by hash_map that will perform per-file operations: set up second expansion, intermediate, and also .EXTRA_PREREQS. Manage circular dependencies by ignoring them. (snap_deps): Defer per-file operations until the end. Look up the global .EXTRA_PREREQS and pass it along to snap_file for each file. * src/implicit.c (struct patdeps): Remember the extra prereqs flag. (pattern_search): Transfer extra prereqs flag settings into the matched pattern rule. * src/rule.h (snap_implicit_rules): Rename count_implicit_rules to snap_implicit_rules since we now do more than count. * src/rule.c (snap_implicit_rules): As we walk through all the pattern rules, add in any global .EXTRA_PREREQS to the dep list. Ensure we take them into account for the max number of prereqs and name length. * src/main.c (main): Add extra-prereqs to .FEATURES. Call the renamed snap_implicit_rules. * tests/scripts/variables/EXTRA_PREREQS: Add tests.
-
Paul Smith authored
-
Paul Smith authored
-
Paul Smith authored
-
Paul Smith authored
-
- 27 Dec, 2019 2 commits
-
-
Paul Smith authored
-
Paul Smith authored
Avoid using posix_spawn implementations that fail asynchronously when the spawned program can't be invoked: this means instead of getting an error such as "No such file or directory" we get just "Exit 127". Original implementation of the configure.ac macro provided by Martin Dorey <martin.dorey@hds.com> Original implementation of the regression tests provided by Dmitry Goncharov <dgoncharov@users.sf.net> * configure.ac: Test whether posix_spawn fails asynchronously. In a cross-compilation environment, assume that it does not. If we detect that it does, fall back to fork/exec. * tests/scripts/features/exec: Add regression tests for different shebang invocation methods.
-
- 26 Dec, 2019 1 commit
-
-
Paul Smith authored
* src/dep.h: Add a new flag PARSEFS_ONEWORD * src/read.c (parse_file_seq): If PARSEFS_ONEWORD is given, treat the entire incoming string as a single pattern. * src/implicit.c (pattern_search): Pass PARSEFS_ONEWORD when parsing patterns for wildcards. * tests/scripts/features/patternrules: Add a new test.
-
- 18 Dec, 2019 4 commits
-
-
Ben Wijen authored
-
Ben Wijen authored
-
Paul Smith authored
-
Jouke Witteveen authored
If the stem matches a path containing a directory not just a filename, make sure the second expansion of $* in the prerequisites matches $* in the recipe. This requires using $(*F) when replacing % in the first expansion to preserve the simple filename. * src/implicit.c (pattern_search): If lastslash is set prepend the directory onto the stem. Then use $(*F) when expanding %. * tests/scripts/features/se_implicit: Add a test case
-
- 17 Dec, 2019 5 commits
-
-
Jouke Witteveen authored
If filename contained multiple slashes lastslash is wrongly set to 0. * configure.ac: Check for the GNU memrchr() extension function. * src/misc.c (memrchr): Supply memrchr() if not available.
-
Jouke Witteveen authored
-
Paul Smith authored
* README.git: Mention changed requirements.
-
Paul Smith authored
This new feature has a problem: if you provide a load which is larger than the number of cores then it will always run every job. Before we can enable it we need to at the least learn how to clamp this value to the number of cores. To experiment with it, set PROC_FD_INIT to -2 in job.c to re-enable the feature.
-
Paul Smith authored
-
- 16 Dec, 2019 2 commits
-
-
Paul Smith authored
On Windows the path to the helper tool will contain '\': this will fail if recipes are run with a POSIX shell. Convert '\' to '/' on Windows. While here, escape any spaces in the path as well.
-
Paul Smith authored
* tests/thelp.pl: Rename from tests/jhelp.pl. (op): Use names instead of options for the operations. (op): Add new operations for sleep, mkdir, and rm. (op): Enhance wait to time out * tests/run_make_tests.pl: Add a new #HELPER# replacement (subst_make_string): Use fully-qualified path to thelp.pl * tests/scripts/features/parallelism: Update to use thelp.pl and the new named operations. Use thelp.pl sleep instead of system-specific sleep commands. * tests/scripts/features/output-sync: Update to use thelp.pl instead of complex shell scripts. * Makefile.am: Distribute tests/thelp.pl instead of tests/jhelp.pl
-
- 10 Oct, 2019 1 commit
-
-
Paul Eggert authored
* tests/scripts/functions/shell: Port exit-status calculation to Solaris 10 with Perl 5.8.4.
-
- 08 Oct, 2019 1 commit
-
-
Paul Smith authored
* NEWS: Update the release and date * configure.ac: Update the release number
-
- 06 Oct, 2019 1 commit
-
-
Paul Smith authored
-
- 05 Oct, 2019 5 commits
-
-
Paul Smith authored
* maintMakefile: Set PERLFLAGS to enable warnings. * tests/run_make_tests.pl: Clean up issues pointed out by perl -w.
-
Paul Smith authored
-
Paul Smith authored
* tests/config-flags.pm.W32: Create a predefined Windows file. * Makefile.am (test_FILES): Add it to the distribution. * build_w32.bat: Install tests/config-flags.pm if not existing. * tests/run_make_tests.pl (get_config): Create new function. * tests/scripts/features/archives: Call get_config() rather than using %CONFIG_FLAGS directly. * tests/scripts/features/load: Ditto. * tests/scripts/features/loadapi: Ditto. * tests/scripts/functions/wildcard: Ditto.
-
Paul Smith authored
Original patch from Dmitry Goncharov <dgoncharov@users.sf.net>.
-
Paul Smith authored
-
- 23 Sep, 2019 1 commit
-
-
Paul Smith authored
-
- 22 Sep, 2019 4 commits
-
-
Paul Smith authored
Our hashing algorithm gives different ordering on LE vs BE systems. Patch from Dmitry Goncharov <dgoncharov@users.sf.net>.
-
Florian Weimer authored
Copyright-paperwork-exempt: yes
-
Paul Smith authored
-
Paul Smith authored
This reverts commit 6264deec. Further investigation discovers that the real issue is that GNU Emacs compile mode doesn't have a matching regex for GNU make error messages generated when targets fail. I submitted a patch to GNU Emacs adding a matcher for compile mode.
-
- 21 Sep, 2019 6 commits
-
-
Paul Smith authored
Users report the Functions version doesn't work correctly for some older versions of Perl.
-
Paul Smith authored
-
Paul Smith authored
-
Paul Smith authored
Ensure we properly reduce job_slots_used if a command fails because it doesn't exist/can't be started. * src/job.h (struct child): Add a field jobslot to be set when using a job slot. * src/job.c (start_waiting_job): Remember if we are using a job slot. (reap_children): Reduce number of job slots used by jobslot.
-
Paul Smith authored
-
Paul Smith authored
-