Skip to content

Add a down-prioritized relaxed-SIMD variant of openblas-experimental - #6761

Merged
MMesch merged 8 commits into
emscripten-forge:mainfrom
jjerphan:openblas-experimental-relaxed-simd
Sep 15, 2026
Merged

MMesch merged 8 commits into
emscripten-forge:mainfrom
jjerphan:openblas-experimental-relaxed-simd

Conversation

@jjerphan

Copy link
Copy Markdown
Contributor

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 (from openblas-experimental)
  • Version: 0.3.35.dev0 (build 3), snapshot of OpenMathLib/OpenBLAS develop @ b4100af

Build Notes

Add a second WASM build variant for OpenBLAS #6020 relaxed SIMD, following the conda-forge OpenBLAS named-build-string pattern (openmp / pthreads):

Variant openblas_wasm_relaxed_simd Build string Solver priority
Portable SIMD128 (default) 0 simd128_h…_3 preferred
Relaxed SIMD / FMA 1 relaxed_simd_h…_3 down_prioritize_variant: 1

Users select explicitly, for example:

dependencies:
  - openblas=0.3.35* *simd128*        # portable default
  - openblas=0.3.35* *relaxed_simd*   # requires engine support

WASM_RELAXED_SIMD is passed through to Make from the variant. The relaxed-SIMD module will not instantiate on engines without the feature (notably shipping Safari / JavaScriptCore); see OpenBLAS docs.

The package version string is unchanged, so the build number is bumped to 3.

Patches

Unchanged (still the 11 emforge patches on b4100af).

Replaces closed #6760 (same change, reopened as draft after atomic commits).

@jjerphan
jjerphan marked this pull request as ready for review September 15, 2026 11:25

@MMesch MMesch left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks!

@MMesch
MMesch merged commit 3c176ae into emscripten-forge:main Sep 15, 2026
3 checks passed
@jjerphan
jjerphan deleted the openblas-experimental-relaxed-simd branch September 15, 2026 13:39
IsabelParedes pushed a commit that referenced this pull request Sep 15, 2026
…mental (#6761) (#6768)

Co-authored-by: emscripten-forge-bot <emscripten-forge-bot@users.noreply.github.com>
MMesch pushed a commit that referenced this pull request Sep 18, 2026
…6761)

* Add openblas_wasm_relaxed_simd to the global variant matrix

* Add simd128 and relaxed_simd build variants for openblas-experimental

Name both build strings (conda-forge openblas openmp/pthreads style),
down-prioritize relaxed_simd, and bump the build number to 3.

* Pass OPENBLAS_WASM_RELAXED_SIMD through to Make as WASM_RELAXED_SIMD

* Link OpenBLAS #6020 with its full GitHub URL in comments

* Rebase openblas-experimental patches onto develop @ 539bb47

* Update openblas-experimental to develop @ 539bb47

Bump the build number as the package version string is unchanged.

* Point relaxed-SIMD comments at OpenBLAS install.md WebAssembly docs

* Keep openblas-experimental build number at 3
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.

2 participants