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

Unnecessary cross-compilation for openblas-build #115

Open
gkobeaga opened this issue Feb 10, 2024 · 0 comments
Open

Unnecessary cross-compilation for openblas-build #115

gkobeaga opened this issue Feb 10, 2024 · 0 comments

Comments

@gkobeaga
Copy link
Contributor

In the process of cross-compiling, openblas-build is compiled to both host and target architectures, see #114. Building to the target architectures might not be necessary since openblas-build has its utilization exclusively for the download/build sequence of OpenBLAS.

As per my understanding, this happens because: 1) openblas-build is a build-dependency for openblas-src, so it is compiled to the host architecture; 2) it's a member of the virtual workspace, and it also ends up getting compiled to the target architecture.

One potential solution could be to remove openblas-build from the workspace. Stripping it away would result in a virtual workspace containing a single crate. Consequently, the logical step would be to move openblas-src to the root.

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

No branches or pull requests

1 participant