diff options
| author | fergus.henderson <fergushenderson@users.noreply.github.com> | 2008-09-11 18:48:19 +0000 |
|---|---|---|
| committer | fergus.henderson <fergushenderson@users.noreply.github.com> | 2008-09-11 18:48:19 +0000 |
| commit | 5f70addb6e2967c74bda8575bb969948175ab030 (patch) | |
| tree | 7494c01b6fa249ea58a6a2a01e0568a02192771e /include_server | |
| parent | 67db38dab46320b2c8d8a569beb24df22e75f559 (diff) | |
| download | distcc-git-5f70addb6e2967c74bda8575bb969948175ab030.tar.gz | |
Provides a simple shell API to the include server:
add a new "--scan-includes" option to distcc which shows
which headers distcc would send to the remote machine in
pump mode, without actually compiling anything.
Diffstat (limited to 'include_server')
| -rwxr-xr-x | include_server/include_analyzer.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include_server/include_analyzer.py b/include_server/include_analyzer.py index c284c3f..576fa17 100755 --- a/include_server/include_analyzer.py +++ b/include_server/include_analyzer.py @@ -313,8 +313,10 @@ class IncludeAnalyzer(object): """ must_exist_dirs = self.mirror_path.MustExistDirs() - random_name = 'forcing_technique_271828' - forcing_files = [d + '/' + random_name + # Note: distcc's --scan-includes option needs to + # know about this name; see ../src/compile.c. + special_name = 'forcing_technique_271828' + forcing_files = [d + '/' + special_name for d in must_exist_dirs] for forcing_file in forcing_files: # If for extremly obscure reasons the file already exists and is useful, |
