[llvm-dev] Consolidating copies of google/benchmark in the repo (Was: Proposal: introduce dependency on abseil when building benchmarks)
Michael Kruse via llvm-dev
llvm-dev at lists.llvm.org
Tue Oct 12 16:15:12 PDT 2021
Am Di., 12. Okt. 2021 um 17:09 Uhr schrieb Mircea Trofin <mtrofin at google.com>:
> We can probably have a set of steps we try on the llvm-test-suite to find the dependency, like:
> 1 one of: user-specified `benchmark` dir, user-specified llvm dir, or user specified directive to 'check installed' or to 'fetch latest'
That sounds fine.
> 2 try a heuristic: either ../llvm/utils/benchmark, or, if that's not there, try fetching it, and if this fails, ok, can't build
> Probably looking at ../llvm would 'just work' on the build bots, too? (meaning, without needing to change buildbot scripts)
No, sources are at different directories relative to the build
directory. Typically, this is '../llvm.src/llvm' [1,2], but I am not
sure for all builders, but others might be different . Builds by
LNT might be more complicated .
Generally, I also don't really like hardcoding paths, makes
reproducing problems more difficult.
More information about the llvm-dev