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

Run exports #239

Open
SylvainCorlay opened this issue Jan 6, 2023 · 6 comments
Open

Run exports #239

SylvainCorlay opened this issue Jan 6, 2023 · 6 comments

Comments

@SylvainCorlay
Copy link
Member

Comment:

The julia package should probably have a run_exports item for itself, pinning x.x.

@mkitti
Copy link
Contributor

mkitti commented Jan 7, 2023

What would be a good test to see if that setting is working?

My understanding is that this will take requirements from build and host and make them run requirements.

https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html?highlight=run_exports%20#export-runtime-requirements

@SylvainCorlay
Copy link
Member Author

The goal is for people linking with Julia's C API (having julia as a host dependency) to automatically inherit it as a run dependency pinning down the requirement to what will be binary compatible with what was used at build time.

A regular run_exports section in the Julia feedstock adding julia as a run_export of itself would do that.

(Strong run exports are typically for compilers and is not relevant here).

@mkitti
Copy link
Contributor

mkitti commented Jan 10, 2023

@ngam do you have any thoughts here? Otherwise, I'll draft the pull request.

@ngam
Copy link
Contributor

ngam commented Jan 10, 2023

That’s a good idea.

On a side note (especially relevant later when we have more of a julia ecosystem): we should add a julia global pin with x.x as well

@ngam
Copy link
Contributor

ngam commented Jan 10, 2023

I can also help with the PR. There are many examples in conda-forge we could follow

@ngam ngam added enhancement and removed question labels Jan 10, 2023
@mkitti
Copy link
Contributor

mkitti commented Feb 28, 2023

(Strong run exports are typically for compilers and is not relevant here).

Technically, Julia is a compiler. It becomes more like a traditional compiler in version 1.9 in that it is creating shared libraries, .so, files per package. It may be to the degree that we may want to compile those shared libraries for the user and distribute them.

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

No branches or pull requests

3 participants