Skip to content

Commit 44d6321

Browse files
committed
Fix the sentinel for micrograd_demo_logging -- needs to be backend-specific
Signed-off-by: Lukasz Stafiniak <lukstafi@gmail.com>
1 parent 23c8279 commit 44d6321

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/operations/dune

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
(run %{dep:../../../arrayjit/bin/read_config.exe} "--read=backend"))))
1818

1919
; Solution: Create intermediate targets that guarantee file generation
20-
; Step 1: Run the test and create a sentinel file when done
20+
; Step 1: Run the test and create a backend-specific sentinel file when done
2121
(rule
22-
(targets micrograd_demo.done)
22+
(targets micrograd_demo-%{read:config/ocannl_backend.txt}.done)
2323
(action
2424
(progn
2525
(run
@@ -30,9 +30,9 @@
3030
"--ocannl_debug_log_to_stream_files=true")
3131
(write-file %{targets} "completed\n"))))
3232

33-
; Step 2: Process the log file, depending on the sentinel
33+
; Step 2: Process the log file, depending on the backend-specific sentinel
3434
(rule
35-
(deps micrograd_demo.done)
35+
(deps micrograd_demo-%{read:config/ocannl_backend.txt}.done)
3636
(target "%{read:config/ocannl_backend.txt}-0-0.log.actual")
3737
(action
3838
(progn

0 commit comments

Comments
 (0)