Skip to content

Scripts and (modified) thirdparty code required to build the Open vStorage VolumeDriver.

Notifications You must be signed in to change notification settings

DarumasLegs/volumedriver-buildtools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

Open vStorage VolumeDriver Buildtools

Description

A collection of scripts and modifications to upstream sources to set the stage for building VolumeDriver.

Currently two build flavours are supported: "release" and "rtchecked". The former should be self explanatory, the latter is intended for development and stands for "runtime checked" as the code is compiled without optimizations and makes use of libstdc++'s debug mode (-D_GLIBCXX_DEBUG and -D_GLIBCXX_DEBUG_PEDANTIC).

Prerequisites

The following tools and libraries (their development packages!) need to be available on the system:

  • autotools (autoconf, automake, libtool)
  • boost 1.57
  • cmake
  • doxygen
  • g++ >= 4.9
  • git
  • lcov
  • libc
  • libc-ares
  • libcurl
  • librabbitmq
  • openssl
  • pylint
  • make
  • unzip
  • wget

Usage

(1) Create a config file that points to the desired install location and a path where downloaded artefacts will be stored, e.g.:

$ cat ~/Projects/openvstorage/volumedriver-buildtools/rtchecked.config
# PLACE WHERE THE BUILD WILL BE INSTALLED
PREFIX=~/Projects/openvstorage/volumedriver-buildtools/rtchecked
# PLACE WHERE THE SOURCES CAN BE FOUND
SOURCES_DIR=~/Projects/openvstorage/volumedriver-buildtools/sources
# number of parallel processes to use during the build phase -- default 2
BUILD_NUM_PROCESSES=3

(2) Set the VOLUMEDRIVER_BUILD_CONFIGURATION env var to point to this config file and run build.sh of the desired flavour, e.g.:

$ export VOLUMEDRIVER_BUILD_CONFIGURATION=~/Projects/openvstorage/volumedriver-buildtools/rtchecked.config
$ cd src/rtchecked
$ ./build.sh

About

Scripts and (modified) thirdparty code required to build the Open vStorage VolumeDriver.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 81.8%
  • Shell 17.9%
  • Other 0.3%