...
- Building from source
Clone the HDC project's repository:
Code Block language bash $: git clone ssh://git@git.iter.org/imas/hdc.git
Build MDBM backend (optional)
Expand Clone the MDBM project's repository:
Code Block language bash $: git clone https://github.com/yahoo/mdbm
Navigate to local
MDBM directory:
Code Block language bash $: cd
mdbm
Set install prefix:
In place of $PATH variable it is needed to pass relative path to MDBM directory, e.g.: ~/projects/mdbm
Code Block language bash $: MDBM_PREFIX=$(realpath $PATH)/install $: sed -i.bak "s|/tmp/install|$MDBM_PREFIX|g" Makefile.base
Optionally disable tests (they need libcppunit, preferably):
Code Block language bash $: sed -i.bak '/SUBDIRS/s/test //' src/Makefile
And finally build & install:
Code Block language bash $: make install
Leave MDBM repository, but keep $MDBM_PREFIX variable, it will be needed later
Code Block language bash $: cd ..
Navigate to local HDC directory:
Code Block language bash $: cd hdc
Create new directory for build files:
Code Block language bash $: mkdir build
Navigate to build directory:
Code Block language bash $: cd build
Create new directory for build files:
Code Block language bash $: git clone ssh://git@git.iter.org/imas/hdc.git