[Bug 200622] lang/python27: Not jobs safe (All Python < 3.5)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 11 09:27:38 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200622

--- Comment #19 from Conrad Meyer <cem at freebsd.org> ---
Also seems totally fine on 32-ish core Threadripper (16 x 2 HT).  Python3.7
build seems to max out at about 8-10 compilers at once anyway -- lots of mostly
trivial quick-building C files and only a few that take time.

Time savings on that Threadripper:

Before:
142.70 real       122.50 user        11.85 sys

After:
$ time make -C lang/python37
99.05 real       157.87 user        13.41 sys

Index: lang/python37/Makefile
===================================================================
--- lang/python37/Makefile      (revision 481792)
+++ lang/python37/Makefile      (working copy)
@@ -37,7 +37,6 @@
 TEST_ARGS=             TESTOPTS=-j${MAKE_JOBS_NUMBER}

 MAKE_ARGS+=            INSTALL_SHARED="${INSTALL_LIB}"                        
# Strip shared library
-MAKE_JOBS_UNSAFE=      yes                                                    
# Parser/pgen build bug. See Issue: 200622, 201974

 SUB_FILES=             pkg-message
 SUB_LIST=              PYTHON_SUFFIX=${PYTHON_SUFFIX}

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-python mailing list