Unverified Commit 0ffaffca authored by serge-sans-paille's avatar serge-sans-paille
Browse files

Reapply 6fa2abf9

Lazyly initialize uncommon toolchain detector

Cuda and rocm toolchain detectors are currently run unconditionally,
while their result may not be used at all. Make their initialization
lazy so that the discovery code is not run in common cases.

Reapplied since 77910ac3 landed and
fixes the test ordering issue.

Differential Revision: https://reviews.llvm.org/D142606
parent 5f19fb5a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment