openblas: revision
openblas: revision

* added env TARGET="HASWELL" to openblas build
  Openblas currently builds with DYNAMIC_ARCH=1, but
  if you don't specify the target CPU then the bottled
  version can only be run on any machine whose CPU is
  as least as new as the CPU which built openblas.

  By specifying TARGET="HASWELL" older machine should
  be able to use the bottled version of openblas
  without having to build from scratch.

  See https://github.com/Homebrew/discussions/discussions/54
  for a discussion about how this error can cause
  libraries like numpy, which are built on openblas, to
  segfault.
* Added xianyi/OpenBLAS#2729 patch and fixed TARGET
  The currect version of openBLAS causes numpy to crash
  on HASWELL or later architectures when working with
  large matrices.  The first change is to patch openBLAS
  to fix this error.  According to the openBLAS developers
  this will be in 0.3.11 and so the patch can be removed
  then.

  I also adjusted the TARGET according to Jon Chang's
  suggestion so that it will build on the oldest
  possible architecture on both x86 and ARM. With
  DYNAMIC_ARCH=1 openBLAS should now work on all
  architectures.
* Moved the patch comments to the correct spot
  In my last commit I accidentally had the patch comments
  at the wrong spot in the formula.  This was because I
  moved things around to conform to the auditor.  This
  is now fixed.

Closes #62774.

Signed-off-by: Sean Molenaar <2b250e3fea88cfef248b497ad5fc17f7dc435154@users.noreply.github.com>
Signed-off-by: BrewTestBot <8a898ee6867e4f2028e63d2a6319b2224641c06c@users.noreply.github.com>

sjackman/homebrew-core,makigumo/homebrew-core,adam-moss/homebrew-core,Moisan/homebrew-core,mbcoguno/homebrew-core,JCount/homebrew-core,nandub/homebrew-core,zyedidia/homebrew-core,dsXLII/homebrew-core,cblecker/homebrew-core,zyedidia/homebrew-core,lemzwerg/homebrew-core,nandub/homebrew-core,sjackman/homebrew-core,mbcoguno/homebrew-core,chrisfinazzo/homebrew-core,Linuxbrew/homebrew-core,filcab/homebrew-core,Moisan/homebrew-core,filcab/homebrew-core,adam-moss/homebrew-core,JCount/homebrew-core,makigumo/homebrew-core,stgraber/homebrew-core,lemzwerg/homebrew-core,Linuxbrew/homebrew-core,Homebrew/homebrew-core,mfikes/homebrew-core,spaam/homebrew-core,uyjulian/homebrew-core,uyjulian/homebrew-core,nbari/homebrew-core,cblecker/homebrew-core,dsXLII/homebrew-core,Homebrew/homebrew-core,mfikes/homebrew-core,stgraber/homebrew-core,mbcoguno/homebrew-core,nbari/homebrew-core,spaam/homebrew-core,chrisfinazzo/homebrew-core