Skip to content
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

build missing target #4

Open
vigilancetech-com opened this issue Sep 1, 2023 · 2 comments
Open

build missing target #4

vigilancetech-com opened this issue Sep 1, 2023 · 2 comments

Comments

@vigilancetech-com
Copy link

When I go to build it according to the readme I get this:

...
...
-- Using LLVMConfig.cmake in: /usr/lib/cmake/llvm
CMake Error at /usr/lib/cmake/llvm/LLVM-Config.cmake:138 (message):
  Target X86 is not in the set of libraries.
Call Stack (most recent call first):
  /usr/lib/cmake/llvm/LLVM-Config.cmake:263 (llvm_expand_pseudo_components)
  CMakeLists.txt:56 (llvm_map_components_to_libnames)

@Reschivon
Copy link
Owner

Let me try to reproduce this and I'll get back to you. LLVM tends to make breaking changes to their codebase, which is likely the root cause.

@Reschivon
Copy link
Owner

Reschivon commented Sep 9, 2023

I could not reproduce it on my system, but I suspect the issue has to do with your machine not supporting cross-compilation to x86. Are you running on a M1 or ARM system by any chance?

I've updated the CMake to match the newest updates to LLVM. Previously I selected all the components for each target manually, now it should do that automagically. Try pulling these changes and rerunning cmake. If we are lucky it will build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants