<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-infrastructure.
</pre>
<p><a href="https://github.com/macports/macports-infrastructure/commit/1e813c0995821292db14de7b2b84743c4f28e9f9">https://github.com/macports/macports-infrastructure/commit/1e813c0995821292db14de7b2b84743c4f28e9f9</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 1e813c0995821292db14de7b2b84743c4f28e9f9
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Nov 14 16:48:48 2016 -0600
<span style='display:block; white-space:pre;color:#404040;'> mprsyncup: Compile in parallel on Darwin
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Compiling in parallel makes better use of multiple CPU cores.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> I don’t know how to determine the number of CPU cores on other OSes
</span><span style='display:block; white-space:pre;color:#404040;'> and it doesn’t matter because we’re going to run this on macOS.
</span>---
jobs/mprsyncup | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/jobs/mprsyncup b/jobs/mprsyncup
</span><span style='display:block; white-space:pre;color:#808080;'>index 2e9a5a8..165f2f1 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/jobs/mprsyncup
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/jobs/mprsyncup
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -124,7 +124,11 @@ if [[ ! -x ${PREFIX}/bin/port || ! -r ${RBASE}/config/macports_version || "$(<${
</span> --with-install-group="$(id -gn)" \
--with-install-user="$(id -un)"
make clean
<span style='display:block; white-space:pre;background:#ffe0e0;'>- make
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ JOBS=""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ "$(uname -s)" == "Darwin" ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ JOBS="-j$(sysctl -n hw.activecpu)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ make $JOBS
</span> make install
make distclean
popd
</pre><pre style='margin:0'>
</pre>