Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions dace/codegen/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,16 @@ def generate_program_folder(sdfg, code_objects: List[CodeObject], out_path: str,
with open(filepath, 'w') as hfile:
hfile.write(contents)

# Write cachedir tag
cachedir_tag = os.path.join(out_path, "CACHEDIR.TAG")
if not os.path.exists(cachedir_tag):
with open(cachedir_tag, "w") as f:
f.write("""Signature: 8a477f597d28d172789f06886806bc55
# This file is a cache directory tag created by DaCe.
# For information about cache directory tags, see:
# http://www.brynosaurus.com/cachedir/
""")

return out_path


Expand Down