-
Created by Unknown User (msmukowski), last modified on 19 Jan 2022
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 6
Next »
- Building from source
Clone the HDC project's repository:
$: git clone ssh://git@git.iter.org/imas/hdc.git
Build MDBM backend (optional)
Clone the MDBM project's repository:
$: git clone https://github.com/yahoo/mdbm
Navigate to local MDBM directory:
Set install prefix:
In place of $PATH variable it is needed to pass relative path to MDBM directory, e.g.: ~/projects/mdbm
$: MDBM_PREFIX=$(realpath $PATH)/install
$: sed -i.bak "s|/tmp/install|$MDBM_PREFIX|g" Makefile.base
Optionally disable tests (they need libcppunit, preferably):
$: sed -i.bak '/SUBDIRS/s/test //' src/Makefile
And finally build & install:
Leave MDBM repository, but keep $MDBM_PREFIX variable, it will be needed later
Navigate to local HDC directory:
Create new directory for build files:
Navigate to build directory:
Create new directory for build files:
$: git clone ssh://git@git.iter.org/imas/hdc.git