Skip to content

Commit cf96cbb

Browse files
committed
Using apple/llvm-project instead of apple/swift-llvm
1 parent 0cf3dbe commit cf96cbb

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

build.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ if ! which cmake; then
1515
fi
1616

1717
cd "$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"
2020
fi
21-
cd "$WORKING_DIR/swift-llvm"
21+
cd "$WORKING_DIR/llvm-project"
2222
git reset --hard
2323
git clean -f
24-
git checkout "origin/$SWIFT_BRANCH"
24+
git checkout "origin/$LLVM_BRANCH"
2525
cd ..
2626

2727
mkdir -p llvm-build
2828
cd 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
3030
ninja
3131
ninja install
3232

config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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

0 commit comments

Comments
 (0)