mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
gh-140239: Check statx availability only on Linux (#140249)
Some checks are pending
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / Sanitizers (push) Blocked by required conditions
Tests / Ubuntu SSL tests with AWS-LC (push) Blocked by required conditions
Tests / Android (aarch64) (push) Blocked by required conditions
Tests / Android (x86_64) (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
mypy / Run mypy on Lib/_pyrepl (push) Waiting to run
mypy / Run mypy on Lib/test/libregrtest (push) Waiting to run
mypy / Run mypy on Lib/tomllib (push) Waiting to run
mypy / Run mypy on Tools/build (push) Waiting to run
mypy / Run mypy on Tools/cases_generator (push) Waiting to run
mypy / Run mypy on Tools/clinic (push) Waiting to run
mypy / Run mypy on Tools/jit (push) Waiting to run
mypy / Run mypy on Tools/peg_generator (push) Waiting to run
Some checks are pending
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / Sanitizers (push) Blocked by required conditions
Tests / Ubuntu SSL tests with AWS-LC (push) Blocked by required conditions
Tests / Android (aarch64) (push) Blocked by required conditions
Tests / Android (x86_64) (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
mypy / Run mypy on Lib/_pyrepl (push) Waiting to run
mypy / Run mypy on Lib/test/libregrtest (push) Waiting to run
mypy / Run mypy on Lib/tomllib (push) Waiting to run
mypy / Run mypy on Tools/build (push) Waiting to run
mypy / Run mypy on Tools/cases_generator (push) Waiting to run
mypy / Run mypy on Tools/clinic (push) Waiting to run
mypy / Run mypy on Tools/jit (push) Waiting to run
mypy / Run mypy on Tools/peg_generator (push) Waiting to run
This commit is contained in:
parent
fbf0843e39
commit
92025ea2c8
3 changed files with 18 additions and 7 deletions
|
|
@ -0,0 +1 @@
|
|||
Check ``statx`` availability only in Linux platforms
|
||||
17
configure
generated
vendored
17
configure
generated
vendored
|
|
@ -20191,12 +20191,6 @@ if test "x$ac_cv_func_splice" = xyes
|
|||
then :
|
||||
printf "%s\n" "#define HAVE_SPLICE 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
ac_fn_c_check_func "$LINENO" "statx" "ac_cv_func_statx"
|
||||
if test "x$ac_cv_func_statx" = xyes
|
||||
then :
|
||||
printf "%s\n" "#define HAVE_STATX 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
|
||||
if test "x$ac_cv_func_strftime" = xyes
|
||||
|
|
@ -20398,6 +20392,17 @@ then :
|
|||
fi
|
||||
|
||||
|
||||
# Check statx availability in Linux
|
||||
if test "$MACHDEP" = "linux"; then
|
||||
ac_fn_c_check_func "$LINENO" "statx" "ac_cv_func_statx"
|
||||
if test "x$ac_cv_func_statx" = xyes
|
||||
then :
|
||||
printf "%s\n" "#define HAVE_STATX 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
# Force lchmod off for Linux. Linux disallows changing the mode of symbolic
|
||||
# links. Some libc implementations have a stub lchmod implementation that always
|
||||
# returns an error.
|
||||
|
|
|
|||
|
|
@ -5251,12 +5251,17 @@ AC_CHECK_FUNCS([ \
|
|||
setitimer setlocale setpgid setpgrp setpriority setregid setresgid \
|
||||
setresuid setreuid setsid setuid setvbuf shutdown sigaction sigaltstack \
|
||||
sigfillset siginterrupt sigpending sigrelse sigtimedwait sigwait \
|
||||
sigwaitinfo snprintf splice statx strftime strlcpy strsignal symlinkat sync \
|
||||
sigwaitinfo snprintf splice strftime strlcpy strsignal symlinkat sync \
|
||||
sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile \
|
||||
tmpnam tmpnam_r truncate ttyname_r umask uname unlinkat unlockpt utimensat utimes vfork \
|
||||
wait wait3 wait4 waitid waitpid wcscoll wcsftime wcsxfrm wmemcmp writev \
|
||||
])
|
||||
|
||||
# Check statx availability in Linux
|
||||
if test "$MACHDEP" = "linux"; then
|
||||
AC_CHECK_FUNCS([statx])
|
||||
fi
|
||||
|
||||
# Force lchmod off for Linux. Linux disallows changing the mode of symbolic
|
||||
# links. Some libc implementations have a stub lchmod implementation that always
|
||||
# returns an error.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue