Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

conda packaging #224

Open
Juke34 opened this issue Jul 22, 2021 · 3 comments
Open

conda packaging #224

Juke34 opened this issue Jul 22, 2021 · 3 comments

Comments

@Juke34
Copy link

Juke34 commented Jul 22, 2021

Hi,
I'm thinking to make it available through conda.
see here bioconda/bioconda-recipes#29660

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

@arshajii
Copy link
Member

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

@RasmusEdgar
Copy link

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.

@arshajii
Copy link
Member

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.

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

No branches or pull requests

3 participants