Closed bede closed 8 years ago
Hi Bede,
thanks for the info. Most of this is actually already covered in the INSTALL file:
Clang was never supported (even though it might not take much change). GCC is required. Quote:
You will need a recent GCC/G++ version (>=4.7) to compile the source.
Yes, CC and CXX are ignored and GCC/GCC_MAC is used instead. Quote:
To override the default compiler choice you can set GCC (or GCC_MAC on Mac), e.g.: GCC=/usr/local/bin/g++ make
A freshly unpacked release can also be compiled like that on OS X:
make clean
export GCC_MAC=/opt/local/bin/g++-mp-4.8
make deps
make mac
Supporting Clang might be the best route in the future
Andreas
Apologies @andreas-wilm for my oversight.
Of course Clang support would be easier, but anyone who has installed a modest number of bioinformatics software packages has had to grapple with GCC. As long as it is documented clearly then I don't see a big problem. Installing GCC with Homebrew is trivial.
Bede
Hi there, In spite of the Makefile seemingly accomodating OS X, make failed for me using Clang which was no big surprise. Your Makefile also seemingly ignores the CC and CXX environment variables and uses its own variables which need to be set.
Using GCC 5.3 and OpenMPI installed with Homebrew, these were steps I used to build graphmap on OS 10.10.5.
Perhaps this may help others:
Binaries then appear in a
bin/Linux-x64
directory... But they are executable.Best wishes, Bede