cd <vespa-source>/vagrant
This is required for mounting shared folders and get mouse pointer integration and seamless windows in the virtual CentOS desktop.
vagrant plugin install vagrant-vbguest
vagrant up
SSH agent forwarding is enabled to ensure easy interaction with GitHub inside the machine.
vagrant ssh
This is needed in order to compile and run tests fast on the local file system inside the virtual machine.
git clone [email protected]:vespa-engine/vespa.git
Please follow the build instructions described here. Skip these steps if doing development with CLion.
CLion is installed as part of the environment and is recommended for C++ development.
Go to directory and execute:
./bootstrap-cpp.sh . .
Open a terminal inside the virtual CentOS desktop and run:
clion
Go to File -> Open and choose <vespa-source>>/CMakeLists.txt.
Go to File -> Settings -> Build, Execution, Deployment -> CMake. Under Build Options specify "-j 4" and click Apply.
Choose target all_modules from the set of build targets and click build.