summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahoo-inc.com>2017-08-18 09:24:34 +0200
committerGeir Storli <geirst@yahoo-inc.com>2017-08-18 09:24:34 +0200
commit357ac05d6b566ce21123300127d2f38dab29a043 (patch)
tree4d4cab61ed3f084cb846afa27c62a4f381acc0e9 /README.md
parenta618787ba847eed7c30f6bd81256db8d39e5e2c4 (diff)
Add C++ dev environment on CentOS using VirtualBox and Vagrant.
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 8 insertions, 11 deletions
diff --git a/README.md b/README.md
index 5988bad6787..ff67eca709b 100644
--- a/README.md
+++ b/README.md
@@ -13,22 +13,19 @@ Code licensed under the Apache 2.0 license. See [LICENSE](LICENSE) for terms.
## Get started developing
-### Set up build environment
+### Setup build environment
C++ building is supported on CentOS 7.
+We recommend using the following environment: [Create C++ dev environment on CentOS using VirtualBox and Vagrant](vagrant/README.md).
+You can also setup CentOS 7 natively and install the following build dependencies:
-#### Install required build dependencies
- sudo yum -y install epel-release centos-release-scl yum-utils
sudo yum-config-manager --add-repo https://copr.fedorainfracloud.org/coprs/g/vespa/vespa/repo/epel-7/group_vespa-vespa-epel-7.repo
- sudo yum -y --enablerepo=epel-testing install devtoolset-6-gcc-c++ devtoolset-6-libatomic-devel devtoolset-6-binutils \
- Judy-devel cmake3 ccache lz4-devel zlib-devel maven libicu-devel llvm3.9-devel \
- llvm3.9-static java-1.8.0-openjdk-devel openssl-devel rpm-build make \
- vespa-boost-devel vespa-libtorrent-devel vespa-zookeeper-c-client-devel vespa-cppunit-devel
-or use the prebuilt docker image
-
- # TODO: Add docker command
+ sudo yum -y install epel-release centos-release-scl yum-utils
+ sudo yum -y install ccache \
+ rpm-build
+ yum-builddep -y <vespa-source>/dist/vespa.spec
### Build Java modules
-Java modules can be built on any environment having Java and Maven:
+Java modules can be built on any environment having Java 8 and Maven:
sh bootstrap.sh
mvn install