-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apt packages have exports for FileCheck but don't ship it #42380
Comments
assigned to @sylvestre |
Quick repro:
I created the image like this:
|
How were the releases in the apt packages built? I can reproduce this on Ubuntu 18.04 and 19.04. IIUC we shouldn't have FileCheck here (same for llvm-PerfectShuffle;count;not;yaml-bench?): lib/cmake/llvm/LLVMConfig.cmake lib/cmake/llvm/LLVMExports.cmake I remember having see this issue at some point. I can try to investigate for a few hours during the week. |
LLVM_INSTALL_UTILS=ON causes FileCheck and others to be listed in LLVMExports.cmake Was it used to build the apt packages? |
+Sylvestre who knows might know. |
Still reproducible |
Yeah, I have been on holidays. |
I am not sure what you mean by "Don't ship it" FileCheck is installed in the llvm-{7,8,9,...}-tools packages |
LLVMExports.cmake from the llvm-9-dev package lists FileCheck & co, but doesn't include the binaries for them. |
Because it is shipped as part of llvm-9-tools In command #1 apt-get install -y --no-install-recommends build-essential git cmake cmake-data ninja-build zlib1g-dev llvm-9-dev llvm-9-tools |
Sylvestre: it's unclear to me if there is a problem here. Should the bug be marked wonfix? Or is there a dependency between packages missing? In any case, I'm guessing this isn't a blocker for the release from the llvm side. |
I attached the file in question. Please compare yourself if you want. If the change is on purpose, please explain how external projects are supposed to import LLVM from the apt release. |
I am sorry but what should I see in the llvm-*-dev-LLVMExports.cmake files ? Why don't you just add llvm-9-tools in the list of deps ? |
Please search both files for one of the following terms: FileCheck llvm-PerfectShuffle count not yaml-bench
This is a regression. Building any project against llvm-9-dev fails with a CMake configuration error in If my project is too complicated, this CMakeLists.txt is enough to reproduce it:
|
OK A fix would be indeed to add the deps Stefan, would it make you happy? |
Thanks for finding that change. As I mentioned earlier, the proper fix is: DO NOT BUILD the release with Whenever you build with I am on parental leave and I really can't spend more time here. I thought I'd report this quickly to avoid a release bug.. |
I had user requests to provide FileCheck. See: (I removed them Tue, 08 Mar 2016 in 3.9~svn260851-1) Merging two packages is a pain. I would rather add a dep |
I explained the problem and the solution in all possible ways. Don't know what else to say. |
ok, thanks fixed by adding a dep: |
The text was updated successfully, but these errors were encountered: