Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation on Mac M1 Monterey 12.5.1 #35

Open
hoontlabs opened this issue Sep 6, 2022 · 4 comments
Open

Installation on Mac M1 Monterey 12.5.1 #35

hoontlabs opened this issue Sep 6, 2022 · 4 comments
Labels
duplicate This issue or pull request already exists

Comments

@hoontlabs
Copy link

Hi there, I have been trying to install TMAP on my macbook pro running M1 and have tried various means after conda didn't work for me (using rosetta etc). I was wondering if anyone has managed to install this successfully?
much appreciated.
Shawn

@roman-bushuiev
Copy link

I have the same problem. 😢

@thegodone
Copy link

my solution using an ubuntu image via Docker, the commit after break the compilation.

RUN git clone -b development --single-branch https://github.com/reymond-group/tmap.git tmapdev
RUN cd tmapdev && git checkout 37de7b1

RUN cd tmapdev/ogdf-conda/src && mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/tmp/ogdf_install -DCMAKE_CXX_FLAGS=-fPIC -DBUILD_SHARED_LIBS=ON && make -j4 && make install && cd .. && rm -r build

RUN cd tmapdev && ln -s /tmp/ogdf_install/include /include && cp /tmp/ogdf_install/lib/aarch64-linux-gnu/*.so /lib/aarch64-linux-gnu

RUN cd tmapdev && python setup.py install

@nateharms
Copy link

Hi @daenuprobst, thanks for putting this package together!

I have the same problem as @hoontlabs and @roman-bushuiev. I got a new M1 MacbookPro and I was trying to run some code which uses TMAP but my Jupyter kernel crashes whenever I try to import the package.

I do appreciate the docker solution that @thegodone put up, but I'd really appreciate a conda package configured for M1 Macs 🤗

@doublethefish doublethefish added the duplicate This issue or pull request already exists label Nov 2, 2022
@doublethefish
Copy link
Collaborator

See #33. We'll probably merge those changes in soon-ish, once the licensing issue is fixed.

@nateharms we probably won't support conda in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

5 participants