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

gcc 7.2 with conda-build 3; fix octopus recipe #9904

Closed
chapmanb opened this issue Jul 14, 2018 · 3 comments
Closed

gcc 7.2 with conda-build 3; fix octopus recipe #9904

chapmanb opened this issue Jul 14, 2018 · 3 comments

Comments

@chapmanb
Copy link
Member

@bioconda/core

I'm working on fixing the currently blacklisted octopus recipe and am not sure how to, or if we can, specify gcc 7.2 with the switch over to conda-build 3. There are some other discussion threads on recent gccs (#5297) but I'm not sure what the current status is with the switch over and what we currently recommend to do this for forward compatibility with conda-forge. octopus requires gcc 6.3 or greater and I previously had this working with the gcc_linux-64 packages (https://github.com/bioconda/bioconda-recipes/pull/7502/files). Does anyone have any pointers or docs on the current approach to do this? Thanks much.

@druvus
Copy link
Member

druvus commented Jul 14, 2018

@mbargull and @johanneskoester gave the following advice in the gitter channel and it has been used successfully for the stacks 2.0 recipe.

you can add a recipe/conda_build_config.yaml file with contents like:

c_compiler:
  - gcc      # [linux]
  - clang    # [osx]
cxx_compiler:
  - gxx      # [linux]
  - clangxx  # [osx]

which should give you the newer Anaconda compiler packages.

@bgruening
Copy link
Member

Also have a look at the stacks recipe.

chapmanb added a commit to chapmanb/bioconda-recipes that referenced this issue Jul 15, 2018
- octopus: Re-enable builds using gcc 7.2, removing from blacklist.
  Thanks to tips from bioconda#9904. Still uses custom boost build until
  conda-forge boost available with 7.2 support.
- bcbio: latest development version with CWL ensemble support
chapmanb added a commit to chapmanb/bioconda-recipes that referenced this issue Jul 15, 2018
- octopus: Re-enable builds using gcc 7.2, removing from blacklist.
  Thanks to tips from bioconda#9904. Still uses custom boost build until
  conda-forge boost available with 7.2 support.
- bcbio: latest development version with CWL ensemble support
@chapmanb
Copy link
Member Author

Andreas and Björn;
Thanks so much for the tips and pointer to the stacks recipe. This was exactly what I needed and I was able to get octopus built with this additional file. For anyone who comes across this thread, the octopus recipe is another example of how to use the latest compilers:

https://github.com/bioconda/bioconda-recipes/tree/master/recipes/octopus

Thank you again for all the help.

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

3 participants