[llvm-dev] llvm-9-dev apt package missing yaml-bench

Stefan Gränitz via llvm-dev
Mon, 02 Dec 2019 14:14:12 -0000

Hello everyone

I was just porting a project to build against the LLVM 9 apt packages
and noticed that the issue I filed and explained during the release
phase in https://llvm.org/PR43035 still persists:

CMake Error at /usr/lib/llvm-9/lib/cmake/llvm/LLVMExports.cmake:1323
(message):

  The imported target "yaml-bench" references the file

     "/usr/lib/llvm-9/bin/yaml-bench"

  but this file does not exist.

Here's a minimal repro:
https://travis-ci.org/weliveindetail/apt-llvm-9-dev-repro/builds/619590445#L204

Is anyone else seeing this too? Is there an obvious fix that I don't
see? What's your workarounds?

My current workaround is ridiculous, but works for me:
https://github.com/weliveindetail/apt-llvm-9-dev-repro/commit/86497a3b#diff-3254677a7917c6c01f55212f86c57fbf

Thanks
Stefan

--
https://flowcrypt.com/pub/stefan.graenitz at gmail.com