Skip to content

Commit

Permalink
[grizzly-android] Update clang installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwartzentruber committed Jun 28, 2023
1 parent 31fb6ca commit 7303546
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion services/grizzly-android/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ apt-install-auto python3-yaml zstd
with open("clang.yml") as fd:
data = yaml.load(fd, Loader=yaml.CLoader)
for tc, defn in data.items():
if defn.get("run", {}).get("toolchain-alias", {}).get("by-project", {}).get("default") == "linux64-clang":
alias = defn.get("run", {}).get("toolchain-alias", "")
if isinstance(alias, dict):
alias = alias.get("by-project", {}).get("default")
if alias == "linux64-clang":
print(tc)
break
else:
Expand Down

0 comments on commit 7303546

Please sign in to comment.