This project provides an easy way to build and install many third party libraries.
HDF5 requires CMake >= 3.1.0
% module load cmake
% module load git/2.11.0
% module load gcc/7.3.0
% module load openmpi/1.10.5
% git clone --recursive [email protected]:laristra/flecsi-third-party.git
% cd flecsi-third-party
% mkdir build
% cd build
% ccmake ../
Press "c" to configure. Enable libraries desired. (Press enter to change/confirm a line, press c again, possibly a couple times, and finally g for generate.) IMPORTANT: set the installation path for the libraries in CMAKE_INSTALL_PREFIX.
% make
% make install
- Either add
.tarfile tofiles/or link in the source from the repo - Add
<your-library-name>.cmakeincmake/
- Reference
caliper.cmakeif.tarfile is added tofiles/ - Reference
cinch-utils.cmakeif the repo source is linked in
docker pull laristra/flesci-third-party:fedoradocker run -it laristra/flesci-third-party:fedora /bin/bash- Download packages that are not already installed, but needed
- Reference
flecsi-buildenv - Also see https://github.com/laristra/flecsi-buildenv/blob/master/fedora and https://github.com/laristra/flecsi-buildenv/blob/master/ubuntu for recent dnf and apt-get package lists.
.travis.yml: SpecifySYSTEM_LIBS=ONorSYSTEM_LIBS=OFFin thematrixofenvfor Travis to pass into the Docker through--build-argdocker/Dockerfile: UseARG SYSTEM_LIBSto assign the value passed in from Travis toSYSTEM_LIBSand include-DUSE_SYSTEM_LIBS=${SYSTEM_LIBS}in cmake command
For more information on Travis-CI and Docker setup, see here