Skip to content

[openblas] Add feature simplethread and thread#18265

Merged
strega-nil-ms merged 6 commits intomicrosoft:masterfrom
JackBoosY:dev/jack/15698
Jun 10, 2021
Merged

[openblas] Add feature simplethread and thread#18265
strega-nil-ms merged 6 commits intomicrosoft:masterfrom
JackBoosY:dev/jack/15698

Conversation

@JackBoosY
Copy link
Copy Markdown
Contributor

@JackBoosY JackBoosY commented Jun 4, 2021

Add feature threads and simplethread that user can enable or disable them when building openblas.

Fixes #15698.

Already tested all features successfully on x86-windows and x64-windows-static.

@JackBoosY JackBoosY added category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:internal labels Jun 4, 2021
@JackBoosY
Copy link
Copy Markdown
Contributor Author

@TonyXiang8787 Can you please test this PR?
Install openblas[core] should be what you want.

@TonyXiang8787
Copy link
Copy Markdown

Tested!

root@19bb598141b2:~/vcpkg# ./vcpkg install openblas --dry-run
Computing installation plan...
The following packages will be built and installed:
    openblas[core,thread]:x64-linux -> 0.3.10#1
root@19bb598141b2:~/vcpkg# ./vcpkg install openblas[core] --dry-run
Computing installation plan...
The following packages will be built and installed:
    openblas[core]:x64-linux -> 0.3.10#1
root@19bb598141b2:~/vcpkg# ./vcpkg install openblas[thread] --dry-run
Computing installation plan...
The following packages will be built and installed:
    openblas[core,thread]:x64-linux -> 0.3.10#1
root@19bb598141b2:~/vcpkg# ./vcpkg install openblas[simplethread] --dry-run
Computing installation plan...
The following packages will be built and installed:
    openblas[core,simplethread,thread]:x64-linux -> 0.3.10#1

@JackBoosY
Copy link
Copy Markdown
Contributor Author

@TonyXiang8787 Please note only openblas built with core uses single thread.

@TonyXiang8787
Copy link
Copy Markdown

@JackBoosY I understand. The default behavior is kept the same (multi-threading) as current version.

@JackBoosY JackBoosY requested review from NancyLi1013 and PhoebeHui and removed request for NancyLi1013 June 7, 2021 02:13
Comment thread ports/openblas/portfile.cmake Outdated
Comment thread ports/openblas/vcpkg.json Outdated
Comment thread ports/openblas/vcpkg.json Outdated
Comment thread versions/o-/openblas.json Outdated
@PhoebeHui PhoebeHui added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Jun 7, 2021
@strega-nil-ms
Copy link
Copy Markdown
Contributor

Cool, thanks Jack!

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

Labels

category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[openblas] Support feature single-thread

4 participants