mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
gh-131876: Revert "gh-131876: extract _hashlib helpers into a separate directory (#136995) (#137307)
Some checks are pending
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / (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 / Ubuntu SSL tests with AWS-LC (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 / Sanitizers (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 / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / (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 / Ubuntu SSL tests with AWS-LC (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 / Sanitizers (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
Revert "gh-131876: extract `_hashlib` helpers into a separate directory (#136995)"
This reverts commit 45138d3584.
This commit is contained in:
parent
e7b55f564d
commit
fe0e921817
20 changed files with 221 additions and 346 deletions
40
configure
generated
vendored
40
configure
generated
vendored
|
|
@ -725,8 +725,6 @@ LIBHACL_BLAKE2_SIMD128_OBJS
|
|||
LIBHACL_SIMD128_FLAGS
|
||||
LIBHACL_LDFLAGS
|
||||
LIBHACL_CFLAGS
|
||||
LIBHASHLIB_INTERNAL
|
||||
LIBHASHLIB_INTERNAL_CFLAGS
|
||||
MODULE_UNICODEDATA_FALSE
|
||||
MODULE_UNICODEDATA_TRUE
|
||||
MODULE__MULTIBYTECODEC_FALSE
|
||||
|
|
@ -29951,7 +29949,6 @@ SRCDIRS="\
|
|||
Modules/_decimal \
|
||||
Modules/_decimal/libmpdec \
|
||||
Modules/_hacl \
|
||||
Modules/_hashlib \
|
||||
Modules/_io \
|
||||
Modules/_multiprocessing \
|
||||
Modules/_sqlite \
|
||||
|
|
@ -32528,15 +32525,6 @@ then :
|
|||
fi
|
||||
|
||||
|
||||
###############################################################################
|
||||
# Cryptographic primitives
|
||||
LIBHASHLIB_INTERNAL_CFLAGS="-I\$(srcdir)/Modules/_hashlib"
|
||||
LIBHASHLIB_INTERNAL_LDFLAGS="-lm \$(LIBHASHLIB_INTERNAL_A)"
|
||||
LIBHASHLIB_INTERNAL="\$(LIBHASHLIB_INTERNAL_HEADERS) \$(LIBHASHLIB_INTERNAL_A)"
|
||||
|
||||
|
||||
|
||||
|
||||
###############################################################################
|
||||
# HACL* compilation and linking configuration (contact: @picnixz)
|
||||
#
|
||||
|
|
@ -32785,8 +32773,8 @@ fi
|
|||
if test "x$py_cv_module__md5" = xyes
|
||||
then :
|
||||
|
||||
as_fn_append MODULE_BLOCK "MODULE__MD5_CFLAGS=$LIBHACL_CFLAGS $LIBHASHLIB_INTERNAL_CFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__MD5_LDFLAGS=\$($LIBHACL_MD5_LDFLAGS) $LIBHASHLIB_INTERNAL_LDFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__MD5_CFLAGS=$LIBHACL_CFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__MD5_LDFLAGS=\$($LIBHACL_MD5_LDFLAGS)$as_nl"
|
||||
|
||||
fi
|
||||
if test "$py_cv_module__md5" = yes; then
|
||||
|
|
@ -32830,8 +32818,8 @@ fi
|
|||
if test "x$py_cv_module__sha1" = xyes
|
||||
then :
|
||||
|
||||
as_fn_append MODULE_BLOCK "MODULE__SHA1_CFLAGS=$LIBHACL_CFLAGS $LIBHASHLIB_INTERNAL_CFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__SHA1_LDFLAGS=\$($LIBHACL_SHA1_LDFLAGS) $LIBHASHLIB_INTERNAL_LDFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__SHA1_CFLAGS=$LIBHACL_CFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__SHA1_LDFLAGS=\$($LIBHACL_SHA1_LDFLAGS)$as_nl"
|
||||
|
||||
fi
|
||||
if test "$py_cv_module__sha1" = yes; then
|
||||
|
|
@ -32875,8 +32863,8 @@ fi
|
|||
if test "x$py_cv_module__sha2" = xyes
|
||||
then :
|
||||
|
||||
as_fn_append MODULE_BLOCK "MODULE__SHA2_CFLAGS=$LIBHACL_CFLAGS $LIBHASHLIB_INTERNAL_CFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__SHA2_LDFLAGS=\$($LIBHACL_SHA2_LDFLAGS) $LIBHASHLIB_INTERNAL_LDFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__SHA2_CFLAGS=$LIBHACL_CFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__SHA2_LDFLAGS=\$($LIBHACL_SHA2_LDFLAGS)$as_nl"
|
||||
|
||||
fi
|
||||
if test "$py_cv_module__sha2" = yes; then
|
||||
|
|
@ -32920,8 +32908,8 @@ fi
|
|||
if test "x$py_cv_module__sha3" = xyes
|
||||
then :
|
||||
|
||||
as_fn_append MODULE_BLOCK "MODULE__SHA3_CFLAGS=$LIBHACL_CFLAGS $LIBHASHLIB_INTERNAL_CFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__SHA3_LDFLAGS=\$($LIBHACL_SHA3_LDFLAGS) $LIBHASHLIB_INTERNAL_LDFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__SHA3_CFLAGS=$LIBHACL_CFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__SHA3_LDFLAGS=\$($LIBHACL_SHA3_LDFLAGS)$as_nl"
|
||||
|
||||
fi
|
||||
if test "$py_cv_module__sha3" = yes; then
|
||||
|
|
@ -32965,8 +32953,8 @@ fi
|
|||
if test "x$py_cv_module__blake2" = xyes
|
||||
then :
|
||||
|
||||
as_fn_append MODULE_BLOCK "MODULE__BLAKE2_CFLAGS=$LIBHACL_CFLAGS $LIBHASHLIB_INTERNAL_CFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__BLAKE2_LDFLAGS=\$($LIBHACL_BLAKE2_LDFLAGS) $LIBHASHLIB_INTERNAL_LDFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__BLAKE2_CFLAGS=$LIBHACL_CFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__BLAKE2_LDFLAGS=\$($LIBHACL_BLAKE2_LDFLAGS)$as_nl"
|
||||
|
||||
fi
|
||||
if test "$py_cv_module__blake2" = yes; then
|
||||
|
|
@ -33011,8 +32999,8 @@ fi
|
|||
if test "x$py_cv_module__hmac" = xyes
|
||||
then :
|
||||
|
||||
as_fn_append MODULE_BLOCK "MODULE__HMAC_CFLAGS=$LIBHACL_CFLAGS $LIBHASHLIB_INTERNAL_CFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__HMAC_LDFLAGS=\$($LIBHACL_HMAC_LDFLAGS) $LIBHASHLIB_INTERNAL_LDFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__HMAC_CFLAGS=$LIBHACL_CFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__HMAC_LDFLAGS=\$($LIBHACL_HMAC_LDFLAGS)$as_nl"
|
||||
|
||||
fi
|
||||
if test "$py_cv_module__hmac" = yes; then
|
||||
|
|
@ -33693,8 +33681,8 @@ fi
|
|||
if test "x$py_cv_module__hashlib" = xyes
|
||||
then :
|
||||
|
||||
as_fn_append MODULE_BLOCK "MODULE__HASHLIB_CFLAGS=$OPENSSL_INCLUDES $LIBHASHLIB_INTERNAL_CFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__HASHLIB_LDFLAGS=$OPENSSL_LDFLAGS $OPENSSL_LDFLAGS_RPATH $LIBCRYPTO_LIBS $LIBHASHLIB_INTERNAL_LDFLAGS$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__HASHLIB_CFLAGS=$OPENSSL_INCLUDES$as_nl"
|
||||
as_fn_append MODULE_BLOCK "MODULE__HASHLIB_LDFLAGS=$OPENSSL_LDFLAGS $OPENSSL_LDFLAGS_RPATH $LIBCRYPTO_LIBS$as_nl"
|
||||
|
||||
fi
|
||||
if test "$py_cv_module__hashlib" = yes; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue