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

Compiling LLVM with Ninja on Windows failing get target triple #72

Open
AjaniBilby opened this issue Mar 4, 2023 · 3 comments
Open
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@AjaniBilby
Copy link
Member

Unable to compile the LLVM library with Ninja on windows

CMake Warning at llvm/llvm/cmake/modules/GetHostTriple.cmake:46 (message):
  unable to determine host target triple
Call Stack (most recent call first):
  llvm/llvm/cmake/config-ix.cmake:414 (get_host_triple)
  llvm/llvm/CMakeLists.txt:732 (include)


CMake Error at llvm/llvm/cmake/config-ix.cmake:422 (string):
  string sub-command REGEX, mode MATCH needs at least 5 arguments total to
  command.
Call Stack (most recent call first):
  llvm/llvm/CMakeLists.txt:732 (include)


CMake Error at llvm/llvm/cmake/config-ix.cmake:468 (message):
  Unknown architecture host
Call Stack (most recent call first):
  llvm/llvm/CMakeLists.txt:732 (include)
@AjaniBilby AjaniBilby added bug Something isn't working help wanted Extra attention is needed labels Mar 4, 2023
AjaniBilby added a commit that referenced this issue Mar 4, 2023
@tony2u
Copy link

tony2u commented Aug 2, 2023

-DLLVM_HOST_TRIPLE=x86_64

@AjaniBilby
Copy link
Member Author

I vaguely remember when I manually speicifed the build target I ended up with other issues in relation to then using the built compiler to build for certain targets, but I can't find the commit where I documented that.

I don't know where you got here from, but this project is just a side project of mine that I'm abandoning because the direction it was going people would just compare it to Rust and miss the language goals, so instead I'm restarting my project targeting web assembly and having self reflective capabilities during compilation that would be very hard to achieve in rust

@AjaniBilby
Copy link
Member Author

Thanks for you time though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants