每当我跑步
cmake -Hllvm -G Ninja -Bbuild -DCMAKE_ASM_COMPILER:PATH="C:\Users\David\AppData\Local\bin\NASM" -DCMAKE_C_COMPILER:PATH="C:\Program Files\LLVM\bin\clang-cl.exe" -DCMAKE_CXX_COMPILER:PATH="C:\Program Files\LLVM\bin\clang-cl.exe" -DCMAKE_C_COMPILER_ID="Clang-cl" -DCMAKE_CXX_COMPILER_ID="Clang-cl" -DCMAKE_SYSTEM_NAME="Generic"
我收到以下错误
-- Warning: Did not find file Compiler/-ASM
-- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR)
C:\Program Files (x86)\OpenSSH\bin\sh.exe (8120): *** couldn't allocate cygwin heap, Win32 error 0, base 0x1020000, top 0x1024000, reserve_size 16384, allocsize 16384, page_const 4096
C:\Program Files (x86)\OpenSSH\bin\sh.exe (8120): *** couldn't allocate cygwin heap, Win32 error 0, base 0x1020000, top 0x1024000, reserve_size 16384, allocsize 16384, page_const 4096
2 [main] sh 12672 sync_with_child: child 8120(0x268) died before initialization with status code 0x1
18 [main] sh 12672 sync_with_child: *** child state waiting for longjmp
C:/Users/David/Documents/School/Dia/llvm/cmake/config.guess: Cannot fork: Resource temporarily unavailable
CMake Error at cmake/modules/GetHostTriple.cmake:24 (message):
Failed to execute
C:/Users/David/Documents/School/Dia/llvm/cmake/config.guess
Call Stack (most recent call first):
cmake/config-ix.cmake:360 (get_host_triple)
CMakeLists.txt:600 (include)
我正在尝试构建llvm,以便可以在项目中使用它;但是,它给我带来了cmake的问题。