File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments