mirror of https://gitee.com/bigwinds/arangodb
30 lines
1.4 KiB
Plaintext
30 lines
1.4 KiB
Plaintext
Compiling ArangoDB from scratch
|
|
===============================
|
|
|
|
The following sections describe how to compile and build the ArangoDB from
|
|
scratch. ArangoDB will compile on most Linux and Mac OS X systems. We assume
|
|
that you use the GNU C/C++ compiler or clang/clang++ to compile the
|
|
source. ArangoDB has been tested with these compilers, but should be able to
|
|
compile with any Posix-compliant, C++11-enabled compiler. Please let us know
|
|
whether you successfully compiled it with another C/C++ compiler.
|
|
|
|
By default, cloning the github repository will checkout **devel**. This version
|
|
contains the development version of the ArangoDB. Use this branch if you want
|
|
to make changes to the ArangoDB source.
|
|
|
|
On windows you first [need to allow and enable symlinks for your user](https://github.com/git-for-windows/git/wiki/Symbolic-Links#allowing-non-administrators-to-create-symbolic-links).
|
|
We now use [git submodules](https://git-scm.com/docs/git-submodule) for V8 and Rocksdb.
|
|
Since the V8 git repository also requires external addons to be present, we end
|
|
up with recursive submodules. Thus a clone command now has to look like:
|
|
|
|
git clone https://github.com/arangodb/arangodb.git
|
|
cd arangodb
|
|
git submodule update --recursive
|
|
git submodule update --init --recursive
|
|
|
|
|
|
|
|
|
|
Please checkout the [cookbook](https://docs.arangodb.com/cookbook) on how to
|
|
compile ArangoDB.
|