logo

Fortran Package Manager

  • Installation
  • Tutorial
    • First steps with fpm
    • Adding dependencies
    • Extending fpm with plugins
  • How-To
    • Computing PI with OpenMP
    • Cleaning build artifacts with fpm
  • Reference
    • Manifest reference
    • Built-in dependencies (“Metapackages”)
    • compile_commands.json
    • API documentation
  • Design
    • The fpm logo
  • Registry
    • Settings
    • Package upload
    • Module name requirements
  • News

· cn · cs · de · en · es · fr · ja · nl · pt · ru ·

How-To guides

How-To guides¶

This section contains practical guides and recipes for solving specific problems with fpm.

  • Computing PI with OpenMP
    • Using OpenMP as a dependency
    • Building and running the code
  • Cleaning build artifacts with fpm
    • Overview
    • General cleaning options
      • Default behavior
      • Skip confirmation, preserve dependencies
      • Clean everything including dependencies
      • Clean registry cache
      • Custom configuration file
    • Selective cleaning options
      • Available selective cleaning flags
      • Selective cleaning examples
        • Clean test executables only
        • Clean application executables only
        • Clean example executables only
      • Combining selective flags
    • Use cases and workflows
      • Common scenarios
        • Debugging failing tests
        • Preparing for release
      • Working on examples
      • Managing disk space efficiently
    • Command reference
      • Complete option summary
      • Combining options
    • Performance benefits
    • Best practices

previous

Extending fpm with plugins

next

Computing PI with OpenMP

By fpm contributors
© Copyright 2021 Fortran programming language community.