seq icon indicating copy to clipboard operation
seq copied to clipboard

conda packaging

Open Juke34 opened this issue 4 years ago • 3 comments

Hi, I'm thinking to make it available through conda. see here https://github.com/bioconda/bioconda-recipes/pull/29660

I would need to know if deps.sh statically compiles dependencies in. Could you let me know?

Juke34 avatar Jul 22 '21 09:07 Juke34

Hi @Juke34, thanks for undertaking this daunting task 😄 Let me know how I can help.

Everything in deps.sh is statically compiled and linked directly to libseqrt except for OpenMP, which we package and ship as a shared library. For the purposes of Conda, though, maybe we can just list (LLVM's) OpenMP as a dependency.

The Seq installation itself consists of the following components:

  • libseq.so: the compiler itself is in this lib
  • libseqrt.so: runtime library
  • libomp.so: OpenMP
  • stdlib/: standard library .seq files
  • seqc: compiler binary

arshajii avatar Jul 22 '21 15:07 arshajii

I have created a conda package using the prebuilt binary. The recipe and dependent scripts can be found here: https://github.com/RasmusEdgar/seq-lang-conda-recipe

A problem I could not find a workaround to:

LD_LIBRARY_PATH needs to be set to include lib/seq when activating the environment where seq-lang is installed. If not set it was not possible to compile binaries from the seq code. See activate.sh and deactivate.sh.

Suggestions for improvements are welcome.

RasmusEdgar avatar Oct 28 '21 09:10 RasmusEdgar

Thanks a lot for this @RasmusEdgar -- will check it out soon.

The LD_LIBRARY_PATH issue should be resolvable on our end I believe when we're interfacing with clang. I'll look into this as well.

arshajii avatar Oct 28 '21 15:10 arshajii