forked from NOAA-EMC/global-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor some build scripts (NOAA-EMC#794)
Refactors the build_ufs script to allow the build of any UFS app to support future expansion of global-workflow capability. The default should be sufficient for most users, as S2SWA can be used for ATM, ATMA, S2S, and S2SW as well. The new format of the command is now: ``` build_ufs.sh [-a UFS_app][-v] -a UFS_app: Specify the UFS application to build. The default if none is provided is S2SWA -v: Turn on verbose mode (BUILD_VERBOSE) ``` build_all.sh is similarly refactored to include the same options. Also, a new `-c build_config` option is added to specify an alternative list of programs to build. ``` build_all.sh [-a UFS_app][-c build_config][-h][-v] -a UFS_app: Build a specific UFS app instead of the default -c build_config: Selectively build based on the provided config instead of the default config -h: Print usage message and exit -v: Run all scripts in verbose mode ``` partial_build.sh is also updated to take the new `-c` option to specify a build config. ``` partial_build.sh [-c config_file][-h][-v] -c config_file: Selectively build based on the provided config. The default if none is specified is gfs_build.cfg -h: Print usage message and exit -v: Run in verbose mode ``` In addition to the above, build_all and partial_build had their indentation redone and their usage/help statement updated/added. Also, the build configuration file was renamed to from fv3gfs_build.cfg to gfs_build.cfg. Fixes NOAA-EMC#745 Fixes NOAA-EMC#751
- Loading branch information
1 parent
2abee02
commit fa12db2
Showing
4 changed files
with
300 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.