... | ... | @@ -148,16 +148,6 @@ port install py-graph-tool |
|
|
|
|
|
If you encounter an error installing graph-tool via Macports, please file a bug report to that project directly, not graph-tool: https://trac.macports.org/wiki/Tickets
|
|
|
|
|
|
#### Compiler choice in MacOS X
|
|
|
|
|
|
TL;DR : Just use [clang](http://clang.llvm.org/) for everything.
|
|
|
|
|
|
Make sure you use the same compiler to compile the whole stack (Python, Boost, etc) or you may lead into problems. Since more recent versions of graph-tool, a compiler which supports [C++17](http://en.wikipedia.org/wiki/C++17) is required.
|
|
|
|
|
|
In an ideal world, the correct version should be the latest one from the "stock" [FSF GCC](http://gcc.gnu.org/), however it does not seem to be very well supported in the platform. The [clang](http://clang.llvm.org/) compiler seems to be the only viable option on the platform, and should therefore be used.
|
|
|
|
|
|
(If possible, a much better option would be to use a less [defective](http://www.defectivebydesign.org/apple) platform in the first place.)
|
|
|
|
|
|
### Anaconda
|
|
|
|
|
|
It's possible to install graph-tool using [Anaconda](https://anaconda.org) for both GNU/Linux and MacOS, via [conda-forge](https://anaconda.org/conda-forge/graph-tool). The packages are binary, so no compilation is necessary. Just type:
|
... | ... | |