diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-02-06 15:38:07 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-03-20 15:50:22 +0100 |
commit | cd32957185094680b84014e1ea8411ce6b142f74 (patch) | |
tree | b6875f0aab543e1551c58bfe12d630717894284c | |
parent | f5c25084f09a8f35c4e3d01eb84de984778ae8a9 (diff) | |
download | astra-cd32957185094680b84014e1ea8411ce6b142f74.tar.gz astra-cd32957185094680b84014e1ea8411ce6b142f74.tar.bz2 astra-cd32957185094680b84014e1ea8411ce6b142f74.tar.xz astra-cd32957185094680b84014e1ea8411ce6b142f74.zip |
Add basic macOS/homebrew build instructions
-rw-r--r-- | README.md | 15 | ||||
-rw-r--r-- | README.txt | 13 |
2 files changed, 28 insertions, 0 deletions
@@ -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 @@ -109,7 +109,20 @@ 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: |