fpm_meta Module

The fpm meta-package model

This is a wrapper data type that encapsulate all pre-processing information (compiler flags, linker libraries, etc.) required to correctly enable a package to use a core library.

Available core libraries

  • OpenMP
  • MPI
  • HDF5
  • fortran-lang stdlib
  • fortran-lang minpack

@note Note Core libraries are enabled in the [build] section of the fpm.toml manifest



Interfaces

public interface resolve_metapackages

  • private subroutine resolve_metapackage_model(model, package, settings, error)

    Resolve all metapackages into the package config

    Arguments

    Type IntentOptional Attributes Name
    type(fpm_model_t), intent(inout) :: model
    type(package_config_t), intent(inout) :: package
    class(fpm_build_settings), intent(inout) :: settings
    type(error_t), intent(out), allocatable :: error