forked from sdhash/sdhash
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL.macosx
More file actions
27 lines (19 loc) · 936 Bytes
/
INSTALL.macosx
File metadata and controls
27 lines (19 loc) · 936 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
To build on OS X Lion/Snow Leopard:
We have changed the program to no longer require g++4.4 or
higher. Xcode is necessary to build. We have tested the
most current versions of Xcode's gcc only as of May 2012.
To build/install the server version on OSX, the best way I
have found for thrift is to install thrift from MacPorts,
0.6.0 is the latest version, so the header stuff needs to
be regenerated.
After thrift is installed, in the sdhash-server directory
thrift --gen cpp sdhashsrv.thrift
thrift --gen py sdhashsrv.thrift
edit the sdhash-server Makefile to use /opt/local directories for thrift,
and build server/client/mgr programs with 'make'
We have not tested the GPU version on OS X as we have
no hardware with which to try it. If CUDA works, it
should as well.
Notes: Mavericks+latest Xcode will not work until Apple
decides they want to pull the OpenMP patches which are
already a part of clang. Apologies.