-
-
Notifications
You must be signed in to change notification settings - Fork 45
Build with pinned llvm-openmp #265
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -10,7 +10,7 @@ source: | |||||||||||||||||||||||||||||
sha256: cd2aac2b566c7e740d34aabb4737864c74ba33c29aad7101fbf1bab2931c02dc | ||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
build: | ||||||||||||||||||||||||||||||
number: 0 | ||||||||||||||||||||||||||||||
number: 1 | ||||||||||||||||||||||||||||||
skip: true # [py<39] | ||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
requirements: | ||||||||||||||||||||||||||||||
|
@@ -40,6 +40,9 @@ requirements: | |||||||||||||||||||||||||||||
- scipy >=1.8 # [aarch64] | ||||||||||||||||||||||||||||||
- joblib >=1.2.0 | ||||||||||||||||||||||||||||||
- threadpoolctl >=3.1.0 | ||||||||||||||||||||||||||||||
# See https://github.com/conda-forge/openmp-feedstock/issues/126 | ||||||||||||||||||||||||||||||
- llvm-openmp # [osx] | ||||||||||||||||||||||||||||||
- libgomp # [linux] | ||||||||||||||||||||||||||||||
Comment on lines
+43
to
+45
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need to do something like this (though maybe with tweaks) to better explicitly align versions between
Suggested change
Edit: This may need to be done with the compiler versions themselves
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, they are already pinned in scikit-learn-feedstock/.ci_support/osx_64_numpy2.0python3.11.____cpython.yaml Lines 21 to 22 in 8bb0be3
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is that sufficiently pinned for our needs? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry. Asking because this is only the major version and wasn't sure if that is enough for the use case that you asked about. If it is, great! |
||||||||||||||||||||||||||||||
run: | ||||||||||||||||||||||||||||||
- python | ||||||||||||||||||||||||||||||
- scipy | ||||||||||||||||||||||||||||||
|
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.
The same specifications are present in the
build
section.Should it be removed for the current on that you propose?
Uh oh!
There was an error while loading. Please reload this page.
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.
@xhochy: why mustn't the specification line 28 and line 29 be removed?
Edit: they must be present in this section, see the reasons in the documentation.
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.
Yes! In the perfect world, they would suffice.
Uh oh!
There was an error while loading. Please reload this page.
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.
Could we just add the desired pin in
build
?Should add I'm confused as to why the requirement in
build
is not already aligned with the compiler, which it is installed next toEdit: Maybe an example of the issue encountered would help. Is there one somewhere we can look at?
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.
I outlined the issue in conda-forge/openmp-feedstock#126 We actually install the desired pin in
build
but due to conda-builds internal behaviour, the run_exports is still taken from host. Thus, I don't see a solution where we don't add anything to host.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.
Ah ok. Thank you Uwe! Very helpful 🙂
Wrote up a reply there on what we could consider next: conda-forge/openmp-feedstock#126 (comment)
Agree this is the best we can do for now