Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2018 09:27:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 200622] lang/python27: Not jobs safe (All Python < 3.5)
Message-ID:  <bug-200622-21822-OyVSGHDB7u@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-200622-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-200622-21822@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #19 from Conrad Meyer <cem@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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200622-21822-OyVSGHDB7u>