forked from osmocom/wireshark
vagrant: Enable ccache
Change-Id: Ifcf24a7ad2a1745f67838ee76a8a49e51049fc3a Reviewed-on: https://code.wireshark.org/review/29359 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
a1fe8fe066
commit
fd103ed417
|
@ -23,6 +23,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
s.path = 'tools/debian-setup.sh'
|
||||
s.args = ['--install-optional', '--assume-yes']
|
||||
end
|
||||
deb.vm.provision :shell, inline: "apt-get -y install ccache"
|
||||
deb.vm.provision :shell, path: 'vagrant_build.sh', privileged: false
|
||||
end
|
||||
|
||||
|
@ -33,6 +34,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
s.path = 'tools/rpm-setup.sh'
|
||||
s.args = ['--install-optional', '--assumeyes']
|
||||
end
|
||||
rpm.vm.provision :shell, inline: "yum -y install ccache"
|
||||
rpm.vm.provision :shell, path: 'vagrant_build.sh', privileged: false
|
||||
end
|
||||
end
|
||||
|
|
|
@ -14,6 +14,6 @@ grep -q WIRESHARK_RUN_FROM_BUILD_DIRECTORY ~/.profile || echo "export WIRESHARK_
|
|||
grep -q WIRESHARK_BIN_DIR ~/.profile || echo "export WIRESHARK_BIN_DIR=~/build/run" >> ~/.profile
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake /vagrant/
|
||||
cmake -DENABLE_CCACHE=ON /vagrant/
|
||||
make -j6
|
||||
make test
|
||||
|
|
Loading…
Reference in New Issue