Skip to content

Instantly share code, notes, and snippets.

@simonbyrne
Created March 2, 2017 20:26
Show Gist options
  • Select an option

  • Save simonbyrne/40108c8dfaa5a4e70265f0cce8e0564c to your computer and use it in GitHub Desktop.

Select an option

Save simonbyrne/40108c8dfaa5a4e70265f0cce8e0564c to your computer and use it in GitHub Desktop.
Julia Makefile for Raspbian
# sudo apt install llvm-3.9-dev libopenblas-dev libfftw3-dev libgmp3-dev libmpfr-dev libarpack2-dev libopenspecfun-dev libssh2-1-dev libcurl4-openssl-dev
USE_SYSTEM_LLVM:=1
LLVM_CONFIG:=llvm-config-3.9
USE_SYSTEM_BLAS:=1
LIBBLAS:=-lopenblas
LIBBLASNAME:=libopenblas
USE_SYSTEM_LAPACK:=1
USE_SYSTEM_LIBM:=1
USE_SYSTEM_FFTW:=1
USE_SYSTEM_GMP:=1
USE_SYSTEM_MPFR:=1
USE_SYSTEM_ARPACK:=1
USE_SYSTEM_OPENSPECFUN:=1
USE_SYSTEM_LIBSSH2:=1
USE_SYSTEM_CURL:=1
# additional notes:
# * we don't actually need the -dev packages, just need to link to the libraries
# * raspbian only includes libpcre3, which confusingly is actually an older version of pcre (8.39) than libpcre2 (10.22).
# - libpcre2 is available in debian sid
# * libsuitesparse-dev doesn't include the dynamic library libsuitesparseconfig.so
# -the version in debian sid does have it
# * libgit2-dev is too old (0.21)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment