[PATCH] D145391: [HIP] Supports env var HIP_PATH

2023-04-02 Thread Yaxun Liu via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG6aa74ae29ffc: [HIP] Supports env var HIP_PATH (authored by yaxunl). Herald added a project: clang. Changed prior to commit: https://reviews.llvm.o

[PATCH] D145391: [HIP] Supports env var HIP_PATH

2023-03-20 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl added a comment. ping CHANGES SINCE LAST ACTION https://reviews.llvm.org/D145391/new/ https://reviews.llvm.org/D145391 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D145391: [HIP] Supports env var HIP_PATH

2023-03-14 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl updated this revision to Diff 505133. yaxunl marked 2 inline comments as done. yaxunl added a comment. fix tests CHANGES SINCE LAST ACTION https://reviews.llvm.org/D145391/new/ https://reviews.llvm.org/D145391 Files: clang/lib/Driver/ToolChains/AMDGPU.cpp clang/test/Driver/rocm-de

[PATCH] D145391: [HIP] Supports env var HIP_PATH

2023-03-14 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl marked 2 inline comments as done. yaxunl added inline comments. Comment at: clang/lib/Driver/ToolChains/AMDGPU.cpp:442 + llvm::sys::Process::GetEnv("HIP_PATH")) { +if (!HIPPathEnv->empty()) { + HIPSearchDirs.emplace_back(std::move(*HIPPathEnv));

[PATCH] D145391: [HIP] Supports env var HIP_PATH

2023-03-06 Thread Fangrui Song via Phabricator via cfe-commits
MaskRay added inline comments. Comment at: clang/test/Driver/rocm-detect.hip:42 + +// RUN: rm -rf %T/myhip +// RUN: rm -rf %T/myhip_nouse `%T` is not recommended. https://llvm.org/docs/CommandGuide/lit.html "parent directory of %t (not unique, deprecated, do not

[PATCH] D145391: [HIP] Supports env var HIP_PATH

2023-03-06 Thread Artem Belevich via Phabricator via cfe-commits
tra added inline comments. Comment at: clang/lib/Driver/ToolChains/AMDGPU.cpp:442 + llvm::sys::Process::GetEnv("HIP_PATH")) { +if (!HIPPathEnv->empty()) { + HIPSearchDirs.emplace_back(std::move(*HIPPathEnv)); Style nit. Single-statement if

[PATCH] D145391: [HIP] Supports env var HIP_PATH

2023-03-06 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl created this revision. yaxunl added a reviewer: tra. Herald added subscribers: kosarev, kerbowa, jvesely. Herald added a project: All. yaxunl requested review of this revision. Herald added a subscriber: MaskRay. Currently HIP toolchain recognize env var ROCM_PATH and option --rocm-path but