mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-26 21:25:19 -04:00
add ace support
This commit is contained in:
parent
8c713d5949
commit
1513aefda2
32 changed files with 5321 additions and 68 deletions
|
|
@ -208,6 +208,9 @@ def process_file(fn: str, allow_modifications: bool) -> None:
|
|||
if fn.endswith("/torch_c_api.cpp"):
|
||||
# Begrudgingly tolerated because PyTorch has no C API.
|
||||
run_remote_tool("clangformat", fn)
|
||||
elif fn.endswith("/ace_c_api.cpp"):
|
||||
# same as PyTorch
|
||||
run_remote_tool("clangformat", fn)
|
||||
else:
|
||||
raise Exception(f"C++ is not supported.")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue