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
26d3fc17
Commit
26d3fc17
authored
Jul 31, 2010
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copy asm files into place.
parent
014e0ca5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
PCbuild/build_ssl.py
PCbuild/build_ssl.py
+9
-0
No files found.
PCbuild/build_ssl.py
View file @
26d3fc17
...
...
@@ -163,12 +163,14 @@ def main():
do_script
=
"ms
\
\
do_nasm"
makefile
=
"ms
\
\
nt.mak"
m32
=
makefile
dirsuffix
=
"32"
elif
sys
.
argv
[
2
]
==
"x64"
:
arch
=
"amd64"
configure
=
"VC-WIN64A"
do_script
=
"ms
\
\
do_win64a"
makefile
=
"ms
\
\
nt64.mak"
m32
=
makefile
.
replace
(
'64'
,
''
)
dirsuffix
=
"64"
#os.environ["VSEXTCOMP_USECL"] = "MS_OPTERON"
else
:
raise
ValueError
(
str
(
sys
.
argv
))
...
...
@@ -225,6 +227,13 @@ def main():
shutil
.
copy
(
r"crypto\buildinf.h"
,
r"crypto\buildinf_%s.h"
%
arch
)
shutil
.
copy
(
r"crypto\
ope
nsslconf.h"
,
r"crypto\
ope
nsslconf_%s.h"
%
arch
)
# If the assembler files don't exist in tmpXX, copy them there
if
not
os
.
path
.
exists
(
"tmp"
+
dirsuffix
):
os
.
mkdir
(
"tmp"
+
dirsuffix
)
for
f
in
os
.
listdir
(
"asm"
+
dirsuffix
):
if
not
f
.
endswith
(
".asm"
):
continue
shutil
.
copy
(
r"asm%s\
%s
" % (dirsuffix, f), "
tmp
"+dirsuffix)
# Now run make.
if arch == "
amd64
":
rc = os.system("
ml64
-
c
-
Foms
\\
uptable
.
obj
ms
\\
uptable
.
asm
")
...
...
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