Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[POC] Statically link to openblas #19068

Closed
wants to merge 5 commits into from
Closed

Conversation

Zha0q1
Copy link
Contributor

@Zha0q1 Zha0q1 commented Sep 1, 2020

This is a POC for statically linking to openblas and hiding blas/lapack symbols to avoid the name clashing issue as discussed here: #18855. This is meant as a reference rather for merging

For static build (using incubator-mxnet/tools/staticbuild/build.sh), we have #18872 to hide all the unwanted symbols, but this might be an overkill. In this pr, I listed explicitly what blas/lapack symbols to hide in the version script (linux only).

To friends at intel: I am linking to openblas in this poc, but I think we would need something very similar with mkl: 1. static link, 2. symbol stripping.

@mxnet-bot
Copy link

Hey @Zha0q1 , Thanks for submitting the PR
All tests are already queued to run once. If tests fail, you can trigger one or more tests again with the following commands:

  • To trigger all jobs: @mxnet-bot run ci [all]
  • To trigger specific jobs: @mxnet-bot run ci [job1, job2]

CI supported jobs: [unix-gpu, website, sanity, centos-cpu, unix-cpu, windows-gpu, edge, miscellaneous, windows-cpu, clang, centos-gpu]


Note:
Only following 3 categories can trigger CI :PR Author, MXNet Committer, Jenkins Admin.
All CI tests must pass before the PR can be merged.

@Zha0q1 Zha0q1 closed this Feb 15, 2021
@Zha0q1 Zha0q1 changed the title [POC] Statically link to openblas Statically link to openblas Sep 29, 2021
@Zha0q1 Zha0q1 changed the title Statically link to openblas [POC] Statically link to openblas Sep 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants