Skip to content

Commit

Permalink
Update regional_workflow hash, add shortcuts for common devbuild.sh o…
Browse files Browse the repository at this point in the history
…ptions (#251)
  • Loading branch information
mkavulich committed May 5, 2022
1 parent 6b022cd commit 5063a53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Externals.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ protocol = git
repo_url = https://github.com/ufs-community/regional_workflow
# Specify either a branch name or a hash but not both.
#branch = develop
hash = 6800643
hash = ef63cc0
local_path = regional_workflow
required = True

Expand Down
12 changes: 6 additions & 6 deletions devbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Usage: $0 --platform=PLATFORM [OPTIONS]...
OPTIONS
-h, --help
show this help guide
--platform=PLATFORM
-p, --platform=PLATFORM
name of machine you are building on
(e.g. cheyenne | hera | jet | orion | wcoss_dell_p3)
--compiler=COMPILER
-c, --compiler=COMPILER
compiler to use; default depends on platform
(e.g. intel | gnu | cray | gccgfortran)
--app=APPLICATION
Expand Down Expand Up @@ -104,10 +104,10 @@ fi
while :; do
case $1 in
--help|-h) usage; exit 0 ;;
--platform=?*) PLATFORM=${1#*=} ;;
--platform|--platform=) usage_error "$1 requires argument." ;;
--compiler=?*) COMPILER=${1#*=} ;;
--compiler|--compiler=) usage_error "$1 requires argument." ;;
--platform=?*|-p=?*) PLATFORM=${1#*=} ;;
--platform|--platform=|-p|-p=) usage_error "$1 requires argument." ;;
--compiler=?*|-c=?*) COMPILER=${1#*=} ;;
--compiler|--compiler=|-c|-c=) usage_error "$1 requires argument." ;;
--app=?*) APPLICATION=${1#*=} ;;
--app|--app=) usage_error "$1 requires argument." ;;
--ccpp=?*) CCPP=${1#*=} ;;
Expand Down

0 comments on commit 5063a53

Please sign in to comment.