Closed GeorgeBGM closed 1 year ago
Hi @George-du, neither of us owns a Mac, but we would be happy to work with you in trying to make odgi
compilable there if you can. Which is the current starting point (problem)?
@George-du, have you tried something? It would be interesting having details about it, also regarding failures!
Dear odgi team, I have compiled it in a linux environment. I will try to compile odgi on Mac arm64 soon. Thanks, Du
@George-du, you may enjoy https://github.com/pangenome/odgi/pull/494!
Hello. I followed the instructions #494 above and compiled odgi on my M2 Mac mini.
brew install llvm jemalloc
CC=/opt/homebrew/opt/llvm/bin/clang CXX=/opt/homebrew/opt/llvm/bin/clang++ LDFLAGS=-L/opt/homebrew/lib cmake . -Bbuild
CC=/opt/homebrew/opt/llvm/bin/clang CXX=/opt/homebrew/opt/llvm/bin/clang++ LDFLAGS=-L/opt/homebrew/lib cmake --build build -- -j
I had to add "#include odgi/src/algorithms/progress.hpp
because I got the following error.
odgi/src/algorithms/progress.hpp:68:31: error: implicit instantiation of undefined template 'std::basic_stringstream<char>'
std::stringstream buffer;
^
Dear odgi team, I want to compile odgi on my Mac, can you suggest something about installing odgi on Mac arm64. Thanks, Du