Experiment building scipy using openblas-flang #3905
Closed
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.
Experimental
scipyrecipe usingopenblas-flang, building on top of previous experiments. Some of thescipysubmodules/directories are disabled, I'm hoping these just need patches to their function arguments and/or return types. As it stands the recipe builds but loading of any of the*.sofails at runtime (e.g. tryimport scipy.linalg). I've disabled the tests as they just hang.Patch 7 includes two text files which list regexes to match filenames which do or do not need the return type and/or function arguments changed. I found it easiest to use this approach to ensure that where this information is needed more than once it is consistently applied, but these could just be replaced with standard patches to the source code.
Although it builds it is not clear that the correct flags are getting through to the compilers and linkers.