Skip to content
Permalink
Browse files

Added introduction on building from source (#761)

* Add build doc

* Address whitewum's comment

* Address yixinglu's comment

* Address whitewum's comment

* Modify SKIP_JAVA_CLIENT default is ON

* Add java jdk

* Modify spelling

* Modify resolve

* Add space size instructions
  • Loading branch information...
laura-ding authored and dutor committed Aug 21, 2019
1 parent e1f566e commit 3bc47ebd7e0d9df9afaf95b87d8b01430d7390e3
Showing with 367 additions and 47 deletions.
  1. +6 −1 CMakeLists.txt
  2. +361 −46 docs/how-to-build.md
@@ -32,7 +32,7 @@ project("Nebula Graph" C CXX)

set(CMAKE_SKIP_RPATH TRUE)

option(SKIP_JAVA_CLIENT "Whether to skip building the java client" OFF)
option(SKIP_JAVA_CLIENT "Whether to skip building the java client" ON)
option(ENABLE_JEMALLOC "Whether to link jemalloc to all executables" ON)
option(ENABLE_NATIVE "Whether to build native client" OFF)
option(ENABLE_CCACHE "Whether to use ccache to speed up compiling" ON)
@@ -99,6 +99,11 @@ if (NEBULA_BUILD_VERSION)
add_definitions(-DNEBULA_BUILD_VERSION=${NEBULA_BUILD_VERSION})
endif()

if (${CMAKE_INSTALL_PREFIX} STREQUAL "/usr/local")
set(CMAKE_INSTALL_PREFIX "/usr/local/nebula")
endif()
message(STATUS "CMAKE_INSTALL_PREFIX: " ${CMAKE_INSTALL_PREFIX})

find_package(Git)
if (GIT_FOUND AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git")
execute_process(

0 comments on commit 3bc47eb

Please sign in to comment.
You can’t perform that action at this time.