Created
February 22, 2014 14:28
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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