Skip to content

Commit 0bec16a

Browse files
committedOct 30, 2023
Cleanup Rust-Enzyme history
Co-authored-by: Lorenz Schmidt git@lorenzschmidt.com Co-authored-by: William Moses gh@wsmoses.com
1 parent bbcc169 commit 0bec16a

File tree

105 files changed

+3617
-41
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+3617
-41
lines changed
 

‎.github/workflows/enzyme-ci.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Rust CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
merge_group:
11+
12+
jobs:
13+
build:
14+
name: Rust Integration CI LLVM ${{ matrix.llvm }} ${{ matrix.build }} ${{ matrix.os }}
15+
runs-on: ${{ matrix.os }}
16+
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
os: [openstack22]
21+
22+
timeout-minutes: 600
23+
steps:
24+
- name: checkout the source code
25+
uses: actions/checkout@v3
26+
with:
27+
fetch-depth: 2
28+
- name: build
29+
run: |
30+
mkdir build
31+
cd build
32+
../configure --enable-llvm-link-shared --enable-llvm-plugins --enable-llvm-enzyme --release-channel=nightly --enable-llvm-assertions --enable-clang --enable-lld --enable-option-checking --enable-ninja --disable-docs
33+
../x.py build --stage 1 library/std library/proc_macro library/test tools/rustdoc
34+
rustup toolchain link enzyme `pwd`/build/`rustup target list --installed`/stage1
35+
rustup toolchain install nightly # enables -Z unstable-options
36+
- name: test
37+
run: |
38+
cargo +enzyme test --examples

‎.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,6 @@
4343
path = library/backtrace
4444
url = https://github.com/rust-lang/backtrace-rs.git
4545
shallow = true
46+
[submodule "src/tools/enzyme"]
47+
path = src/tools/enzyme
48+
url = https://github.com/EnzymeAD/Enzyme.git

0 commit comments

Comments
 (0)
Please sign in to comment.