Skip to content

Global Variants #2165

@adamjstewart

Description

@adamjstewart

I'm not sure if this has already been proposed before, but I would like to be able to set variants globally. The corresponding packages.yaml would look like:

packages:
  all:
    variants: ~mpi~docs~gui

This could be used to solve problems like #2095 and others, where a lot of users never want to build documentation or X11/GUI support.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions