Skip to content

Commit

Permalink
update sources
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 authored Dec 12, 2024
1 parent f5da924 commit 7dd1531
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/extensions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ if(PY_VERSION VERSION_GREATER_EQUAL "3.12")
_testcapi/heaptype_relative.c
_testcapi/pyos.c
_testcapi/pytime.c
_testcapi/sys.c
_testcapi/vectorcall_limited.c
)
else()
Expand Down Expand Up @@ -128,7 +129,6 @@ if(PY_VERSION VERSION_GREATER_EQUAL "3.12")
_testcapi/numbers.c
_testcapi/set.c
_testcapi/structmember.c
_testcapi/sys.c
_testcapi/tuple.c
_testcapi/unicode.c
_testcapi/vectorcall.c
Expand Down
6 changes: 5 additions & 1 deletion cmake/libpython/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -953,12 +953,16 @@ elseif(UNIX)
)
endif()
if(PY_VERSION VERSION_GREATER_EQUAL "3.12")
if(PY_VERSION VERSION_LESS "3.13")
list(APPEND LIBPYTHON_SOURCES
${SRC_DIR}/Modules/_xxinterpchannelsmodule.c
)
endif()
list(APPEND LIBPYTHON_SOURCES
${SRC_DIR}/Modules/_hacl/Hacl_Hash_MD5.c
${SRC_DIR}/Modules/_hacl/Hacl_Hash_SHA1.c
${SRC_DIR}/Modules/_hacl/Hacl_Hash_SHA2.c
${SRC_DIR}/Modules/_hacl/Hacl_Hash_SHA3.c
${SRC_DIR}/Modules/_xxinterpchannelsmodule.c
${SRC_DIR}/Modules/md5module.c
${SRC_DIR}/Modules/sha1module.c
${SRC_DIR}/Modules/sha2module.c
Expand Down

0 comments on commit 7dd1531

Please sign in to comment.