Skip to content

Instantly share code, notes, and snippets.

@ggarza
Created April 2, 2014 22:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ggarza/9944122 to your computer and use it in GitHub Desktop.
Save ggarza/9944122 to your computer and use it in GitHub Desktop.
Patch for Homebrew Julia
diff --git c/Makefile w/Makefile
index edfe244..277025e 100644
--- c/Makefile
+++ w/Makefile
@@ -99,7 +99,7 @@ $(build_bindir)/stringpatch: $(build_bindir) contrib/stringpatch.c
JL_LIBS = julia julia-debug
# private libraries, that are installed in $(prefix)/lib/julia
-JL_PRIVATE_LIBS = random suitesparse_wrapper grisu
+JL_PRIVATE_LIBS = random suitesparse_wrapper grisu Rmath
ifeq ($(USE_SYSTEM_FFTW),0)
JL_PRIVATE_LIBS += fftw3 fftw3f fftw3_threads fftw3f_threads
endif
diff --git c/deps/Makefile w/deps/Makefile
index f973457..da1d4e1 100644
--- c/deps/Makefile
+++ w/deps/Makefile
@@ -138,7 +138,7 @@ install: $(addprefix install-, $(LIBS))
cleanall: $(addprefix clean-, $(LIBS))
distclean: $(addprefix distclean-, $(LIBS))
rm -rf $(build_prefix)
-getall: get-llvm get-uv get-pcre get-double-conversion get-openlibm get-openspecfun get-random get-openblas get-lapack get-fftw get-suitesparse get-arpack get-unwind get-osxunwind get-gmp get-mpfr get-zlib get-patchelf get-utf8proc
+getall: get-llvm get-uv get-pcre get-double-conversion get-openlibm get-openspecfun get-random get-Rmath get-openblas get-lapack get-fftw get-suitesparse get-arpack get-unwind get-osxunwind get-gmp get-mpfr get-zlib get-patchelf get-utf8proc
## PATHS ##
# sort is used to remove potential duplicates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment