Repository navigation
Conversation
Map the Fortran routines to their C counterparts for C_LAPACK and omit the Fortran-only modules. Include the existing C QZ routines and the OpenBLAS headers used by the C random-number routines.
Read the Netlib lists in a local scope and account for the OpenBLAS source differences in the outer build. Select optional wrappers by precision and expose the existing matrix-generator option.
Keep the LAPACK, LAPACKE and ReLAPACK C definitions on their targets. Preserve default symbol visibility for the public C interfaces with the existing directory-wide compiler flags.
Pass the multiple-definition option to the target link step using the compiler driver's linker-option syntax.
Define USE64BITINT in the cross-build configuration. Generate the two installed LAPACKE headers that select the ILP64 ABI from the bundled headers, and use the bundled mangling header for LP64.
Reuse the bundled driver targets and input runner from a small OpenBLAS test directory. Select cases by driver availability and use the matching GESVJ sources.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR consolidates LAPACK source selection in the OpenBLAS build. It shares one routine list between the C and Fortran implementations and reuses the bundled Netlib lists for LAPACKE, with OpenBLAS-specific adjustments in the outer CMake rules.