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/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200622

--- 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 mo=
stly
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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- lang/python37/Makefile      (revision 481792)
+++ lang/python37/Makefile      (working copy)
@@ -37,7 +37,6 @@
 TEST_ARGS=3D             TESTOPTS=3D-j${MAKE_JOBS_NUMBER}

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

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

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



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