This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zach.ware
Recipients loewis, terry.reedy, tim.golden, zach.ware
Date 2014-04-03.03:39:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1396496389.49.0.887037786203.issue21141@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is a patch that prevents mentioning Perl in the Windows build output, thereby avoiding giving the indication that Perl is necessary to build Python.

To make this work, the patch converts PCbuild/build_ssl.py into PCbuild/prepare_ssl.py and removes the actual building of OpenSSL from that script.  Instead, prepare_ssl.py takes a directory name as an argument (which is assumed to be a directory containing OpenSSL sources) and does what it has always done to prepare the way for building, except now it does it for both platforms.  PCbuild/build_ssl.bat is also updated to match.

Meanwhile, the actual building is moved entirely within ssl.vcxproj, which now runs a short script that copies buildinf*.h and opensslconf*.h into place and calls nmake with the appropriate makefile (x64 builds also run the appropriate nasm command first).  Since this is all done inside ssl.vcxproj, the dependency on python.vcxproj is dropped, allowing SSL to be built in parallel with pythoncore, tcl, tk, and tix when using the '/m' msbuild command line switch.

As a part of converting build_ssl.py into prepare_ssl.py, the comments at the top of the file have been updated.  Also, some dead code has been trimmed: the "-a" flag has been completely unused for a long time, and debug builds have been disabled as well; all code relating to either feature has been removed.

I've tested this by successfully preparing (once) and building openssl-1.0.1f in both 32 and 64 bit builds.
History
Date User Action Args
2014-04-03 03:39:50zach.waresetrecipients: + zach.ware, loewis, terry.reedy, tim.golden
2014-04-03 03:39:49zach.waresetmessageid: <1396496389.49.0.887037786203.issue21141@psf.upfronthosting.co.za>
2014-04-03 03:39:49zach.warelinkissue21141 messages
2014-04-03 03:39:48zach.warecreate