sourceryinstitute / build-yaFyaml-stack

Repository from Github https://github.comsourceryinstitute/build-yaFyaml-stackRepository from Github https://github.comsourceryinstitute/build-yaFyaml-stack

build-yaFyaml-stack

Overview

This CMake project aims to build and test the following dependency tree:

yaFyaml
|-- gFTL-shared
    |-- gFTL

where

  • yaFyaml is a modern Fortran YAML API,
  • gFTL-shared contains common gFTL containers of Fortran intrinsic types.
  • gFTL is the Goddard Fortran Template Library, and

This is a first experiment with CMake superbuilds. The idea is to use the Developer Build pattern so that the superbuild is useful to the upstream projects. As such, the packages are all git submodules so obtaining a useful copy of the current project requires a recursive clone using the git command below.

Downloading, Building, and Testing

git clone --recursive git@github.com:sourceryinstitute/build-yaFyaml-stack
mkdir -p build-yaFyaml-stack/build
cd build-yaFyaml-stack/build
export FC=gfortran
cmake ..
make -j -8
ctest

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Fortran 51.6%Language:CMake 48.4%