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
.tar
file tofiles/
or link in the source from the repo - Add
<your-library-name>.cmake
incmake/
- Reference
caliper.cmake
if.tar
file is added tofiles/
- Reference
cinch-utils.cmake
if the repo source is linked in
docker pull laristra/flesci-third-party:fedora
docker 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=ON
orSYSTEM_LIBS=OFF
in thematrix
ofenv
for Travis to pass into the Docker through--build-arg
docker/Dockerfile
: UseARG SYSTEM_LIBS
to assign the value passed in from Travis toSYSTEM_LIBS
and include-DUSE_SYSTEM_LIBS=${SYSTEM_LIBS}
in cmake command
For more information on Travis-CI and Docker setup, see here