Date: Thu, 9 Mar 2017 18:52:18 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435782 - head/databases/libmemcached Message-ID: <201703091852.v29IqIrD000657@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Thu Mar 9 18:52:18 2017 New Revision: 435782 URL: https://svnweb.freebsd.org/changeset/ports/435782 Log: Fix MAKE_JOBS support. - This port uses ax_am_jobserver [1] which uses CPU_COUNT from ax_count_cpus [2] to force -j to match the number of CPUs in the system rather than the amount already specified by -j to 'gmake all'. The ax_count_cpus script is broken on FreeBSD and the ax_am_jobserver code has no current support for FreeBSD and uses a bashism, thus this always builds with 1 CPU. Forcing ax_am_jobserver to use our MAKE_JOBS_NUMBER value fixes the problem. I plan to do an exp-run to fix this for the entire tree. [1] https://www.gnu.org/software/autoconf-archive/ax_am_jobserver.html [2] https://www.gnu.org/software/autoconf-archive/ax_count_cpus.html MFH: 2017Q1 Modified: head/databases/libmemcached/Makefile Modified: head/databases/libmemcached/Makefile ============================================================================== --- head/databases/libmemcached/Makefile Thu Mar 9 18:09:58 2017 (r435781) +++ head/databases/libmemcached/Makefile Thu Mar 9 18:52:18 2017 (r435782) @@ -21,6 +21,7 @@ USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-memcached \ --without-sphinx-build \ + --enable-jobserver=${MAKE_JOBS_NUMBER} \ --enable-libmemcachedprotocol LIBS+= -L${LOCALBASE}/lib -lexecinfo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703091852.v29IqIrD000657>