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

Instructions for building from scratch #19

Open
Lerbytech opened this issue Mar 3, 2021 · 0 comments
Open

Instructions for building from scratch #19

Lerbytech opened this issue Mar 3, 2021 · 0 comments

Comments

@Lerbytech
Copy link

Lerbytech commented Mar 3, 2021

Last summer I really needed tmap working on my pc, but package didn't work due to "unspecified cpu instruction".
I had ubuntu 18.06. My friend had this package working on his mac, and another friend on Arch.. well he didn't want to build it)
Also there was no package for Windows. So... i had to build it from scratch.

Tmap assembly instructions

You need to know that:

OGDF related links:

Also there is anaconda repository - https://anaconda.org/tmap/tmap

All packages were collected by the author through this script - https://github.com/reymond-group/tmap/blob/master/azure-pipelines.yml

The test method of the assembled package is to run the script https://github.com/reymond-group/tmap/blob/master/tmap/tests/test_layout.py
Line 19 should work -### it is critical. If you debug and have error on this line - check previous errors. If still wrong - good luck.

tldr instructions:

  1. you need clean conda or miniconda for python 3.7 (3.6 is acceptable, but definitely not 3.8 - I don't think tmap can be built on this version of python)
  2. create an environment so as not to fuck up your own
  3. do conda install conda-build
  4. do conda build ogdf-conda
  5. do conda build tmap
  6. install built packages from local source (just google, it is easy)

IMPORTANT -after steps 4 and 5 you can find in console output locations of log files. Save them in safe place just in case.
sidenote - I had pythons 3.6 and 3.7, so two packages were built in my case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant