Skip to content

Commit ac8e664

Browse files
committed
Recompile code if OCANNL_LOG_LEVEL env var changes; a todo
1 parent 12e1d15 commit ac8e664

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

arrayjit/lib/dune

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
(library
22
(name arrayjit)
33
(public_name arrayjit)
4+
(preprocessor_deps
5+
(env_var OCANNL_LOG_LEVEL))
46
(libraries
57
base
68
printbox

lib/dune

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
; mem_usage
1616
ppx_minidebug.runtime
1717
arrayjit)
18+
(preprocessor_deps (env_var OCANNL_LOG_LEVEL))
1819
(preprocess
1920
(pps
2021
ppx_compare

todo.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# This file is for tasks with a smaller granularity than issues, typically immediate tasks.
22

33
ppx_cd: reduce code duplication
4-
ppx_cd: get rid of binary_op and use binary_ops table instead {cm:2025-01-28}
4+
ppx_cd: get rid of binary_op and use binary_ops table instead {cm:2025-01-28}
5+
Tensor.print_tree should never force memory modes

0 commit comments

Comments
 (0)