Skip to content

Commit a029824

Browse files
committed
Notes on building on MacOS
1 parent 6c7c93e commit a029824

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,24 @@ sudo dpkg -i /path/to/package.deb
122122
Our CI tests now run on Ubuntu 22.04 and `ubuntu-latest` (which is
123123
24.04 as of 2025-Mar-05).
124124

125+
#### MacOS
126+
125127
On MacOS you can use the tools/macos/bootstrap_mac.sh script to
126128
install all the above dependencies using homebrew. Note that in order
127129
to compile the code you need [XCode 8](https://itunes.apple.com/us/app/xcode/id497799835?mt=12)
128130
or later.
129131

132+
With MacPorts, you can use
133+
134+
```console
135+
sudo port install automake autoconf libtool thrift gmp boost
136+
```
137+
138+
You may need to specify `LDFLAGS=-L/opt/local/lib` on the `configure` command line.
139+
You'll also need to namually install the [nanomsg](https://github.com/nanomsg/nanomsg)
140+
library. Macports may fail to install non-mt versions of the boost libraries; you may
141+
need to add symlinks in /opt/local/lib for libboost_X.dynlib -> libboost_X-mt.dynlib.
142+
130143
3. Building the code
131144
132145
#### Recommended: autoconf-based build

0 commit comments

Comments
 (0)