[upstream_utils] Upgrade to fmtlib 11.0.0 (#6796)

This commit is contained in:
Tyler Veness
2024-07-02 13:34:59 -07:00
committed by GitHub
parent 6a5448322b
commit 19ea73ef69
44 changed files with 5463 additions and 4870 deletions

View File

@@ -13,16 +13,13 @@ from upstream_utils import (
def main():
upstream_root = clone_repo("https://github.com/fmtlib/fmt", "10.2.1")
upstream_root = clone_repo("https://github.com/fmtlib/fmt", "11.0.0")
wpilib_root = get_repo_root()
wpiutil = os.path.join(wpilib_root, "wpiutil")
# Apply patches to upstream Git repo
os.chdir(upstream_root)
for f in [
"0001-Suppress-warnings-we-can-t-fix.patch",
"0002-Fix-tautological-compare-warning.patch",
]:
for f in ["0001-Suppress-warnings-we-can-t-fix.patch"]:
git_am(os.path.join(wpilib_root, "upstream_utils/fmt_patches", f))
# Delete old install