XLA has tests built-in to help check that: ```bash bazel build //build_tools/configure:assert_nvcc //build_tools/configure:assert_clang ```