Compiling without benchmarks: still require benchmarks?

Compiling 15.0.7 is an uphill battle here. After overcoming some previous issues, I’m now stuck at cmake trying to build the ../third-party/benchmark folder despite of being explicitly told to not do it:

    CMake Error at CMakeLists.txt:1294 (add_subdirectory):
  add_subdirectory given source
  "/var/cache/omnibus/src/llvm-15.0.7.src/../third-party/benchmark" which is
  not an existing directory.

Note the -DLLVM_INCLUDE_BENCHMARKS=OFF flag at the end of the command line:


I’d feed it the directory if I know where to get it from, but googling llvm "third-party/benchmark" produce no meaningful result.

Help :pray:

I’m not really sure why -DLLVM_INCLUDE_BENCHMARKS=OFF wouldn’t work, but is there any reason why you are building from the separate llvm tarball and not from the full project tarball ? I would recommend using the full project tarball. This third-party directory is in there.

fair suggestion. I continued simply by deleting the part in CMakeLists.txt relevant to the benchmarks for now, but in the future I’ll go with that. :bowing_man: