diff options
author | Marius Kintel <marius@kintel.net> | 2014-02-06 23:55:14 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2014-02-06 23:55:14 (GMT) |
commit | 93cdb34d8b7dada6abbfd655fc381562e9309a5b (patch) | |
tree | 3ef7fefd408d59282dec657bd77ccd4cd349c4f8 | |
parent | b4163c6deac9a7bca23f878ac1ddf8470815cb82 (diff) |
Use homebrew-built libraries, use actual # of CPUs
-rwxr-xr-x | scripts/publish-macosx.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/publish-macosx.sh b/scripts/publish-macosx.sh index 738f7db..cca941d 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 |