pavilion2 icon indicating copy to clipboard operation
pavilion2 copied to clipboard

Add `when` clauses to variables (WIP)

Open Paul-Ferrell opened this issue 2 years ago • 0 comments

Adding a _when clause to any complex variables.


mytest:
  variables:
    input?:
      - 
      cc: ""
      cxx: ""
      threads: 1

 
    input:
      - _when: "sys_name == fireweasel"
        cc: cc
        cxx: CC
      - _when: "sys_name == iceferret"
        cc: cpp
        cxx: CPP
  • Each matching _when item is appended.

Paul-Ferrell avatar Jul 20 '23 22:07 Paul-Ferrell