提交 f60b9f0f 编写于 作者: T TensorFlower Gardener

Merge pull request #35091 from yxsamliu:fix-hip-clang2

PiperOrigin-RevId: 286350492
Change-Id: Ib3ee849657948b8b197bb40f41376531e8739071
......@@ -322,7 +322,7 @@ def _hipcc_is_hipclang(repository_ctx):
["grep", "HIP_COMPILER=clang", "/opt/rocm/hip/lib/.hipInfo"],
empty_stdout_fine = True,
)
result = grep_result.stdout
result = grep_result.stdout.strip()
if result == "HIP_COMPILER=clang":
return "True"
return "False"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册