Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 384
    • Issues 384
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1647

Closed
Open
Created Mar 24, 2020 by Mark Olesen@markMaintainer

More control for making or skipping make

When building with or without modules, it will be useful to selective suppress building of some components.

  • compile all of OpenFOAM, but without any modules
  • later compile a module indvidually

I'm thinking of places where we might want to have a module such as visualization, or adios added as an additional RPM or spack package on top of an existing OpenFOAM installation.

Ideas:

  1. If a Allwmake.disabled exists at the same level as a Allwmake file, skip it.
  2. Use a Allwmake.override instead of Allwmake file at the same level.
  3. Rename Allwmake file to Allwmake.enabled and symlink back to Allwmake when it is enabled.
  4. Add in a minor logic into the overridable Allwmake. For example,
    enabled=true
    if [ "$enabled" != true ]
    then
        echo "$0: is disabled"
        exit 0
    fi

@Development

Edited Mar 24, 2020 by Mark Olesen
Assignee
Assign to
Time tracking