Up to [cvs.netbsd.org] / src / usr.bin / make
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.24 / (download) - annotate - [select for diffs], Wed Sep 21 14:30:47 2011 UTC (8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
netbsd-6-base,
netbsd-6,
HEAD
Changes since 1.23: +2 -2
lines
Diff to previous 1.23 (colored)
PR/45383: Henning Petersen: Swapped lseek args
Revision 1.23 / (download) - annotate - [select for diffs], Fri Sep 2 16:26:21 2011 UTC (8 months, 3 weeks ago) by sjg
Branch: MAIN
Changes since 1.22: +11 -1
lines
Diff to previous 1.22 (colored)
meta_oodate should ignore makeDependfile
Revision 1.22 / (download) - annotate - [select for diffs], Sun Aug 28 03:54:07 2011 UTC (8 months, 4 weeks ago) by sjg
Branch: MAIN
Changes since 1.21: +10 -2
lines
Diff to previous 1.21 (colored)
In meta mode, we create .meta files for most targets. These capture all the interesting data - useful for debugging. In such cases there is no need to replicate commands in the build log. Rather than run the entire build .SILENT, allow meta mode to set that flag per target iff a .meta file is created. Normal behavior is retained for targets where no .meta file is created, ensuring that no build data is lost.
Revision 1.21 / (download) - annotate - [select for diffs], Thu Aug 18 00:00:21 2011 UTC (9 months, 1 week ago) by sjg
Branch: MAIN
Changes since 1.20: +7 -1
lines
Diff to previous 1.20 (colored)
If a target is explicitly flagged .META, a missing .meta file means it is out-of-date.
Revision 1.17.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:44 2011 UTC (11 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.17: +2 -2
lines
Diff to previous 1.17 (colored) next main 1.18 (colored)
Catchup with rmind-uvmplock merge.
Revision 1.20 / (download) - annotate - [select for diffs], Wed Jun 22 21:13:12 2011 UTC (11 months ago) by sjg
Branch: MAIN
Changes since 1.19: +20 -3
lines
Diff to previous 1.19 (colored)
After each strsep(&p) check that p is valid. If not the .meta file is corrupted (build interrupted?) issue a warning and declare target oodate.
Revision 1.19 / (download) - annotate - [select for diffs], Sat Jun 11 02:10:48 2011 UTC (11 months, 2 weeks ago) by sjg
Branch: MAIN
Changes since 1.18: +3 -3
lines
Diff to previous 1.18 (colored)
Use %zu rather than cast
Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 10 23:57:39 2011 UTC (11 months, 2 weeks ago) by sjg
Branch: MAIN
Changes since 1.17: +2 -2
lines
Diff to previous 1.17 (colored)
size_t on amd64 doesn't like %u, use a cast.
Revision 1.17 / (download) - annotate - [select for diffs], Wed May 4 20:38:32 2011 UTC (12 months, 3 weeks ago) by sjg
Branch: MAIN
CVS Tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.16: +108 -2
lines
Diff to previous 1.16 (colored)
Add .MAKE.META.BAILIWICK - to identify the scope of make's control. meta_oodate: if a file that was written or linked within our bailiwick, but outside of .OBJDIR is missing, add it to missingFiles. If we get to the end of the .meta file without seeing it [re]moved, then consider the target out-of-date.
Revision 1.16 / (download) - annotate - [select for diffs], Thu Mar 31 06:50:43 2011 UTC (13 months, 3 weeks ago) by sjg
Branch: MAIN
Changes since 1.15: +2 -1
lines
Diff to previous 1.15 (colored)
Call meta_job_finish() from meta_job_error(), so that if the .ERROR target copies the .meta file, it has been completed. meta_job_finish() is safe to call again.
Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 30 22:03:49 2011 UTC (13 months, 3 weeks ago) by sjg
Branch: MAIN
Changes since 1.14: +2 -0
lines
Diff to previous 1.14 (colored)
Add NetBSD tags
Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 29 17:29:20 2011 UTC (13 months, 4 weeks ago) by sjg
Branch: MAIN
Changes since 1.13: +9 -10
lines
Diff to previous 1.13 (colored)
Check for extra commands as soon as we reach CWD, so we return faster (if oodate) and give a more accurate debug message.
Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 27 19:47:46 2011 UTC (13 months, 4 weeks ago) by sjg
Branch: MAIN
Changes since 1.12: +2 -2
lines
Diff to previous 1.12 (colored)
Use curdirOk as the token
Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 27 19:39:21 2011 UTC (13 months, 4 weeks ago) by sjg
Branch: MAIN
Changes since 1.11: +19 -1
lines
Diff to previous 1.11 (colored)
When .MAKE.MODE inlcudes 'meta'; 'curdir=true' enables creating .meta files in .CURDIR - such as when running make in .OBJDIR with a generated makefile.
Revision 1.11 / (download) - annotate - [select for diffs], Sun Mar 6 17:41:11 2011 UTC (14 months, 2 weeks ago) by sjg
Branch: MAIN
Changes since 1.10: +9 -8
lines
Diff to previous 1.10 (colored)
Only need to getcwd() once
Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 6 04:34:25 2011 UTC (14 months, 3 weeks ago) by sjg
Branch: MAIN
Changes since 1.9: +1 -1
lines
Diff to previous 1.9 (colored)
CWD should be compared against cwd
Revision 1.6.2.3 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:59 2011 UTC (14 months, 3 weeks ago) by bouyer
Branch: bouyer-quota2
Changes since 1.6.2.2: +2 -8
lines
Diff to previous 1.6.2.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)
Sync with HEAD
Revision 1.9 / (download) - annotate - [select for diffs], Fri Mar 4 04:55:51 2011 UTC (14 months, 3 weeks ago) by sjg
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.8: +2 -8
lines
Diff to previous 1.8 (colored)
main.c now exports curdir[] so we can use it.
Revision 1.6.2.2 / (download) - annotate - [select for diffs], Thu Feb 17 12:00:56 2011 UTC (15 months, 1 week ago) by bouyer
Branch: bouyer-quota2
Changes since 1.6.2.1: +71 -2
lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored)
Sync with HEAD
Revision 1.8 / (download) - annotate - [select for diffs], Sun Feb 13 21:22:41 2011 UTC (15 months, 1 week ago) by sjg
Branch: MAIN
CVS Tags: bouyer-quota2-base
Changes since 1.7: +71 -2
lines
Diff to previous 1.7 (colored)
When making a target that involves creating itermediate dirs, realpath() will fail until after those dirs exist. Try to ensure the same meta file name is used regardless.
Revision 1.6.2.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:20:11 2011 UTC (15 months, 2 weeks ago) by bouyer
Branch: bouyer-quota2
Changes since 1.6: +18 -2
lines
Diff to previous 1.6 (colored)
Sync with HEAD
Revision 1.7 / (download) - annotate - [select for diffs], Tue Feb 8 05:29:13 2011 UTC (15 months, 2 weeks ago) by sjg
Branch: MAIN
Changes since 1.6: +18 -2
lines
Diff to previous 1.6 (colored)
tmplen should be static
Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 15 23:03:35 2010 UTC (17 months, 1 week ago) by sjg
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Changes since 1.5: +2 -1
lines
Diff to previous 1.5 (colored)
Invalidate meta_fname when we finish a job, so that in compat mode, we do not report a previous .meta file as being involved in an error.
Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 9 22:30:17 2010 UTC (17 months, 2 weeks ago) by sjg
Branch: MAIN
Changes since 1.4: +153 -31
lines
Diff to previous 1.4 (colored)
meta_oodate(): we should track 'latestdir' on a per process basis. Also, only consider target out of date if a not-found file is outside 'CWD'. Ignore anything in "/tmp/" or tmpdir.
Revision 1.4 / (download) - annotate - [select for diffs], Sat Nov 27 05:02:35 2010 UTC (17 months, 4 weeks ago) by sjg
Branch: MAIN
Changes since 1.3: +21 -7
lines
Diff to previous 1.3 (colored)
When a source file moves, make will ignore the stale dependency, but if the file in question is one that needs to be compiled (.c or .cc), it still hands the bogus name to the compiler. If Dir_MTime() cannot find such a file (gn->iParents is not empty), see if the basename can be found via .PATH, and if so set gn->path to the found file. This prevents the stale path being given to the compiler. In meta_oodate(), if a referenced file no longer exists, consider the target out-of-date. Also, if meta_oodate() decides a target is out-of-date, and it it uses .OODATE in its commands, we need .OODATE recomputed. Undo our call to Make_DoAllVar() so that the call from Make_OODate() will do the right thing.
Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 13 21:31:59 2010 UTC (20 months, 1 week ago) by sjg
Branch: MAIN
Changes since 1.2: +3 -0
lines
Diff to previous 1.2 (colored)
tools/make/buildmake.sh compiles *.c, make sure meta.c does nothing unless USE_META is defined.
Revision 1.2 / (download) - annotate - [select for diffs], Mon Sep 13 20:34:21 2010 UTC (20 months, 1 week ago) by sjg
Branch: MAIN
Changes since 1.1: +6 -2
lines
Diff to previous 1.1 (colored)
We do not need filemon(9) to have a .meta file
Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 13 15:36:57 2010 UTC (20 months, 1 week ago) by sjg
Branch: MAIN
Add meta.c which implements "meta" mode for make. In this mode, a .meta file is created for each target, capturing the expanded commands used, any command output, and if filemon(9) is available, a record of system calls which are of interest. Not enabled unless USE_META=yes is set when building make. Also, if FILEMON_H exists, meta.c will be compiled to use filemon(9).