Skip to content

Commit 0aeaeb9

Browse files
committed
expose new configure variable and update change_tracker
1 parent 22bae0c commit 0aeaeb9

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

Diff for: config.example.toml

+3
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@
7878
# Indicates whether the LLVM plugin is enabled or not
7979
#plugins = false
8080

81+
# Wheter to build Enzyme as AutoDiff backend.
82+
#enzyme = false
83+
8184
# Indicates whether ccache is used when building LLVM. Set to `true` to use the first `ccache` in
8285
# PATH, or set an absolute path to use a specific version.
8386
#ccache = false

Diff for: src/bootstrap/configure.py

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ def v(*args):
7171
# channel, etc.
7272
o("optimize-llvm", "llvm.optimize", "build optimized LLVM")
7373
o("llvm-assertions", "llvm.assertions", "build LLVM with assertions")
74+
o("llvm-enzyme", "llvm.enzyme", "build LLVM with enzyme")
7475
o("llvm-plugins", "llvm.plugins", "build LLVM with plugin interface")
7576
o("debug-assertions", "rust.debug-assertions", "build with debugging assertions")
7677
o("debug-assertions-std", "rust.debug-assertions-std", "build the standard library with debugging assertions")

Diff for: src/bootstrap/src/utils/change_tracker.rs

+5
Original file line numberDiff line numberDiff line change
@@ -225,4 +225,9 @@ pub const CONFIG_CHANGE_HISTORY: &[ChangeInfo] = &[
225225
severity: ChangeSeverity::Info,
226226
summary: "New option `llvm.libzstd` to control whether llvm is built with zstd support.",
227227
},
228+
ChangeInfo {
229+
change_id: 129176,
230+
severity: ChangeSeverity::Info,
231+
summary: "New option `llvm.autodiff` to control whether the llvm based autodiff tool (Enzyme) is built.",
232+
},
228233
];

0 commit comments

Comments
 (0)