Skip to content

Instantly share code, notes, and snippets.

@EchoAbstract
Created February 22, 2014 14:28
Show Gist options
  • Save EchoAbstract/9155656 to your computer and use it in GitHub Desktop.
Save EchoAbstract/9155656 to your computer and use it in GitHub Desktop.
Keeping Julia up-to-date on an OS-X system when using the system provided BLAS. To run, put the file in the root of your julia directory and run whenever you want to update your local clone. I should modify this so it can be run as a cron or at job.
#!/bin/bash
git checkout -- Make.inc
git pull
sed 's/\(USE_SYSTEM_BLAS\)=0/\1=1/' < Make.inc > Make.inc.tmp
mv Make.inc.tmp Make.inc
gnumake || (gnumake clean && gnumake)
./julia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment