Skip to content

Commit

Permalink
Set JULIA_CPU_TARGET=core2
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed May 17, 2014
1 parent de0b917 commit ab1533c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions build_osx.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
#!/bin/bash

# This script invoked by a cron job every X hours
# This script functions best when the following are installed:
# git, python (with the "requests" module installed, for Travis-CI API), playtpus (must be in path)

# This script builds both the 10.7+ compatible binary as well as the 10.6-compatible binary by default
# Override this by passing in either 10.7+ or 10.6 as the first argument to the script
# This script functions best when the following are installed and on the system path:
# git, julia (+ Request package), playtpus

if [[ ! -z "$1" ]]; then
OS="$1"
Expand Down Expand Up @@ -39,7 +36,7 @@ BIN_EXT="dmg"
source $ORIG_DIR/build_gitwork.sh

# On OSX, we use Accelerate instead of OpenBLAS for now
makevars+=( USE_SYSTEM_BLAS=1 USE_BLAS64=0 )
makevars+=( USE_SYSTEM_BLAS=1 USE_BLAS64=0 JULIA_CPU_TARGET=core2 )

# If we're compiling for snow leopard, make sure we use system libunwind
if [[ "$OS" == "10.6" ]]; then
Expand Down

0 comments on commit ab1533c

Please sign in to comment.