Open royitaqi opened 3 months ago
I'm having the same issue. Also surprised that it has been 2 months since this report, and no action?
Some progress for me - I found I needed to clone the following into the parent folder of the swift repo:
https://github.com/commonmark/cmark https://github.com/apple/swift-llbuild (but rename the cloned folder to llbuild) https://github.com/llvm/llvm-project https://github.com/ninja-build/ninja https://github.com/apple/swift-argument-parser https://github.com/apple/swift-driver https://github.com/apple/swift-tools-support-core https://github.com/jpsim/Yams (but rename the folder to: yams i.e. lowercase y)
I am now stuck with this error:
--- Installing llvm ---
+ env DESTDIR=/Users/Shared/Source/ThirdParty/Apple/build/buildbot_osx/intermediate-install/macosx-arm64 /opt/homebrew/bin/cmake --build /Users/Shared/Source/ThirdParty/Apple/build/buildbot_osx/llvm-macosx-arm64 -- install-llvm-ar install-llvm-ranlib install-llvm-cov install-llvm-profdata install-IndexStore install-clang install-clang-resource-headers install-compiler-rt install-clangd install-dsymutil install-LTO install-clang-features-file install-lld
ninja: error: unknown target 'install-IndexStore'
ERROR: command terminated with a non-zero exit status 1, aborting
ERROR: command terminated with a non-zero exit status 1, aborting
Possibly more on this later...
The "Cloning the Project" section of the Getting Started Guide explains how to use update-checkout
to get all the sibling projects correctly set up.
Thanks for the help! I've now completed a successful build. A couple of observations:
update-checkout
can take a loooooong timeAt this point, I'm just after swift-reflection-dump
and it seems like overkill to build the entire toolchain. When I say stuff like that though, I almost always end up needing something else...
Description
Ran
SKIP_XCODE_VERSION_CHECK=1 ./swift/utils/build-toolchain com.example
. It ended with an error.Searched on the internet. Some post mention "ninja-bin", but when I give it to the build command, it says "unexpected argument".
Environment:
swift-5.5.3
(main
has the same issue)Reproduction
Expected behavior
Successfully build.
Environment
swift-5.5.3
(main
has the same issue)Additional information
No response