1
hermetic_cc_toolchain/ci/list_toolchains_platforms
laurynasl 4d65b80903 Add libc constraint and libc aware toolchains
- Also get rid of @bazel_skylib dependency
2022-04-14 14:29:06 +00:00

16 lines
517 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
indent() { sed 's/^/ /'; }
echo "Available toolchains:"
bazel query '@zig_sdk//toolchain:*' | indent
echo "Available platforms:"
bazel query '@zig_sdk//platform:*' | indent
echo "Available libc aware toolchains:"
bazel query '@zig_sdk//libc_aware/toolchain:*' | indent
echo "Available libc aware platforms:"
bazel query '@zig_sdk//libc_aware/platform:*' | indent
echo "Available libc variants:"
bazel query "attr(constraint_setting, @zig_sdk//libc:variant, @zig_sdk//...)" | indent