-
-
Notifications
You must be signed in to change notification settings - Fork 39
ensure versions for output 'blas' don't overlap #60
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 |
|---|---|---|
| @@ -1,7 +1,11 @@ | ||
| {% set version = "3.9.0" %} | ||
| # if build_num is reset to 0 (for new version), update increment for blas_minor below | ||
| {% set build_num = 5 %} | ||
| {% set version_major = version.split(".")[0] %} | ||
| {% set blas_major = "2" %} | ||
| # make sure we do not create colliding version strings of output "blas" | ||
| # for builds across lapack-versions within the same blas_major | ||
| {% set blas_minor = build_num + 100 %} | ||
|
|
||
| # blas_major denotes major infrastructural change to how blas is managed | ||
| package: | ||
|
|
@@ -178,7 +182,7 @@ outputs: | |
|
|
||
| # For compatiblity | ||
| - name: blas | ||
| version: "{{ blas_major }}.{{ build_num }}" | ||
| version: "{{ blas_major }}.{{ blas_minor }}" | ||
| script: test_blas.sh # [unix] | ||
| script: test_blas.bat # [win] | ||
| build: | ||
|
|
@@ -220,6 +224,7 @@ outputs: | |
| - if not exist %LIBRARY_BIN%/liblapacke.dll exit 1 # [win] | ||
|
|
||
| - name: blas-devel | ||
| # uses lapack {{ version }}, not {{ blas_major }} | ||
|
Member
Author
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. I was double-checking this, because it's not immediately clear from the recipe what's happening here. To be honest, I was surprised that |
||
| build: | ||
| string: "{{ build_num }}_{{ blas_impl }}" | ||
| requirements: | ||
|
|
||
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.
Let's change this to
22and make a comment that it should not be reset to 0There 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.
It's not by a big margin, but I don't think that's a better solution, for two reasons:
build_numbuild_numshould beThere 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 don't really agree with 1., but 2 is good enough. Can you add a comment above that if it is reset, then blas_minor offset needs to be updated.
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.
Thanks, done.
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.
As a matter of fact, what do you think about creating a 3.8 branch here and we do one more build that has a consistent build number & corresponding blas-version? Because currently, there's a bit of an eclectic mix with blas builds for 3.9 but with low numbers
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.
It'll still be hard to follow as well.
netlibbuilds are done with a different build number as well and I don't think we'll be able to keep the build numbers in sync for different blas implementations and IMO that's okay.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.
Sure, but the
netlibones don't have an associatedblaspackage.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.
Nevermind, they do. OK, I'll drop the argument for a 3.8 rebuild, thanks for the exchange
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.
Thanks for the discussion. I really appreciate your work on better BLAS support on conda-forge.
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.
Happy to hear it! :)