Построение проблемы Swift на Windows (СБОЙ: lib / Target / AArch64 / AArch64GenDAGISel.in c) - PullRequest
0 голосов
/ 29 января 2020

Я пытаюсь собрать Swift на Windows, используя инструкции, приведенные здесь: https://github.com/apple/swift/blob/master/docs/WindowsBuild.md#MSVC

Для инструкции: Сборка набора инструментов Я использовал эта команда:

cmake -B "D:\SwiftWindows\b\toolchain" -G Ninja -S D:\SwiftWindows\toolchain\llvm -C D:\SwiftWindows\windows-swift\cmake\caches\windows-x86_64.cmake -C D:\SwiftWindows\windows-swift\cmake\caches\org.compnerd.dt.cmake -DLLVM_ENABLE_ASSERTIONS=YES -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;cmark;swift;lldb;lld" -DLLVM_EXTERNAL_PROJECTS="cmark;swift" -DSWIFT_PATH_TO_LIBDISPATCH_SOURCE=D:\SwiftWindows\toolchain\swift-corelibs-libdispatch -DLLVM_ENABLE_PDB=YES -DLLDB_DISABLE_PYTHON=YES -DSWIFT_WINDOWS_x86_64_ICU_UC_INCLUDE="D:/SwiftWindows/Library/icu-64/usr/include" -DSWIFT_WINDOWS_x86_64_ICU_UC="D:/SwiftWindows/Library/icu-64/usr/lib/icuuc64.lib" -DSWIFT_WINDOWS_x86_64_ICU_I18N_INCLUDE="D:/SwiftWindows/Library/icu-64/usr/include" -DSWIFT_WINDOWS_x86_64_ICU_I18N="D:/SwiftWindows/Library/icu-64/usr/lib/icuin64.lib" -DCMAKE_INSTALL_PREFIX="C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr" -DPYTHON_EXECUTABLE=C:\Python27\python.exe -DSWIFT_BUILD_DYNAMIC_STDLIB=YES -DSWIFT_BUILD_DYNAMIC_SDK_OVERLAY=YES -DLIBXML2_LIBRARY="D:\SwiftWindows\Library\libxml2-development\usr\lib\libxml2s.lib" -DLIBXML2_INCLUDE_DIR="D:\SwiftWindows\Library\libxml2-development\usr\include" -DLibEdit_INCLUDE_DIRS="D:\SwiftWindows\Library\libedit\usr\include" -DLibEdit_LIBRARIES="D:/SwiftWindows/Library/libedit/usr/lib/edit_static.lib"

При запуске ninja -C D:\SwiftWindows\b\toolchain

Я получаю это:

[1261/5634] Building AArch64GenDAGISel.inc...
FAILED: lib/Target/AArch64/AArch64GenDAGISel.inc
cmd.exe /C "cd /D D:\SwiftWindows\b\toolchain && D:\SwiftWindows\b\toolchain\bin\llvm-tblgen.exe -gen-dag-isel -I D:/SwiftWindows/toolchain/llvm/lib/Target/AArch64 -I D:/SwiftWindows/toolchain/llvm/include -I D:/SwiftWindows/toolchain/llvm/lib/Target D:/SwiftWindows/toolchain/llvm/lib/Target/AArch64/AArch64.td -o lib/Target/AArch64/AArch64GenDAGISel.inc -d lib/Target/AArch64/AArch64GenDAGISel.inc.d"
[1278/5634] Building AArch64GenInstrInfo.inc...
ninja: build stopped: subcommand failed.

Почему это происходит и как я могу решить эту проблему?

...