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

Add toolchain in all the recipes #56

Open
pradal opened this issue Nov 7, 2017 · 3 comments
Open

Add toolchain in all the recipes #56

pradal opened this issue Nov 7, 2017 · 3 comments

Comments

@pradal
Copy link
Contributor

pradal commented Nov 7, 2017

To support ABI compatibiliy between all the recipes, I propose to use the conda-forge toolchain.
The toolchain defines all the flags (CXXFLAGS, ...), the compiler, ... that is the same for all the packages we build.

conda install toolchain -c conda-forge
See https://github.com/conda-forge/toolchain-feedstock

@pradal
Copy link
Contributor Author

pradal commented Jan 9, 2018

Another option is to use the Anaconda compilers.
Two solutions can be discussed:

  1. We build a package compiler_toolchain that embeds the latest C, C++ and Fortran compilers available. All binary openalea packages will then include as their dependency compiler_toolchain.

This package will contain something like :

requirements:
  build:
    - {{ compiler('cxx') }}

In this case, to share both the compiler and to share exact package version, we need to share a conda_build_config.yaml

  1. The second solution is, to depend on a compiler_toolchain package. This solution will of course rely on anaconda compiler, but will allow to not depend on conda_build_config.yaml

@pfernique @fredboudon @artzet-s

@pradal
Copy link
Contributor Author

pradal commented Jan 22, 2018

In conda-forge, they are looking at migrating from toolset to conda-build 3 and anaconda compilers:
conda-forge/conda-forge.github.io#460

@pradal
Copy link
Contributor Author

pradal commented Jan 31, 2018

I will migrate all the recipes on compilers

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