hiker / fab_new

BOM version of the flexible build system for scientific software
https://metoffice.github.io/fab/
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Update psyclone to support next release syntax #24

Open hiker opened 1 week ago

hiker commented 1 week ago

Support the new/future PSyclone command line options.

hiker commented 1 week ago

Hi Luke, with Jason being out for some time, I need you to review this PR. I have verified that it works as expected with Jason's lfric_atm-fab work.

Background: the next PSyclone release will change command line options: -api dynamo0.3 --> --psykal-dsl lfric -api gocean1.0--> --psykal-dsl gocean -api nemo --> new default, so no option required. BUT the output filename must then be specified using -o instead of -opsy

To make this change even more annoying: the psyclone version number does not change on trunk (and ng-arch needs trunk). While we are working on a new release (and discussing a way to add a specific version number for trunk), for now there is no easy way to identify if psyclone version 2.5.0 is the release, or current trunk.

So this patch adds: