Skip to content

Commit 643516b

Browse files
Edward-Knightgeofft
authored andcommitted
Bump NASM version to 2.16.03
This is to support building OpenSSL 3.5. Version 2.16.03 is the latest stable version at the time of writing.
1 parent e81856b commit 643516b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

cpython-windows/build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,11 +720,11 @@ def build_openssl_for_arch(
720720
log("extracting %s to %s" % (openssl_archive, build_root))
721721
extract_tar_to_directory(openssl_archive, build_root)
722722
log("extracting %s to %s" % (nasm_archive, build_root))
723-
extract_tar_to_directory(nasm_archive, build_root)
723+
extract_zip_to_directory(nasm_archive, build_root)
724724
log("extracting %s to %s" % (jom_archive, build_root))
725725
extract_zip_to_directory(jom_archive, build_root / "jom")
726726

727-
nasm_path = build_root / ("cpython-bin-deps-nasm-%s" % nasm_version)
727+
nasm_path = build_root / ("nasm-%s" % nasm_version)
728728
jom_path = build_root / "jom"
729729

730730
env = dict(os.environ)

pythonbuild/downloads.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,10 @@
268268
"license_file": "LICENSE.openssl-3.txt",
269269
},
270270
"nasm-windows-bin": {
271-
"url": "https://github.com/python/cpython-bin-deps/archive/nasm-2.11.06.tar.gz",
272-
"size": 384826,
273-
"sha256": "8af0ae5ceed63fa8a2ded611d44cc341027a91df22aaaa071efedc81437412a5",
274-
"version": "2.11.06",
271+
"url": "https://www.nasm.us/pub/nasm/releasebuilds/2.16.03/win64/nasm-2.16.03-win64.zip",
272+
"size": 513543,
273+
"sha256": "3ee4782247bcb874378d02f7eab4e294a84d3d15f3f6ee2de2f47a46aa7226e6",
274+
"version": "2.16.03",
275275
},
276276
"patchelf": {
277277
"url": "https://github.com/NixOS/patchelf/releases/download/0.13.1/patchelf-0.13.1.tar.bz2",

0 commit comments

Comments
 (0)