First clone the repository:
git clone https://github.com/csieber/hvbenchSpin up the virtual machine (this might take a while):
cd hvbench/vagrant
vagrant upSSH into the virtual machine:
vagrant sshBuild hvbench from source:
cd /hvbench
mkdir -p bin
cd bin
cmake ../
makeHint: You add the -DCMAKE_BUILD_TYPE=Debug to cmake to create a debug build.
The finished build will be in hvbench/bin/bin on the host PC and in /hvbench/bin/bin on the virtual machine.
To build the docker image, execute docker build (-t(ag) is just an example):
cd /hvbench
sudo docker build -t csieber/hvbench:latest .If you get the error lstat bin/bin/libfluid_msg.so.0.0.0: no such file or directory while building the docker image, you have to copy the libfluid_(base/msg) libraries to the bin folder:
cp /usr/lib/libfluid_base.so.0.0.0 /vagrant/bin/bin/libfluid_base.so.0.0.0
cp /usr/lib/libfluid_msg.so.0.0.0 /vagrant/bin/bin/libfluid_msg.so.0.0.0To push it to a registry, log in and push the image.
sudo docker login https://index.docker.io/v1/
sudo docker push csieber/hvbench:latest- curl
- pthread
- event_pthreads
- boost chrono
- boost system
- boost thread
- boost_filesystem
- fluid_msg
- fluid_base
mkdir bin
cd bin/
cmake ../ # or cmake -DCMAKE_BUILD_TYPE=Debug ../
make