Skip to content

Commit 72f5630

Browse files
committed
Update _Target._compute_digest
1 parent 7d12a8a commit 72f5630

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tools/jit/_targets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def _compute_digest(self, out: pathlib.Path) -> str:
6363
hasher = hashlib.sha256()
6464
hasher.update(self.triple.encode())
6565
hasher.update(self.debug.to_bytes())
66+
hasher.update(self.cflags.to_bytes())
6667
# These dependencies are also reflected in _JITSources in regen.targets:
6768
hasher.update(PYTHON_EXECUTOR_CASES_C_H.read_bytes())
6869
hasher.update((out / "pyconfig.h").read_bytes())

0 commit comments

Comments
 (0)