Skip to content

Instantly share code, notes, and snippets.

@staticfloat
Last active October 11, 2015 04:57
Show Gist options
  • Select an option

  • Save staticfloat/3806093 to your computer and use it in GitHub Desktop.

Select an option

Save staticfloat/3806093 to your computer and use it in GitHub Desktop.
julia deps makefile patch
diff --git a/deps/Makefile b/deps/Makefile
index 16d503b..4a8a807 100644
--- a/deps/Makefile
+++ b/deps/Makefile
@@ -654,7 +654,7 @@ distclean-suitesparse: clean-suitesparse
# SUITESPARSE WRAPPER
ifeq ($(USE_SYSTEM_SUITESPARSE), 1)
-SUITESPARSE_INC = -I /usr/include/suitesparse
+SUITESPARSE_INC = -I $(brew --prefix)/include
SUITESPARSE_LIB = -lumfpack -lcholmod -lamd -lcamd -lcolamd -lspqr
else
SUITESPARSE_INC = -I SuiteSparse-$(SUITESPARSE_VER)/CHOLMOD/Include -I SuiteSparse-$(SUITESPARSE_VER)/SuiteSparse_config -I SuiteSparse-$(SUITESPARSE_VER)/SPQR/Include
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment