aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorAndreas Eriksen <andreer@pvv.ntnu.no>2017-06-08 15:03:03 +0200
committerGitHub <noreply@github.com>2017-06-08 15:03:03 +0200
commit76b37da8fca0d708215e48d5e11cd5fa2712c2dd (patch)
treeca46dcf6d0de75bf7e15fc694a9c079e6d0eb546 /README.md
parent88a9d41cad4b959e03a91afc984976909c29b3a7 (diff)
fix and explain sourcedir vs builddir
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 568f99e2a60..d8a705cb1a0 100644
--- a/README.md
+++ b/README.md
@@ -35,6 +35,8 @@ Java modules can be built on any environment having Java and Maven:
sh bootstrap.sh java
### Build C++ modules
+`<builddir>` should be replaced with the name of the directory in which you'd like to build Vespa. `<sourcedir>` should be replaced with the directory in which you've cloned/unpacked the source tree.
+
source /opt/rh/devtoolset-6/enable
sh bootstrap.sh full
mkdir <builddir>
@@ -45,7 +47,7 @@ Java modules can be built on any environment having Java and Maven:
-DEXTRA_INCLUDE_DIRECTORY="/opt/yahoo/vespa-boost/include;/opt/yahoo/vespa-libtorrent/include;/opt/yahoo/vespa-zookeeper-c-client/include;/opt/yahoo/vespa-cppunit/include;/usr/include/llvm3.9" \
-DCMAKE_INSTALL_RPATH="/opt/yahoo/vespa/lib64;/opt/yahoo/vespa-boost/lib;/opt/yahoo/vespa-libtorrent/lib;/opt/yahoo/vespa-zookeeper-c-client/lib;/opt/yahoo/vespa-cppunit/lib;/usr/lib/jvm/java-1.8.0/jre/lib/amd64/server;/usr/include/llvm3.9" \
-DCMAKE_BUILD_RPATH=/opt/yahoo/vespa/lib64 \
- <builddir>
+ <sourcedir>
make
make test