-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
support simultaneous linking of 32- and 64-bit ABIs #319
Comments
Hi, we cannot simply rewrite the whole build process. What do you think about that? Best regards Werner |
@wernsaar, we can just use (Third-party code should be able to link to the int32 version, but I don't think we need to build it ourselves.) |
On 08.06.2014 21:44, Steven G. Johnson wrote:
please give me some extra lines as example. Werner |
@wernsaar, see this comment |
As I noted at JuliaLang/julia#4923 (comment), it could be interesting (on Linux/BSD) to bundle both LP64 and ILP64 in a single library, using symbol versioning so that programs that have no clue use the former, and those who are aware of ILP64 use it. That would prevent conflicts when mixing libraries that use both, without requiring to patch all calls in a library. |
It would be good to have a way to link both the 32- and 64-bit (
INTERFACE64=1
) versions of OpenBLAS in the same executable. (Note: I am referring to the size of the integer arguments, not the pointer sizes.) To do this, one would need a different name for the latter functions, e.g.cblas_dgemm64
anddgemm64
.We ran into this in Julia, which links the 64-bit OpenBLAS interface, because then it is problematic to link to third-party libraries which want a 32-bit BLAS; see JuliaLang/julia#4923
Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: