Skip to content

Commit 443997a

Browse files
committed
[SymForce] Update requirements
Fixes some dependabot alerts, unblocks py3.11 hopefully? Topic: sym-reqs Reviewers: hayk,bradley,nathan GitOrigin-RevId: 6096927e0fbebb897514e0348503352f9ca430c3
1 parent 352116f commit 443997a

4 files changed

Lines changed: 98 additions & 84 deletions

File tree

cmake/rerun_if_needed.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,16 @@ def main() -> None:
188188

189189
if need_to_run:
190190
for path in Path(args.cmake_stampdir).iterdir():
191+
# This file is not recreated by cmake on rebuilds and is not a stamp
191192
if path.name.endswith("-source_dirinfo.txt"):
192193
continue
193194

195+
# Newer versions of cmake create empty directories in here at configure time, but
196+
# they're never populated afaict and are not used as stamps
197+
# https://github.com/Kitware/CMake/blob/5fbac2bb24250eeeb64e2fb4868dcf976ee29d64/Modules/ExternalProject/mkdirs.cmake.in#L16-L19
198+
if path.is_dir():
199+
continue
200+
194201
print(f"Removing: {path}")
195202
path.unlink()
196203

0 commit comments

Comments
 (0)