qupa-project / uniview-lang

View once immutability enabling the safeties of immutable code, while enjoying near procedural performance
https://uniview.qupa.org
MIT License
2 stars 0 forks source link

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

Open AjaniBilby opened 1 year ago

AjaniBilby commented 1 year ago

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)
tony2u commented 1 year ago

-DLLVM_HOST_TRIPLE=x86_64

AjaniBilby commented 1 year ago

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 commented 1 year ago

Thanks for you time though