Skip to content

Update openblas with improved shared library building workflow#5132

Merged
ianthomas23 merged 2 commits intoemscripten-forge:mainfrom
ianthomas23:openblas-static-shared
Mar 23, 2026
Merged

Update openblas with improved shared library building workflow#5132
ianthomas23 merged 2 commits intoemscripten-forge:mainfrom
ianthomas23:openblas-static-shared

Conversation

@ianthomas23
Copy link
Copy Markdown
Collaborator

Template B: Checklist for updating a package

  • ⚠️ Bump build number if the version remains unchanged
  • Or reset build number to 0 if updating the package to a newer version

PR Formatting

  • PR title follows format: Add [package-name] or Update [package-name] to [version]
  • PR description includes:
    • Version being added/updated
    • Any special build considerations or patches applied

Package Details

  • Package Name: openblas
  • Version: 0.3.31

Build Notes

Previously the openblas recipe built static llbraries using the source package makefiles but the shared libraries were built in a manual step. This PR improves the building workflow by using the source package makefiles for both, by specifying the C and Fortan compiler flags a bit more carefully and adding a one-line patch to one of the makefiles to avoid the shared library building trying to link with system libraries that are not required. The result of this is that the generated shared libraries are correctly versioned and the build config files include extra information that makes building downstream libraries easier to do.

@ianthomas23 ianthomas23 merged commit 2be9901 into emscripten-forge:main Mar 23, 2026
2 checks passed
@ianthomas23 ianthomas23 deleted the openblas-static-shared branch March 23, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant