我正在按照https://github.com/apple/swift-lldb中的说明尝试在Ubuntu 18.04上快速构建LLDB。看到此错误-
CMake Error at stdlib/private/StdlibUnicodeUnittest/cmake_install.cmake:41 (file):
file INSTALL cannot find
"/myswift/build/Ninja-ReleaseAssert/swift-linux-
x86_64/./lib/swift/linux/x86_64/StdlibUnicodeUnittest.swiftmodule".
Call Stack (most recent call first):
stdlib/private/cmake_install.cmake:44 (include)
stdlib/cmake_install.cmake:43 (include)
cmake_install.cmake:42 (include)
我用来构建的Dockerfile是:
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt install -y git vim wget clang cmake z3 ninja-build pkg-config libicu-dev uuid-dev icu-devtools libbsd-dev libedit-dev libxml2-dev libsqlite3-dev swig libpython-dev libncurses5-dev libblocksruntime-dev libcurl4-openssl-dev systemtap-sdt-dev tzdata rsync
WORKDIR myswift
RUN git clone https://github.com/apple/swift-lldb.git lldb
RUN lldb/scripts/build-swift-cmake.py --release --update --no-debugserver --no-system-debugserver --lldb-extra-cmake-args=[-v]
我正在使用 LLDB 存储库的稳定分支。
这里是完整构建日志的链接: https://gist.github.com/saprakashh/2da61770613df0e9b3d38a7fedfaabad
任何有关如何解决该错误的指针将不胜感激。