Merge "Adds ccache to jenkins slaves."

This commit is contained in:
Jenkins 2012-05-01 13:19:47 +00:00 committed by Gerrit Code Review
commit 42fe2d14c6

View File

@ -24,6 +24,7 @@ class jenkins_slave($ssh_key) {
"autoconf",
"automake",
"build-essential",
"ccache",
"cdbs",
"curl",
"debootstrap",
@ -121,4 +122,32 @@ class jenkins_slave($ssh_key) {
force => true,
}
file { 'ccachegcc':
name => '/usr/local/bin/gcc',
ensure => link,
target => '/usr/bin/ccache',
require => Package['ccache'],
}
file { 'ccacheg++':
name => '/usr/local/bin/g++',
ensure => link,
target => '/usr/bin/ccache',
require => Package['ccache'],
}
file { 'ccachecc':
name => '/usr/local/bin/cc',
ensure => link,
target => '/usr/bin/ccache',
require => Package['ccache'],
}
file { 'ccachec++':
name => '/usr/local/bin/c++',
ensure => link,
target => '/usr/bin/ccache',
require => Package['ccache'],
}
}