Skip to content

Commit 4800538

Browse files
authored
feat: optionally allow manylinux_2_28 (#175)
1 parent 1ccf3fd commit 4800538

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

adbc_drivers_dev/make.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,8 +516,13 @@ def check_linux(binary: Path) -> None:
516516

517517
# Like upstream. Match manylinux2014's versions.
518518
# https://peps.python.org/pep-0599/#the-manylinux2014-policy
519-
glibc_max = "2.17"
520-
glibcxx_max = "3.14.19"
519+
manylinux = get_var("MANYLINUX", "manylinux2014").lower()
520+
if manylinux == "manylinux2014":
521+
glibc_max = "2.17"
522+
glibcxx_max = "3.4.19"
523+
elif manylinux == "manylinux_2_28":
524+
glibc_max = "2.28"
525+
glibcxx_max = "3.4.32"
521526

522527
for symbol in symbols:
523528
if "@GLIBC_" in symbol:

0 commit comments

Comments
 (0)