diff options
| author | Enrico Tassi | 2017-05-23 12:08:14 +0200 |
|---|---|---|
| committer | Enrico Tassi | 2017-05-23 12:08:14 +0200 |
| commit | 0ca2fe2e616f303665003bc6cf2d89df385f9394 (patch) | |
| tree | cb8cf9ef7bf153af3633c68742df53d22491f1ed /doc/refman | |
| parent | 19902a9540b028d24be9c078df0471bd589e7c82 (diff) | |
add the only target
This makes the following work correctly:
make only TGTS="foo bar" -j2
note that
make foo bar -j2
is not doing what you think
Diffstat (limited to 'doc/refman')
| -rw-r--r-- | doc/refman/RefMan-uti.tex | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/refman/RefMan-uti.tex b/doc/refman/RefMan-uti.tex index 104d7cd9e5..08cdbee503 100644 --- a/doc/refman/RefMan-uti.tex +++ b/doc/refman/RefMan-uti.tex @@ -132,6 +132,14 @@ as in {\tt make -f Makefile target} from another Makefile. {\tt CoqMakefile.local} \end{itemize} +\paragraph{Note: building a subset of the targets with -j} + +To build, say, two targets \texttt{foo.vo} and \texttt{bar.vo} +in parallel one can use \texttt{make only TGTS="foo.vo bar.vo" -j}. + +Note that \texttt{make foo.vo bar.vo -j} has a different meaning for +the make utility, in particular it may build a shared prerequisite twice. + \section[Modules dependencies]{Modules dependencies\label{Dependencies}\index{Dependencies} \ttindex{coqdep}} |
