[sdpb] 158/233: Added Mac OS installation instructions

Tobias Hansen thansen at moszumanska.debian.org
Thu Mar 9 04:06:33 UTC 2017


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository sdpb.

commit 049b7460dcdd157e8cfc6a96c48f72e2c8e1dc40
Author: David Simmons-Duffin <dsd at athena.sns.ias.edu>
Date:   Sat Mar 7 01:03:00 2015 -0500

    Added Mac OS installation instructions
---
 Readme.md | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/Readme.md b/Readme.md
index 0f22467..8767c34 100644
--- a/Readme.md
+++ b/Readme.md
@@ -35,6 +35,33 @@ for adventure. Please use the issue tracker if you encounter
 installation problems. For those with experience packaging software,
 I'd appreciate help making SDPB easier to install.
 
+### Mac OS X Installation
+
+The following instructions have been tested on Mac OS 10.10 Yosemite.  (Many thanks to Ying Lin.)
+
+1. Install Homebrew, for instance by running the following commands
+```
+# Install Homebrew
+ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
+
+# Update Ruby
+brew install ruby
+
+# Install the latest gcc as well as its dependencies
+brew install gcc
+```
+
+2. Install gcc-4.9.  Make sure SDPB will compile with g++-4.9, either
+by making it the default compiler or by modifying the SDPB Makefile so
+that `CC` points to `g++-4.9` in `/usr/local/bin`.
+
+3. Reinstall GMP by adding `--enable-cxx` to `configure`.
+
+4. Install the Boost libraries.
+
+5. Modify the SDPB Makefile by replacing all instances of `/home/dsd`
+with `/usr/local`.  SDPB should now compile successfully.
+
 ## Usage
 
 Type `sdpb --help` for the syntax and a list of options.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sdpb.git



More information about the debian-science-commits mailing list