Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

to compile on GCP and Azure #953

Merged
merged 7 commits into from
Jun 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions sorc/machine-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,19 @@ elif [[ -d /data/prod ]] ; then
fi
target=s4
module purge
elif [[ "$(dnsdomainname)" =~ "pw" ]]; then
if [[ "${PW_CSP}" == "aws" ]]; then # TODO: Add other CSPs here.
target=noaacloud
module purge
else
if [[ ! -v PW_CSP ]]; then
weihuang-jedi marked this conversation as resolved.
Show resolved Hide resolved
echo WARNING: UNKNOWN PLATFORM 1>&2; exit 99
elif [[ -z "${PW_CSP}" ]]; then
echo WARNING: UNKNOWN PLATFORM 1>&2; exit 99
else
echo WARNING: UNSUPPORTED CSP PLATFORM 1>&2; exit 99
if [[ "${PW_CSP}" == "aws" || "${PW_CSP}" == "azure" || "${PW_CSP}" == "google" ]]; then
target=noaacloud
module purge
weihuang-jedi marked this conversation as resolved.
Show resolved Hide resolved
else
echo WARNING: UNKNOWN PLATFORM 1>&2; exit 99
fi
fi
else

echo WARNING: UNKNOWN PLATFORM 1>&2
fi

unset __ms_shell
Expand Down
Loading