Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
247b6441
Commit
247b6441
authored
Nov 01, 2014
by
Zachary Ware
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #17717: Pull NASM from svn.python.org for OpenSSL build.
parent
a79d6f40
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
1 deletion
+21
-1
Misc/NEWS
Misc/NEWS
+3
-0
PCbuild/build_ssl.py
PCbuild/build_ssl.py
+11
-0
PCbuild/readme.txt
PCbuild/readme.txt
+3
-1
Tools/buildbot/external-common.bat
Tools/buildbot/external-common.bat
+4
-0
No files found.
Misc/NEWS
View file @
247b6441
...
...
@@ -305,6 +305,9 @@ Build
Windows
-------
- Issue #17717: The Windows build scripts now use a copy of NASM pulled from
svn.python.org to build OpenSSL.
- Issue #22644: The bundled version of OpenSSL has been updated to 1.0.1j.
...
...
PCbuild/build_ssl.py
View file @
247b6441
...
...
@@ -170,6 +170,17 @@ def main():
if
ssl_dir
is
None
:
sys
.
exit
(
1
)
# add our copy of NASM to PATH. It will be on the same level as openssl
for
dir
in
os
.
listdir
(
os
.
path
.
join
(
ssl_dir
,
os
.
pardir
)):
if
dir
.
startswith
(
'nasm'
):
nasm_dir
=
os
.
path
.
join
(
ssl_dir
,
os
.
pardir
,
dir
)
nasm_dir
=
os
.
path
.
abspath
(
nasm_dir
)
os
.
environ
[
'PATH'
]
+=
os
.
pathsep
.
join
([
''
,
nasm_dir
])
break
else
:
print
(
'NASM was not found, make sure it is on PATH'
)
old_cd
=
os
.
getcwd
()
try
:
os
.
chdir
(
ssl_dir
)
...
...
PCbuild/readme.txt
View file @
247b6441
...
...
@@ -144,7 +144,9 @@ _ssl
You must install the NASM assembler from
http://nasm.sf.net
for x86 builds. Put nasm.exe anywhere in your PATH.
for x86 builds. Put nasm.exe anywhere in your PATH. If you use the
Tools\buildbot\external(-amd64).bat method for getting sources, it also
downloads a version of NASM, which the ssl build script will add to PATH.
You can also install ActivePerl from
http://www.activestate.com/activeperl/
...
...
Tools/buildbot/external-common.bat
View file @
247b6441
...
...
@@ -37,6 +37,10 @@ if not exist bzip2-1.0.6 (
if
exist
db
-
4
.4.20
rd
/s/q
db
-
4
.4.20
if
not
exist
db
-
4
.7.25.0
svn
export
http
://svn.python.org/projects/external/db
-
4
.7.25.0
@rem
NASM
,
for
OpenSSL
build
@rem
if
exist
nasm
-
2
.11.06
rd
/s/q
nasm
-
2
.11.06
if
not
exist
nasm
-
2
.11.06
svn
export
http
://svn.python.org/projects/external/nasm
-
2
.11.06
@rem
OpenSSL
if
exist
openssl
-
1
.0.1i
rd
/s/q
openssl
-
1
.0.1i
if
not
exist
openssl
-
1
.0.1j
svn
export
http
://svn.python.org/projects/external/openssl
-
1
.0.1j
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment