llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.36k stars 12.15k forks source link

[compiler-rt][builtins] Cannot compile for loongarch64 for baremetal builtins #100939

Open trcrsired opened 4 months ago

trcrsired commented 4 months ago

-- LLVM_MAIN_SRC_DIR: "/home/cqwrteur/toolchains_build/llvm-project/llvm" CMake Error at /home/cqwrteur/toolchains_build/llvm-project/compiler-rt/cmake/Modules/CompilerRTUtils.cmake:144 (message): Cannot compile for loongarch64:

Call Stack (most recent call first): /home/cqwrteur/toolchains_build/llvm-project/compiler-rt/cmake/base-config-ix.cmake:224 (test_target_arch) /home/cqwrteur/toolchains_build/llvm-project/compiler-rt/cmake/builtin-config-ix.cmake:247 (test_targets) CMakeLists.txt:60 (include)

-- Configuring incomplete, errors occurred! ninja: error: loading 'build.ninja': No such file or directory ninja: error: loading 'build.ninja': No such file or directory cp: cannot stat '/home/cqwrteur/toolchains/llvm/loongarch64-linux-musl/builtins/*': No such file or directory

trcrsired commented 4 months ago

https://github.com/trcrsired/toolchainbuildscripts/blob/main/llvm/loongarch64-linux-musl.sh

Script is here