File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,20 @@ jobs:
4747 key : ${{ matrix.os }}-enzyme-${{ steps.enzyme-commit.outputs.HEAD }}
4848 - name : Build
4949 run : |
50+ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
51+ sudo apt-add-repository "deb http://apt.llvm.org/`lsb_release -c | cut -f2`/ llvm-toolchain-`lsb_release -c | cut -f2`-17 main" || true
52+ sudo apt-get -y update
53+ sudo apt-get install -y lld-17
54+ mkdir lld-path-manipulation
55+ ln -s "$(which lld-17)" lld-path-manipulation/lld
56+ ln -s "$(which lld-17)" lld-path-manipulation/ld
57+ ln -s "$(which lld-17)" lld-path-manipulation/ld.lld
58+ ln -s "$(which lld-17)" lld-path-manipulation/lld-17
59+ export PATH="$PWD/lld-path-manipulation:$PATH"
5060 mkdir -p build
5161 cd build
5262 rm -f config.toml
53- ../configure --enable-llvm-link-shared --enable-llvm-plugins --enable-llvm-enzyme --release-channel=nightly --enable-llvm-assertions --enable-lld --enable-option-checking --enable-ninja --disable-docs
63+ ../configure --enable-llvm-link-shared --enable-llvm-enzyme --set=rust.use-lld=true --release-channel=nightly --enable-llvm-assertions --enable-option-checking --enable-ninja --disable-docs
5464 ../x.py build --stage 1 library/std library/proc_macro library/test tools/rustdoc
5565 rustup toolchain link enzyme build/host/stage1
5666 - name : checkout Enzyme/rustbook
You can’t perform that action at this time.
0 commit comments