This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ba3ed0
)
Detect whether ccache is available to bisect.
author
Paul Johnson
<paul@pjcj.net>
Thu, 17 Nov 2011 20:20:15 +0000
(21:20 +0100)
committer
Father Chrysostomos
<sprout@cpan.org>
Thu, 17 Nov 2011 21:16:56 +0000
(13:16 -0800)
ccache will save time during a bisect but it may not always be availble.
Teach bisect-runner.pl to only use it if it is available.
Porting/bisect-runner.pl
patch
|
blob
|
blame
|
history
diff --git
a/Porting/bisect-runner.pl
b/Porting/bisect-runner.pl
index
5896d3a
..
fea722b
100755
(executable)
--- a/
Porting/bisect-runner.pl
+++ b/
Porting/bisect-runner.pl
@@
-53,7
+53,7
@@
my %defines =
(
usedevel => '',
optimize => '-g',
- cc => 'ccache cc',
+ cc =>
(`ccache --version`, $?) ? 'cc' :
'ccache cc',
ld => 'cc',
($linux64 ? (libpth => \@paths) : ()),
);