From cd32957185094680b84014e1ea8411ce6b142f74 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Mon, 6 Feb 2017 15:38:07 +0100 Subject: Add basic macOS/homebrew build instructions --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index dc523a2..8af69a7 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,21 @@ make install This will install Astra into your current Python environment. +### macOS, from source + +Use the Homebrew package manager to install boost, libtool, autoconf, automake. + +``` +cd build/linux +./autogen.sh +CPPFLAGS="-I/usr/local/include" NVCCFLAGS="-I/usr/local/include" ./configure \ + --with-cuda=/usr/local/cuda \ + --with-matlab=/Applications/MATLAB_R2016b.app \ + --prefix=$HOME/astra \ + --with-install-type=module +make +make install +``` ### Windows, from source using Visual Studio 2015 -- cgit v1.2.3