File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,18 +15,18 @@ if ! which cmake; then
1515fi
1616
1717cd " $WORKING_DIR "
18- if [ ! -d " $WORKING_DIR /swift- llvm" ]; then
19- git clone https://github.com/apple/swift- llvm.git -b " $SWIFT_BRANCH "
18+ if [ ! -d " $WORKING_DIR /llvm-project " ]; then
19+ git clone https://github.com/apple/llvm-project .git -b " $LLVM_BRANCH "
2020fi
21- cd " $WORKING_DIR /swift- llvm"
21+ cd " $WORKING_DIR /llvm-project "
2222git reset --hard
2323git clean -f
24- git checkout " origin/$SWIFT_BRANCH "
24+ git checkout " origin/$LLVM_BRANCH "
2525cd ..
2626
2727mkdir -p llvm-build
2828cd llvm-build
29- cmake " $WORKING_DIR /swift- llvm" -DCMAKE_INSTALL_PREFIX=" $WORKING_DIR /llvm-root" -DCMAKE_BUILD_TYPE=Release -DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD=' X86;ARM;AArch64' -G Ninja
29+ cmake " $WORKING_DIR /llvm-project/ llvm" -DCMAKE_INSTALL_PREFIX=" $WORKING_DIR /llvm-root" -DCMAKE_BUILD_TYPE=Release -DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD=' X86;ARM;AArch64' -G Ninja
3030ninja
3131ninja install
3232
Original file line number Diff line number Diff line change 66
77# There is a branch called "stable" which looks promising
88# At this time (running Xcode 11.3) it's a couple of months newer than the 5.1 branch
9- SWIFT_BRANCH= " stable"
9+ LLVM_BRANCH= " apple/ stable/20190619 "
1010
1111# 2. Pick/install a working Rust nightly (ideally one where RLS and clippy built)
1212# 3. Note its date
You can’t perform that action at this time.
0 commit comments