-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Adding quorum #2765
Adding quorum #2765
Conversation
🤕 I accidentally included an older recipe along with this PR. Doh! This PR now just includes Quorum, as intended. |
recipes/quorum/build.sh
Outdated
@@ -0,0 +1,9 @@ | |||
#!/bin/bash | |||
|
|||
pushd $SRC_DIR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be removed.
recipes/quorum/meta.yaml
Outdated
@@ -0,0 +1,30 @@ | |||
build: | |||
number: 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0
recipes/quorum/meta.yaml
Outdated
- yaggo >=1.5.8 | ||
- jellyfish | ||
run: | ||
- libgcc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libgcc # [linux]
recipes/quorum/meta.yaml
Outdated
md5: 14cc37310ff81b447148797afe551fe9 | ||
requirements: | ||
build: | ||
- gcc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gcc # [linux]
llvm # [osx]
recipes/quorum/build.sh
Outdated
#!/bin/bash | ||
|
||
pushd $SRC_DIR | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add: sed -i.bak '1 s|^.*$|#!/usr/bin/env perl|g' $PREFIX/bin/autoreconf
hopefully it will make it work.
Thank you for helping me troubleshoot this build (and also the autoconf package). I really appreciate your guidance. (I'll squash commits before merging.) |
recipes/quorum/meta.yaml
Outdated
- gcc # [linux] | ||
- llvm # [osx] | ||
- autoconf | ||
- automake |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you also need perl-threaded as build dependency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added!
Looks like autoreconf is still not working on linux. Also, it looks like it's getting jellyfish from conda-forge, while it should get the newer version from bioconda.
EDIT: see this PR on conda-forge for jellyfish: conda-forge/staged-recipes#1567 EDIT: Looks like it might need jellyfish 2.0. I've updated the needed version, so let's see! |
Let's see if the new |
recipes/quorum/build.sh
Outdated
@@ -0,0 +1,6 @@ | |||
sed -i.bak '1 s|^.*$|#!/usr/bin/env perl|g' $PREFIX/bin/autoreconf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We fixed autoconf, can you try to remove this and rebase against latest master?
@bgruening I've removed that sed command, as requested. My git skills are not that great, and It's possible that I may not properly synced this with the master branch. Your guidance is really helpful. |
Please try the following:
|
5530832
to
ba22c47
Compare
Thank you for your feedback! I've rebased my branch and updated this PR. Let's see how this works... |
Still not working... I've reached out to the quorum devs because I think this may have something to do with linking to jellyfish. Any ideas? |
My colleague and I can build this locally, but only once we set this as a local path:
We can set these paths in |
setting it to |
Ah, using I've got it working, but only with using |
Ideally, we should get it working with |
Thanks for the feedback. This should now build using Should I pursue a working |
I'm fine with this. But I'm not a OSX users, let's ask our famous @bioconda/osx subgroup :) |
Looks like building on OS X is a known problem with the package: gmarcais/Quorum#2. A bit of searching of that error leads down the path of Apple vs GCC C++ compatibility issues, which IMO are best left to the package devs to resolve. So using GCC for both platforms seems reasonable to me. |
The lib file name is slightly different on OSX and linux.
I'll try this code block: Is this the recommended way to accommodate this? |
This works fine with
conda build
but I should probably also test with./simulate-travis.py
...