From 93cdb34d8b7dada6abbfd655fc381562e9309a5b Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Thu, 6 Feb 2014 18:55:14 -0500 Subject: [PATCH] Use homebrew-built libraries, use actual # of CPUs --- scripts/publish-macosx.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/publish-macosx.sh b/scripts/publish-macosx.sh index 738f7dba..cca941d7 100755 --- a/scripts/publish-macosx.sh +++ b/scripts/publish-macosx.sh @@ -3,6 +3,8 @@ # NB! To build a release build, the VERSION and VERSIONDATE environment variables needs to be set. # See doc/release-checklist.txt +export NUMCPU=$(sysctl -n hw.ncpu) + human_filesize() { awk -v sum=$1 'BEGIN { @@ -51,7 +53,7 @@ fi PATH=${PATH//\/opt\/local\/libexec\/ccache:} # This is the same location as DEPLOYDIR in macosx-build-dependencies.sh -export OPENSCAD_LIBRARIES=$PWD/../libraries/install +export OPENSCAD_LIBRARIES=$PWD/../libraries/homebrew # Make sure that the correct Qt tools are used export PATH=$OPENSCAD_LIBRARIES/bin:$PATH