Skip to content

Commit

Permalink
[linear algebra] Patch Openblas v0.3.10 to fix EXCEPTION_ACCESS_VIOLA…
Browse files Browse the repository at this point in the history
…TION (#42397)

* [OpenBLAS] cherry pick one patch to fix `zdot` crash

xref issue: #40963
cherry pick: OpenMathLib/OpenBLAS@b205323

* [test/LinearAlgebra] test Issue #40963

* [OpenBLAS] Update version

* [OpenBLAS] Update checksums
  • Loading branch information
inkydragon authored and staticfloat committed Dec 22, 2022
1 parent 32c23c4 commit 602d156
Show file tree
Hide file tree
Showing 5 changed files with 135 additions and 94 deletions.
7 changes: 6 additions & 1 deletion deps/blas.mk
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,12 @@ $(BUILDDIR)/$(OPENBLAS_SRC_DIR)/openblas-ofast-power.patch-applied: $(BUILDDIR)/
patch -p1 -f < $(SRCDIR)/patches/openblas-ofast-power.patch
echo 1 > $@

$(BUILDDIR)/$(OPENBLAS_SRC_DIR)/build-configured: $(BUILDDIR)/$(OPENBLAS_SRC_DIR)/openblas-ofast-power.patch-applied
$(BUILDDIR)/$(OPENBLAS_SRC_DIR)/openblas-julia40963-zdot.patch-applied: $(BUILDDIR)/$(OPENBLAS_SRC_DIR)/openblas-ofast-power.patch-applied
cd $(BUILDDIR)/$(OPENBLAS_SRC_DIR) && \
patch -p1 -f < $(SRCDIR)/patches/openblas-julia40963-zdot.patch
echo 1 > $@

$(BUILDDIR)/$(OPENBLAS_SRC_DIR)/build-configured: $(BUILDDIR)/$(OPENBLAS_SRC_DIR)/openblas-julia40963-zdot.patch-applied
echo 1 > $@

$(BUILDDIR)/$(OPENBLAS_SRC_DIR)/build-compiled: $(BUILDDIR)/$(OPENBLAS_SRC_DIR)/build-configured
Expand Down
Loading

0 comments on commit 602d156

Please sign in to comment.