From d216efafa744f55e1490f3bd82df5e8c0495edbb Mon Sep 17 00:00:00 2001 From: Isaia Nisoli Date: Tue, 7 Feb 2023 17:26:39 +0900 Subject: [PATCH] Removed all versions below 0.3.21 --- .../build_tarballs.jl | 17 - .../build_tarballs.jl | 19 - .../patches/neoverse-generic-kernels.patch | 19 - .../patches/openblas-julia40963-zdot.patch | 26 -- ...as-julia42415-lapack625-openblas3392.patch | 95 ----- .../patches/openblas-ofast-power.patch | 33 -- .../bundled/patches/openblas-winexit.patch | 177 --------- .../build_tarballs.jl | 17 - .../dasum_microk_skylakex-typecast.patch | 17 - .../patches/neoverse-generic-kernels.patch | 19 - .../patches/openblas-ofast-power.patch | 29 -- .../bundled/patches/openblas-winexit.patch | 166 --------- .../build_tarballs.jl | 20 - ...flag-on-zgemm-kernels-as-it-can-caus.patch | 162 -------- ...mavx-on-Sandybridge-ZGEMM-ZTRMM-kern.patch | 221 ----------- .../patches/neoverse-generic-kernels.patch | 19 - .../openblas-armv8-volatile-detecion.patch | 23 -- .../bundled/patches/openblas-exshift.patch | 149 -------- ...as-julia42415-lapack625-openblas3392.patch | 95 ----- .../patches/openblas-ofast-power.patch | 29 -- .../bundled/patches/openblas-winexit.patch | 166 --------- .../build_tarballs.jl | 18 - .../patches/neoverse-generic-kernels.patch | 19 - ...as-julia42415-lapack625-openblas3392.patch | 95 ----- .../patches/openblas-ofast-power.patch | 30 -- .../bundled/patches/openblas-winexit.patch | 170 --------- .../build_tarballs.jl | 19 - ...01-Guard-uses-of-_mm512_reduce_add_p.patch | 95 ----- .../patches/neoverse-generic-kernels.patch | 19 - .../patches/openblas-ofast-power.patch | 31 -- .../bundled/patches/openblas-winexit.patch | 170 --------- .../build_tarballs.jl | 16 - .../build_tarballs.jl | 16 - .../patches/openblas-ofast-power.patch | 29 -- .../bundled/patches/openblas-winexit.patch | 346 ------------------ .../build_tarballs.jl | 17 - .../fix-initialization-to-tzero-arm64.patch | 67 ---- .../patches/openblas-ofast-power.patch | 33 -- .../bundled/patches/openblas-winexit.patch | 177 --------- .../build_tarballs.jl | 17 - .../patches/neoverse-generic-kernels.patch | 19 - .../patches/openblas-julia40963-zdot.patch | 26 -- .../patches/openblas-ofast-power.patch | 33 -- .../bundled/patches/openblas-winexit.patch | 177 --------- .../build_tarballs.jl | 17 - .../dasum_microk_skylakex-typecast.patch | 17 - .../patches/neoverse-generic-kernels.patch | 19 - .../patches/openblas-ofast-power.patch | 29 -- .../bundled/patches/openblas-winexit.patch | 166 --------- .../build_tarballs.jl | 17 - ...flag-on-zgemm-kernels-as-it-can-caus.patch | 162 -------- ...mavx-on-Sandybridge-ZGEMM-ZTRMM-kern.patch | 221 ----------- .../patches/neoverse-generic-kernels.patch | 19 - .../openblas-armv8-volatile-detecion.patch | 23 -- .../bundled/patches/openblas-exshift.patch | 149 -------- .../patches/openblas-ofast-power.patch | 29 -- .../bundled/patches/openblas-winexit.patch | 166 --------- .../patches/neoverse-generic-kernels.patch | 19 - .../patches/openblas-ofast-power.patch | 30 -- .../bundled/patches/openblas-winexit.patch | 170 --------- .../build_tarballs.jl | 2 +- .../patches/openblas-avx512_sgemm.patch | 0 .../patches/openblas-ofast-power.patch | 0 .../patches/openblas-skylakexdgemm.patch | 0 .../bundled/patches/openblas-winexit.patch | 0 .../build_tarballs.jl | 17 - .../patches/openblas-avx512_sgemm.patch | 29 -- .../patches/openblas-ofast-power.patch | 17 - .../patches/openblas-skylakexdgemm.patch | 22 -- .../bundled/patches/openblas-winexit.patch | 27 -- .../build_tarballs.jl | 17 - .../patches/openblas-ofast-power.patch | 29 -- .../bundled/patches/openblas-winexit.patch | 346 ------------------ O/OpenBLASConsistentFPCSR/common.jl | 36 -- 74 files changed, 1 insertion(+), 4951 deletions(-) delete mode 100644 O/OpenBLAS/OpenBLASHighCoreCount@0.3.17/build_tarballs.jl delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/build_tarballs.jl delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/neoverse-generic-kernels.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/openblas-julia40963-zdot.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/openblas-julia42415-lapack625-openblas3392.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/openblas-ofast-power.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/openblas-winexit.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/build_tarballs.jl delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/bundled/patches/dasum_microk_skylakex-typecast.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/bundled/patches/neoverse-generic-kernels.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/bundled/patches/openblas-ofast-power.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/bundled/patches/openblas-winexit.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/build_tarballs.jl delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/0001-filter-out-mavx-flag-on-zgemm-kernels-as-it-can-caus.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/0002-Only-filter-out-mavx-on-Sandybridge-ZGEMM-ZTRMM-kern.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/neoverse-generic-kernels.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-armv8-volatile-detecion.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-exshift.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-julia42415-lapack625-openblas3392.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-ofast-power.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-winexit.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/build_tarballs.jl delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/bundled/patches/neoverse-generic-kernels.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/bundled/patches/openblas-julia42415-lapack625-openblas3392.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/bundled/patches/openblas-ofast-power.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/bundled/patches/openblas-winexit.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/build_tarballs.jl delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/bundled/patches/0001-Guard-uses-of-_mm512_reduce_add_p.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/bundled/patches/neoverse-generic-kernels.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/bundled/patches/openblas-ofast-power.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/bundled/patches/openblas-winexit.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.5/build_tarballs.jl delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.7/build_tarballs.jl delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.7/bundled/patches/openblas-ofast-power.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.7/bundled/patches/openblas-winexit.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.9/build_tarballs.jl delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.9/bundled/patches/fix-initialization-to-tzero-arm64.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.9/bundled/patches/openblas-ofast-power.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.9/bundled/patches/openblas-winexit.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/build_tarballs.jl delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/bundled/patches/neoverse-generic-kernels.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/bundled/patches/openblas-julia40963-zdot.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/bundled/patches/openblas-ofast-power.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/bundled/patches/openblas-winexit.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/build_tarballs.jl delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/bundled/patches/dasum_microk_skylakex-typecast.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/bundled/patches/neoverse-generic-kernels.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/bundled/patches/openblas-ofast-power.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/bundled/patches/openblas-winexit.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/build_tarballs.jl delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/0001-filter-out-mavx-flag-on-zgemm-kernels-as-it-can-caus.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/0002-Only-filter-out-mavx-on-Sandybridge-ZGEMM-ZTRMM-kern.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/neoverse-generic-kernels.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/openblas-armv8-volatile-detecion.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/openblas-exshift.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/openblas-ofast-power.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/openblas-winexit.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.17/bundled/patches/neoverse-generic-kernels.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.17/bundled/patches/openblas-ofast-power.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.17/bundled/patches/openblas-winexit.patch rename O/OpenBLASConsistentFPCSR/{OpenBLASConsistentFPCSRHighCoreCount@0.3.17 => OpenBLASConsistentFPCSRHighCoreCount@0.3.21}/build_tarballs.jl (96%) rename O/OpenBLASConsistentFPCSR/{OpenBLASConsistentFPCSR@0.3.5 => OpenBLASConsistentFPCSRHighCoreCount@0.3.21}/bundled/patches/openblas-avx512_sgemm.patch (100%) rename O/OpenBLASConsistentFPCSR/{OpenBLASConsistentFPCSR@0.3.5 => OpenBLASConsistentFPCSRHighCoreCount@0.3.21}/bundled/patches/openblas-ofast-power.patch (100%) rename O/OpenBLASConsistentFPCSR/{OpenBLASConsistentFPCSR@0.3.5 => OpenBLASConsistentFPCSRHighCoreCount@0.3.21}/bundled/patches/openblas-skylakexdgemm.patch (100%) rename O/OpenBLASConsistentFPCSR/{OpenBLASConsistentFPCSR@0.3.5 => OpenBLASConsistentFPCSRHighCoreCount@0.3.21}/bundled/patches/openblas-winexit.patch (100%) delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/build_tarballs.jl delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/bundled/patches/openblas-avx512_sgemm.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/bundled/patches/openblas-ofast-power.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/bundled/patches/openblas-skylakexdgemm.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/bundled/patches/openblas-winexit.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.7/build_tarballs.jl delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.7/bundled/patches/openblas-ofast-power.patch delete mode 100644 O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.7/bundled/patches/openblas-winexit.patch diff --git a/O/OpenBLAS/OpenBLASHighCoreCount@0.3.17/build_tarballs.jl b/O/OpenBLAS/OpenBLASHighCoreCount@0.3.17/build_tarballs.jl deleted file mode 100644 index ec532eb3866..00000000000 --- a/O/OpenBLAS/OpenBLASHighCoreCount@0.3.17/build_tarballs.jl +++ /dev/null @@ -1,17 +0,0 @@ -using BinaryBuilder - -include("../common.jl") - -# Collection of sources required to build OpenBLAS -name = "OpenBLASHighCoreCount" -version = v"0.3.17" - -sources = openblas_sources(version) -script = openblas_script(num_64bit_threads=128, aarch64_ilp64=true) -platforms = openblas_platforms() -products = openblas_products() -dependencies = openblas_dependencies() - -# Build the tarballs -build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; - preferred_gcc_version=v"6", lock_microarchitecture=false, julia_compat="1.7") diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/build_tarballs.jl b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/build_tarballs.jl deleted file mode 100644 index bd34970ccb8..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/build_tarballs.jl +++ /dev/null @@ -1,19 +0,0 @@ -using BinaryBuilder - -include("../common.jl") - -# Collection of sources required to build OpenBLAS -name = "OpenBLASConsistentFPCSR" -version = v"0.3.10" - -sources = openblas_sources(version) -script = openblas_script(;aarch64_ilp64=false, num_64bit_threads=32) -platforms = openblas_platforms(;experimental=true) -products = openblas_products() -dependencies = openblas_dependencies() - -# Build the tarballs -build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; - preferred_gcc_version=v"6", lock_microarchitecture=false, julia_compat="1.6") - -# Rebuild count: 1 diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/neoverse-generic-kernels.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/neoverse-generic-kernels.patch deleted file mode 100644 index ab37e3783bf..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/neoverse-generic-kernels.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/kernel/arm64/KERNEL.NEOVERSEN1 b/kernel/arm64/KERNEL.NEOVERSEN1 -index ea010db4..074d7215 100644 ---- a/kernel/arm64/KERNEL.NEOVERSEN1 -+++ b/kernel/arm64/KERNEL.NEOVERSEN1 -@@ -91,10 +91,10 @@ IDAMAXKERNEL = iamax_thunderx2t99.c - ICAMAXKERNEL = izamax_thunderx2t99.c - IZAMAXKERNEL = izamax_thunderx2t99.c - --SNRM2KERNEL = scnrm2_thunderx2t99.c --DNRM2KERNEL = dznrm2_thunderx2t99.c --CNRM2KERNEL = scnrm2_thunderx2t99.c --ZNRM2KERNEL = dznrm2_thunderx2t99.c -+SNRM2KERNEL = nrm2.S -+DNRM2KERNEL = nrm2.S -+CNRM2KERNEL = znrm2.S -+ZNRM2KERNEL = znrm2.S - - DDOTKERNEL = dot_thunderx2t99.c - SDOTKERNEL = dot_thunderx2t99.c diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/openblas-julia40963-zdot.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/openblas-julia40963-zdot.patch deleted file mode 100644 index c5e4e7bb07b..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/openblas-julia40963-zdot.patch +++ /dev/null @@ -1,26 +0,0 @@ -From b2053239fc36f9ca8c29286d8fc553d0200907b0 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Sun, 23 Aug 2020 15:08:16 +0200 -Subject: [PATCH] Fix mssing dummy parameter (imag part of alpha) of - zdot_thread_function - ---- - kernel/x86_64/zdot.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/kernel/x86_64/zdot.c b/kernel/x86_64/zdot.c -index 90fd86da..1bc785ac 100644 ---- a/kernel/x86_64/zdot.c -+++ b/kernel/x86_64/zdot.c -@@ -168,7 +168,7 @@ static void zdot_compute (BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLO - - #if defined(SMP) - static int zdot_thread_function(BLASLONG n, BLASLONG dummy0, --BLASLONG dummy1, FLOAT dummy2, FLOAT *x, BLASLONG inc_x, FLOAT *y, -+BLASLONG dummy1, FLOAT dummy2r, FLOAT dummy2i, FLOAT *x, BLASLONG inc_x, FLOAT *y, - BLASLONG inc_y, FLOAT *result, BLASLONG dummy3) - { - zdot_compute(n, x, inc_x, y, inc_y, (void *)result); --- -2.33.0 - diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/openblas-julia42415-lapack625-openblas3392.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/openblas-julia42415-lapack625-openblas3392.patch deleted file mode 100644 index e7b874b961c..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/openblas-julia42415-lapack625-openblas3392.patch +++ /dev/null @@ -1,95 +0,0 @@ -From 2be5ee3cca97a597f2ee2118808a2d5eacea050c Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Fri, 1 Oct 2021 11:17:21 +0200 -Subject: [PATCH 1/4] Fix out of bounds read in ?llarv (Reference-LAPACK PR - 625) - ---- - lapack-netlib/SRC/clarrv.f | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lapack-netlib/SRC/clarrv.f b/lapack-netlib/SRC/clarrv.f -index a45f55ac3b..26a9febc87 100644 ---- a/lapack-netlib/SRC/clarrv.f -+++ b/lapack-netlib/SRC/clarrv.f -@@ -351,7 +351,7 @@ SUBROUTINE CLARRV( N, VL, VU, D, L, PIVMIN, - * - * Quick return if possible - * -- IF( N.LE.0 ) THEN -+ IF( (N.LE.0) .OR. (M.LE.0) ) THEN - RETURN - END IF - * - -From fe497efa0510466fd93578aaf9da1ad8ed4edbe7 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Fri, 1 Oct 2021 11:18:20 +0200 -Subject: [PATCH 2/4] Fix out of bounds read in ?llarv (Reference-LAPACK PR - 625) - ---- - lapack-netlib/SRC/dlarrv.f | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lapack-netlib/SRC/dlarrv.f b/lapack-netlib/SRC/dlarrv.f -index 4a59a2bbf9..a1c6e9c9d7 100644 ---- a/lapack-netlib/SRC/dlarrv.f -+++ b/lapack-netlib/SRC/dlarrv.f -@@ -353,7 +353,7 @@ SUBROUTINE DLARRV( N, VL, VU, D, L, PIVMIN, - * - * Quick return if possible - * -- IF( N.LE.0 ) THEN -+ IF( (N.LE.0).OR.(M.LE.0) ) THEN - RETURN - END IF - * - -From ddb0ff5353637bb5f5ad060c9620e334c143e3d7 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Fri, 1 Oct 2021 11:19:07 +0200 -Subject: [PATCH 3/4] Fix out of bounds read in ?llarv (Reference-LAPACK PR - 625) - ---- - lapack-netlib/SRC/slarrv.f | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lapack-netlib/SRC/slarrv.f b/lapack-netlib/SRC/slarrv.f -index 04519fde8c..9448b2fd92 100644 ---- a/lapack-netlib/SRC/slarrv.f -+++ b/lapack-netlib/SRC/slarrv.f -@@ -353,7 +353,7 @@ SUBROUTINE SLARRV( N, VL, VU, D, L, PIVMIN, - * - * Quick return if possible - * -- IF( N.LE.0 ) THEN -+ IF( (N.LE.0).OR.(M.LE.0) ) THEN - RETURN - END IF - * - -From 337b65133df174796794871b3988cd03426e6d41 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Fri, 1 Oct 2021 11:19:53 +0200 -Subject: [PATCH 4/4] Fix out of bounds read in ?llarv (Reference-LAPACK PR - 625) - ---- - lapack-netlib/SRC/zlarrv.f | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lapack-netlib/SRC/zlarrv.f b/lapack-netlib/SRC/zlarrv.f -index 23976dbefe..8d10e3c2e3 100644 ---- a/lapack-netlib/SRC/zlarrv.f -+++ b/lapack-netlib/SRC/zlarrv.f -@@ -351,7 +351,7 @@ SUBROUTINE ZLARRV( N, VL, VU, D, L, PIVMIN, - * - * Quick return if possible - * -- IF( N.LE.0 ) THEN -+ IF( (N.LE.0).OR.(M.LE.0) ) THEN - RETURN - END IF - * diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/openblas-ofast-power.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/openblas-ofast-power.patch deleted file mode 100644 index 3d777eb2c8f..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/openblas-ofast-power.patch +++ /dev/null @@ -1,33 +0,0 @@ - Makefile.power | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/Makefile.power b/Makefile.power -index 24d8aa8a..e53a243a 100644 ---- a/Makefile.power -+++ b/Makefile.power -@@ -11,20 +11,20 @@ endif - - ifeq ($(CORE), POWER9) - ifeq ($(USE_OPENMP), 1) --COMMON_OPT += -Ofast -mcpu=power9 -mtune=power9 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp -+COMMON_OPT += -mcpu=power9 -mtune=power9 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - FCOMMON_OPT += -O2 -frecursive -mcpu=power9 -mtune=power9 -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - else --COMMON_OPT += -Ofast -mcpu=power9 -mtune=power9 -mvsx -malign-power -fno-fast-math -+COMMON_OPT += -mcpu=power9 -mtune=power9 -mvsx -malign-power -fno-fast-math - FCOMMON_OPT += -O2 -frecursive -mcpu=power9 -mtune=power9 -malign-power -fno-fast-math - endif - endif - - ifeq ($(CORE), POWER8) - ifeq ($(USE_OPENMP), 1) --COMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp -+COMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - FCOMMON_OPT += -O2 -frecursive -mcpu=power8 -mtune=power8 -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - else --COMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -malign-power -fno-fast-math -+COMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -malign-power -fno-fast-math - FCOMMON_OPT += -O2 -frecursive -mcpu=power8 -mtune=power8 -malign-power -fno-fast-math - endif - endif - diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/openblas-winexit.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/openblas-winexit.patch deleted file mode 100644 index 629cb9c9882..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.10/bundled/patches/openblas-winexit.patch +++ /dev/null @@ -1,177 +0,0 @@ -From f919c3301fabbaa5d965dcc7b1c3d6892a8c730a Mon Sep 17 00:00:00 2001 -From: Keno Fischer -Date: Sat, 14 Mar 2020 12:05:19 +0100 - ---- - driver/others/memory.c | 131 +---------------------------------------- - 1 file changed, 2 insertions(+), 129 deletions(-) - -diff --git a/driver/others/memory.c b/driver/others/memory.c -index 62a5a021..23f8fe65 100644 ---- a/driver/others/memory.c -+++ b/driver/others/memory.c -@@ -1510,7 +1510,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -1547,74 +1547,12 @@ void DESTRUCTOR gotoblas_quit(void) { - #endif - } - --#if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: --#if defined(SMP) -- blas_thread_memory_cleanup(); --#endif -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} - #ifdef _WIN64 - #pragma comment(linker, "/INCLUDE:_tls_used") - #else - #pragma comment(linker, "/INCLUDE:__tls_used") - #endif - --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif --#endif -- - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) - /* Don't call me; this is just work around for PGI / Sun bug */ - void gotoblas_dummy_for_PGI(void) { -@@ -3104,7 +3042,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -3133,71 +3071,6 @@ void DESTRUCTOR gotoblas_quit(void) { - #endif - } - --#if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} --#ifdef _WIN64 --#pragma comment(linker, "/INCLUDE:_tls_used") --#else --#pragma comment(linker, "/INCLUDE:__tls_used") --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif --#endif -- - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) - /* Don't call me; this is just work around for PGI / Sun bug */ - void gotoblas_dummy_for_PGI(void) { diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/build_tarballs.jl b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/build_tarballs.jl deleted file mode 100644 index a57c8ce8c4d..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/build_tarballs.jl +++ /dev/null @@ -1,17 +0,0 @@ -using BinaryBuilder - -include("../common.jl") - -# Collection of sources required to build OpenBLAS -name = "OpenBLASConsistentFPCSR" -version = v"0.3.12" - -sources = openblas_sources(version) -script = openblas_script() -platforms = openblas_platforms(;experimental=true) -products = openblas_products() -dependencies = openblas_dependencies() - -# Build the tarballs -build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; - preferred_gcc_version=v"6", lock_microarchitecture=false, julia_compat="1.6") diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/bundled/patches/dasum_microk_skylakex-typecast.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/bundled/patches/dasum_microk_skylakex-typecast.patch deleted file mode 100644 index c3e733863c8..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/bundled/patches/dasum_microk_skylakex-typecast.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/kernel/x86_64/dasum_microk_skylakex-2.c -+++ b/kernel/x86_64/dasum_microk_skylakex-2.c -@@ -39,10 +39,10 @@ - accum_2 = _mm512_setzero_pd(); - accum_3 = _mm512_setzero_pd(); - for (i = 0; i < tail_index_AVX512; i += 32) { -- accum_0 += _mm512_abs_pd(_mm512_load_pd(&x1[i + 0])); -- accum_1 += _mm512_abs_pd(_mm512_load_pd(&x1[i + 8])); -- accum_2 += _mm512_abs_pd(_mm512_load_pd(&x1[i +16])); -- accum_3 += _mm512_abs_pd(_mm512_load_pd(&x1[i +24])); -+ accum_0 += _mm512_abs_pd((__m512)_mm512_load_pd(&x1[i + 0])); -+ accum_1 += _mm512_abs_pd((__m512)_mm512_load_pd(&x1[i + 8])); -+ accum_2 += _mm512_abs_pd((__m512)_mm512_load_pd(&x1[i +16])); -+ accum_3 += _mm512_abs_pd((__m512)_mm512_load_pd(&x1[i +24])); - } - - accum_0 = accum_0 + accum_1 + accum_2 + accum_3; diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/bundled/patches/neoverse-generic-kernels.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/bundled/patches/neoverse-generic-kernels.patch deleted file mode 100644 index ab37e3783bf..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/bundled/patches/neoverse-generic-kernels.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/kernel/arm64/KERNEL.NEOVERSEN1 b/kernel/arm64/KERNEL.NEOVERSEN1 -index ea010db4..074d7215 100644 ---- a/kernel/arm64/KERNEL.NEOVERSEN1 -+++ b/kernel/arm64/KERNEL.NEOVERSEN1 -@@ -91,10 +91,10 @@ IDAMAXKERNEL = iamax_thunderx2t99.c - ICAMAXKERNEL = izamax_thunderx2t99.c - IZAMAXKERNEL = izamax_thunderx2t99.c - --SNRM2KERNEL = scnrm2_thunderx2t99.c --DNRM2KERNEL = dznrm2_thunderx2t99.c --CNRM2KERNEL = scnrm2_thunderx2t99.c --ZNRM2KERNEL = dznrm2_thunderx2t99.c -+SNRM2KERNEL = nrm2.S -+DNRM2KERNEL = nrm2.S -+CNRM2KERNEL = znrm2.S -+ZNRM2KERNEL = znrm2.S - - DDOTKERNEL = dot_thunderx2t99.c - SDOTKERNEL = dot_thunderx2t99.c diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/bundled/patches/openblas-ofast-power.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/bundled/patches/openblas-ofast-power.patch deleted file mode 100644 index 93f7f5ae947..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/bundled/patches/openblas-ofast-power.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/Makefile.power b/Makefile.power -index c7e97229..8426e816 100644 ---- a/Makefile.power -+++ b/Makefile.power -@@ -10,13 +10,13 @@ USE_OPENMP = 1 - endif - - ifeq ($(CORE), POWER10) --CCOMMON_OPT += -Ofast -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math -+CCOMMON_OPT += -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math - FCOMMON_OPT += -O2 -frecursive -mcpu=power10 -mtune=power10 -fno-fast-math - endif - - ifeq ($(CORE), POWER9) - ifneq ($(C_COMPILER), PGI) --CCOMMON_OPT += -Ofast -mvsx -fno-fast-math -+CCOMMON_OPT += -mvsx -fno-fast-math - ifeq ($(C_COMPILER), GCC) - ifneq ($(GCCVERSIONGT4), 1) - $(warning your compiler is too old to fully support POWER9, getting a newer version of gcc is recommended) -@@ -49,7 +49,7 @@ endif - - ifeq ($(CORE), POWER8) - ifneq ($(C_COMPILER), PGI) --CCOMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math -+CCOMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math - else - CCOMMON_OPT += -fast -Mvect=simd -Mcache_align - endif diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/bundled/patches/openblas-winexit.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/bundled/patches/openblas-winexit.patch deleted file mode 100644 index 7b0e38af37b..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.12/bundled/patches/openblas-winexit.patch +++ /dev/null @@ -1,166 +0,0 @@ -diff --git a/driver/others/memory.c b/driver/others/memory.c -index f0521ab2..3408921d 100644 ---- a/driver/others/memory.c -+++ b/driver/others/memory.c -@@ -1534,7 +1534,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -1572,71 +1572,11 @@ void DESTRUCTOR gotoblas_quit(void) { - } - - #if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: --#if defined(SMP) -- blas_thread_memory_cleanup(); --#endif -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} - #ifdef _WIN64 - #pragma comment(linker, "/INCLUDE:_tls_used") - #else - #pragma comment(linker, "/INCLUDE:__tls_used") - #endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif - #endif - - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) -@@ -3136,7 +3076,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -3165,71 +3105,6 @@ void DESTRUCTOR gotoblas_quit(void) { - #endif - } - --#if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} --#ifdef _WIN64 --#pragma comment(linker, "/INCLUDE:_tls_used") --#else --#pragma comment(linker, "/INCLUDE:__tls_used") --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif --#endif -- - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) - /* Don't call me; this is just work around for PGI / Sun bug */ - void gotoblas_dummy_for_PGI(void) { diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/build_tarballs.jl b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/build_tarballs.jl deleted file mode 100644 index e6a02fafd88..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/build_tarballs.jl +++ /dev/null @@ -1,20 +0,0 @@ -using BinaryBuilder - -include("../common.jl") - -# Collection of sources required to build OpenBLAS -name = "OpenBLASConsistentFPCSR" -version = v"0.3.13" - -sources = openblas_sources(version) -script = openblas_script(;aarch64_ilp64=true) -platforms = openblas_platforms(;experimental=true) -products = openblas_products() -dependencies = openblas_dependencies() - - -# Build the tarballs -build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; - preferred_gcc_version=v"6", lock_microarchitecture=false, julia_compat="1.7") - -# Rebuild count: 1 diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/0001-filter-out-mavx-flag-on-zgemm-kernels-as-it-can-caus.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/0001-filter-out-mavx-flag-on-zgemm-kernels-as-it-can-caus.patch deleted file mode 100644 index 5c9fa4aaa59..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/0001-filter-out-mavx-flag-on-zgemm-kernels-as-it-can-caus.patch +++ /dev/null @@ -1,162 +0,0 @@ -From bd60fb6ffc9d14834ed03bed0f7e6e44126c6c05 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Thu, 13 May 2021 23:05:00 +0200 -Subject: [PATCH 1/2] filter out -mavx flag on zgemm kernels as it can cause - problems with older gcc - ---- - kernel/Makefile.L3 | 40 ++++++++++++++++++++-------------------- - 1 file changed, 20 insertions(+), 20 deletions(-) - -diff --git a/kernel/Makefile.L3 b/kernel/Makefile.L3 -index d8d73996..be10ee01 100644 ---- a/kernel/Makefile.L3 -+++ b/kernel/Makefile.L3 -@@ -819,7 +819,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DNN zgemm_kernel_n_nomacros.s -o $@ - rm zgemm_kernel_n.s zgemm_kernel_n_nomacros.s - else -- $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DDOUBLE -DCOMPLEX -DNN $< -o $@ - endif - - $(KDIR)zgemm_kernel_l$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) $(ZGEMMDEPEND) -@@ -829,7 +829,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DCN zgemm_kernel_l_nomacros.s -o $@ - rm zgemm_kernel_l.s zgemm_kernel_l_nomacros.s - else -- $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DCN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DDOUBLE -DCOMPLEX -DCN $< -o $@ - endif - - $(KDIR)zgemm_kernel_r$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) $(ZGEMMDEPEND) -@@ -839,7 +839,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DNC zgemm_kernel_r_nomacros.s -o $@ - rm zgemm_kernel_r.s zgemm_kernel_r_nomacros.s - else -- $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DNC $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DDOUBLE -DCOMPLEX -DNC $< -o $@ - endif - - $(KDIR)zgemm_kernel_b$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) $(ZGEMMDEPEND) -@@ -849,7 +849,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DCC zgemm_kernel_b_nomacros.s -o $@ - rm zgemm_kernel_b.s zgemm_kernel_b_nomacros.s - else -- $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DCC $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DDOUBLE -DCOMPLEX -DCC $< -o $@ - endif - - $(KDIR)xgemm_kernel_n$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(XGEMMKERNEL) $(XGEMMDEPEND) -@@ -1045,7 +1045,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN ztrmm_kernel_ln_nomacros.s -o $@ - rm ztrmm_kernel_ln.s ztrmm_kernel_ln_nomacros.s - else -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_LT$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1055,7 +1055,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN ztrmm_kernel_lt_nomacros.s -o $@ - rm ztrmm_kernel_lt.s ztrmm_kernel_lt_nomacros.s - else -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_LR$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1065,7 +1065,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN ztrmm_kernel_lr_nomacros.s -o $@ - rm ztrmm_kernel_lr.s ztrmm_kernel_lr_nomacros.s - else -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_LC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1075,7 +1075,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN ztrmm_kernel_lc_nomacros.s -o $@ - rm ztrmm_kernel_lc.s ztrmm_kernel_lc_nomacros.s - else -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_RN$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1085,7 +1085,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN ztrmm_kernel_rn_nomacros.s -o $@ - rm ztrmm_kernel_rn.s ztrmm_kernel_rn_nomacros.s - else -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_RT$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1095,7 +1095,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN ztrmm_kernel_rt_nomacros.s -o $@ - rm ztrmm_kernel_rt.s ztrmm_kernel_rt_nomacros.s - else -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_RR$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1105,7 +1105,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC ztrmm_kernel_rr_nomacros.s -o $@ - rm ztrmm_kernel_rr.s ztrmm_kernel_rr_nomacros.s - else -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC $< -o $@ - endif - - $(KDIR)ztrmm_kernel_RC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1115,7 +1115,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC ztrmm_kernel_rc_nomacros.s -o $@ - rm ztrmm_kernel_rc.s ztrmm_kernel_rc_nomacros.s - else -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ - endif - - else -@@ -1187,28 +1187,28 @@ $(KDIR)ctrmm_kernel_RC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(CGEMMKERNEL) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -UDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ - - $(KDIR)ztrmm_kernel_LN$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN $< -o $@ - - $(KDIR)ztrmm_kernel_LT$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN $< -o $@ - - $(KDIR)ztrmm_kernel_LR$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN $< -o $@ - - $(KDIR)ztrmm_kernel_LC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN $< -o $@ - - $(KDIR)ztrmm_kernel_RN$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN $< -o $@ - - $(KDIR)ztrmm_kernel_RT$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN $< -o $@ - - $(KDIR)ztrmm_kernel_RR$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC $< -o $@ - - $(KDIR)ztrmm_kernel_RC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ - endif - - --- -2.31.1 - diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/0002-Only-filter-out-mavx-on-Sandybridge-ZGEMM-ZTRMM-kern.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/0002-Only-filter-out-mavx-on-Sandybridge-ZGEMM-ZTRMM-kern.patch deleted file mode 100644 index 10ba3b4a5c6..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/0002-Only-filter-out-mavx-on-Sandybridge-ZGEMM-ZTRMM-kern.patch +++ /dev/null @@ -1,221 +0,0 @@ -From c4da892ba0798f8697e7b3219fd631651647e45f Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Fri, 14 May 2021 23:19:10 +0200 -Subject: [PATCH 2/2] Only filter out -mavx on Sandybridge ZGEMM/ZTRMM kernels - ---- - kernel/Makefile.L3 | 86 ++++++++++++++++++++++++++++++++++++---------- - 1 file changed, 68 insertions(+), 18 deletions(-) - -diff --git a/kernel/Makefile.L3 b/kernel/Makefile.L3 -index be10ee01..2d9e3ec3 100644 ---- a/kernel/Makefile.L3 -+++ b/kernel/Makefile.L3 -@@ -818,8 +818,10 @@ ifeq ($(OS), AIX) - m4 zgemm_kernel_n.s > zgemm_kernel_n_nomacros.s - $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DNN zgemm_kernel_n_nomacros.s -o $@ - rm zgemm_kernel_n.s zgemm_kernel_n_nomacros.s --else -+else ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DDOUBLE -DCOMPLEX -DNN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DNN $< -o $@ - endif - - $(KDIR)zgemm_kernel_l$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) $(ZGEMMDEPEND) -@@ -828,8 +830,10 @@ ifeq ($(OS), AIX) - m4 zgemm_kernel_l.s > zgemm_kernel_l_nomacros.s - $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DCN zgemm_kernel_l_nomacros.s -o $@ - rm zgemm_kernel_l.s zgemm_kernel_l_nomacros.s --else -+else ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DDOUBLE -DCOMPLEX -DCN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DCN $< -o $@ - endif - - $(KDIR)zgemm_kernel_r$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) $(ZGEMMDEPEND) -@@ -838,8 +842,10 @@ ifeq ($(OS), AIX) - m4 zgemm_kernel_r.s > zgemm_kernel_r_nomacros.s - $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DNC zgemm_kernel_r_nomacros.s -o $@ - rm zgemm_kernel_r.s zgemm_kernel_r_nomacros.s --else -+else ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DDOUBLE -DCOMPLEX -DNC $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DNC $< -o $@ - endif - - $(KDIR)zgemm_kernel_b$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) $(ZGEMMDEPEND) -@@ -848,8 +854,10 @@ ifeq ($(OS), AIX) - m4 zgemm_kernel_b.s > zgemm_kernel_b_nomacros.s - $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DCC zgemm_kernel_b_nomacros.s -o $@ - rm zgemm_kernel_b.s zgemm_kernel_b_nomacros.s --else -+else ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DDOUBLE -DCOMPLEX -DCC $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DCC $< -o $@ - endif - - $(KDIR)xgemm_kernel_n$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(XGEMMKERNEL) $(XGEMMDEPEND) -@@ -1044,8 +1052,10 @@ ifeq ($(OS), AIX) - m4 ztrmm_kernel_ln.s > ztrmm_kernel_ln_nomacros.s - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN ztrmm_kernel_ln_nomacros.s -o $@ - rm ztrmm_kernel_ln.s ztrmm_kernel_ln_nomacros.s --else -+else ifeq ($(CORE), SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_LT$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1054,8 +1064,10 @@ ifeq ($(OS), AIX) - m4 ztrmm_kernel_lt.s > ztrmm_kernel_lt_nomacros.s - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN ztrmm_kernel_lt_nomacros.s -o $@ - rm ztrmm_kernel_lt.s ztrmm_kernel_lt_nomacros.s --else -+else ifeq ($(CORE), SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_LR$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1064,8 +1076,10 @@ ifeq ($(OS), AIX) - m4 ztrmm_kernel_lr.s > ztrmm_kernel_lr_nomacros.s - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN ztrmm_kernel_lr_nomacros.s -o $@ - rm ztrmm_kernel_lr.s ztrmm_kernel_lr_nomacros.s --else -+else ifeq ($(CORE), SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_LC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1074,8 +1088,10 @@ ifeq ($(OS), AIX) - m4 ztrmm_kernel_lc.s >ztrmm_kernel_lc_nomacros.s - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN ztrmm_kernel_lc_nomacros.s -o $@ - rm ztrmm_kernel_lc.s ztrmm_kernel_lc_nomacros.s --else -+else ifeq ($(CORE), SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_RN$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1084,8 +1100,10 @@ ifeq ($(OS), AIX) - m4 ztrmm_kernel_rn.s > ztrmm_kernel_rn_nomacros.s - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN ztrmm_kernel_rn_nomacros.s -o $@ - rm ztrmm_kernel_rn.s ztrmm_kernel_rn_nomacros.s --else -+else ifeq ($(CORE), SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_RT$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1094,8 +1112,10 @@ ifeq ($(OS), AIX) - m4 ztrmm_kernel_rt.s > ztrmm_kernel_rt_nomacros.s - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN ztrmm_kernel_rt_nomacros.s -o $@ - rm ztrmm_kernel_rt.s ztrmm_kernel_rt_nomacros.s --else -+else ifeq ($(CORE), SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_RR$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1104,8 +1124,10 @@ ifeq ($(OS), AIX) - m4 ztrmm_kernel_rr.s > ztrmm_kernel_rr_nomacros.s - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC ztrmm_kernel_rr_nomacros.s -o $@ - rm ztrmm_kernel_rr.s ztrmm_kernel_rr_nomacros.s --else -+else ifeq ($(CORE), SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC $< -o $@ - endif - - $(KDIR)ztrmm_kernel_RC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1114,8 +1136,10 @@ ifeq ($(OS), AIX) - m4 ztrmm_kernel_rc.s > ztrmm_kernel_rc_nomacros.s - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC ztrmm_kernel_rc_nomacros.s -o $@ - rm ztrmm_kernel_rc.s ztrmm_kernel_rc_nomacros.s --else -+else ifeq ($(CORE), SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ - endif - - else -@@ -1187,28 +1211,54 @@ $(KDIR)ctrmm_kernel_RC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(CGEMMKERNEL) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -UDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ - - $(KDIR)ztrmm_kernel_LN$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -+ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN $< -o $@ -+endif - - $(KDIR)ztrmm_kernel_LT$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -+ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN $< -o $@ -- -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN $< -o $@ -+endif - $(KDIR)ztrmm_kernel_LR$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -+ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN $< -o $@ -- -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN $< -o $@ -+endif - $(KDIR)ztrmm_kernel_LC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -+ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN $< -o $@ -- -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN $< -o $@ -+endif - $(KDIR)ztrmm_kernel_RN$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -+ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN $< -o $@ -- -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN $< -o $@ -+endif - $(KDIR)ztrmm_kernel_RT$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -+ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN $< -o $@ -- -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN $< -o $@ -+endif - $(KDIR)ztrmm_kernel_RR$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -+ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC $< -o $@ -- -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC $< -o $@ -+endif - $(KDIR)ztrmm_kernel_RC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -+ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ -+endif - endif - - --- -2.31.1 - diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/neoverse-generic-kernels.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/neoverse-generic-kernels.patch deleted file mode 100644 index ab37e3783bf..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/neoverse-generic-kernels.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/kernel/arm64/KERNEL.NEOVERSEN1 b/kernel/arm64/KERNEL.NEOVERSEN1 -index ea010db4..074d7215 100644 ---- a/kernel/arm64/KERNEL.NEOVERSEN1 -+++ b/kernel/arm64/KERNEL.NEOVERSEN1 -@@ -91,10 +91,10 @@ IDAMAXKERNEL = iamax_thunderx2t99.c - ICAMAXKERNEL = izamax_thunderx2t99.c - IZAMAXKERNEL = izamax_thunderx2t99.c - --SNRM2KERNEL = scnrm2_thunderx2t99.c --DNRM2KERNEL = dznrm2_thunderx2t99.c --CNRM2KERNEL = scnrm2_thunderx2t99.c --ZNRM2KERNEL = dznrm2_thunderx2t99.c -+SNRM2KERNEL = nrm2.S -+DNRM2KERNEL = nrm2.S -+CNRM2KERNEL = znrm2.S -+ZNRM2KERNEL = znrm2.S - - DDOTKERNEL = dot_thunderx2t99.c - SDOTKERNEL = dot_thunderx2t99.c diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-armv8-volatile-detecion.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-armv8-volatile-detecion.patch deleted file mode 100644 index f1fb36b6a34..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-armv8-volatile-detecion.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 6fe0f1fab9d6a7f46d71d37ebb210fbf56924fbc Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Mon, 11 Jan 2021 19:05:29 +0100 -Subject: [PATCH] Label get_cpu_ftr as volatile to keep gcc from rearranging - the code - ---- - driver/others/dynamic_arm64.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/driver/others/dynamic_arm64.c b/driver/others/dynamic_arm64.c -index 4f1b12f27a..37c0694b6f 100644 ---- a/driver/others/dynamic_arm64.c -+++ b/driver/others/dynamic_arm64.c -@@ -68,7 +68,7 @@ extern void openblas_warning(int verbose, const char * msg); - #endif - - #define get_cpu_ftr(id, var) ({ \ -- __asm__("mrs %0, "#id : "=r" (var)); \ -+ __asm__ __volatile__("mrs %0, "#id : "=r" (var)); \ - }) - - static char *corename[] = { diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-exshift.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-exshift.patch deleted file mode 100644 index 4a0016ef662..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-exshift.patch +++ /dev/null @@ -1,149 +0,0 @@ -commit c4b5abbe43d7c22215ef36ef4f7c1413c975678c -Author: Martin Kroeker -Date: Fri Jan 29 10:45:36 2021 +0100 - - fix data type - -commit f87842483eee9d158f44d51d4c09662c3cff7526 -Author: Martin Kroeker -Date: Fri Jan 29 09:56:12 2021 +0100 - - fix calculation of non-exceptional shift (from Reference-LAPACK PR 477) - -commit 856bc365338f7559639f341d76ca8746d1628ee5 -Author: Martin Kroeker -Date: Wed Jan 27 13:41:45 2021 +0100 - - Add exceptional shift to fix rare convergence problems - ---- -diff --git a/lapack-netlib/SRC/chgeqz.f b/lapack-netlib/SRC/chgeqz.f -index 73d35621..4725e716 100644 ---- a/lapack-netlib/SRC/chgeqz.f -+++ b/lapack-netlib/SRC/chgeqz.f -@@ -320,12 +320,13 @@ - $ C, SAFMIN, TEMP, TEMP2, TEMPR, ULP - COMPLEX ABI22, AD11, AD12, AD21, AD22, CTEMP, CTEMP2, - $ CTEMP3, ESHIFT, RTDISC, S, SHIFT, SIGNBC, T1, -- $ U12, X -+ $ U12, X, ABI12, Y - * .. - * .. External Functions .. -+ COMPLEX CLADIV - LOGICAL LSAME - REAL CLANHS, SLAMCH -- EXTERNAL LSAME, CLANHS, SLAMCH -+ EXTERNAL CLADIV, LLSAME, CLANHS, SLAMCH - * .. - * .. External Subroutines .. - EXTERNAL CLARTG, CLASET, CROT, CSCAL, XERBLA -@@ -729,22 +730,34 @@ - AD22 = ( ASCALE*H( ILAST, ILAST ) ) / - $ ( BSCALE*T( ILAST, ILAST ) ) - ABI22 = AD22 - U12*AD21 -+ ABI12 = AD12 - U12*AD11 - * -- T1 = HALF*( AD11+ABI22 ) -- RTDISC = SQRT( T1**2+AD12*AD21-AD11*AD22 ) -- TEMP = REAL( T1-ABI22 )*REAL( RTDISC ) + -- $ AIMAG( T1-ABI22 )*AIMAG( RTDISC ) -- IF( TEMP.LE.ZERO ) THEN -- SHIFT = T1 + RTDISC -- ELSE -- SHIFT = T1 - RTDISC -+ SHIFT = ABI22 -+ CTEMP = SQRT( ABI12 )*SQRT( AD21 ) -+ TEMP = ABS1( CTEMP ) -+ IF( CTEMP.NE.ZERO ) THEN -+ X = HALF*( AD11-SHIFT ) -+ TEMP2 = ABS1( X ) -+ TEMP = MAX( TEMP, ABS1( X ) ) -+ Y = TEMP*SQRT( ( X / TEMP )**2+( CTEMP / TEMP )**2 ) -+ IF( TEMP2.GT.ZERO ) THEN -+ IF( REAL( X / TEMP2 )*REAL( Y )+ -+ $ AIMAG( X / TEMP2 )*AIMAG( Y ).LT.ZERO )Y = -Y -+ END IF -+ SHIFT = SHIFT - CTEMP*CLADIV( CTEMP, ( X+Y ) ) - END IF - ELSE - * - * Exceptional shift. Chosen for no particularly good reason. - * -- ESHIFT = ESHIFT + (ASCALE*H(ILAST,ILAST-1))/ -- $ (BSCALE*T(ILAST-1,ILAST-1)) -+ IF( ( IITER / 20 )*20.EQ.IITER .AND. -+ $ BSCALE*ABS1(T( ILAST, ILAST )).GT.SAFMIN ) THEN -+ ESHIFT = ESHIFT + ( ASCALE*H( ILAST, -+ $ ILAST ) )/( BSCALE*T( ILAST, ILAST ) ) -+ ELSE -+ ESHIFT = ESHIFT + ( ASCALE*H( ILAST, -+ $ ILAST-1 ) )/( BSCALE*T( ILAST-1, ILAST-1 ) ) -+ END IF - SHIFT = ESHIFT - END IF - * -diff --git a/lapack-netlib/SRC/zhgeqz.f b/lapack-netlib/SRC/zhgeqz.f -index b51cba4f..b28ae47a 100644 ---- a/lapack-netlib/SRC/zhgeqz.f -+++ b/lapack-netlib/SRC/zhgeqz.f -@@ -320,12 +320,13 @@ - $ C, SAFMIN, TEMP, TEMP2, TEMPR, ULP - COMPLEX*16 ABI22, AD11, AD12, AD21, AD22, CTEMP, CTEMP2, - $ CTEMP3, ESHIFT, RTDISC, S, SHIFT, SIGNBC, T1, -- $ U12, X -+ $ U12, X, ABI12, Y - * .. - * .. External Functions .. -+ COMPLEX*16 ZLADIV - LOGICAL LSAME - DOUBLE PRECISION DLAMCH, ZLANHS -- EXTERNAL LSAME, DLAMCH, ZLANHS -+ EXTERNAL ZLADIV, LSAME, DLAMCH, ZLANHS - * .. - * .. External Subroutines .. - EXTERNAL XERBLA, ZLARTG, ZLASET, ZROT, ZSCAL -@@ -730,22 +731,34 @@ - AD22 = ( ASCALE*H( ILAST, ILAST ) ) / - $ ( BSCALE*T( ILAST, ILAST ) ) - ABI22 = AD22 - U12*AD21 -+ ABI12 = AD12 - U12*AD11 - * -- T1 = HALF*( AD11+ABI22 ) -- RTDISC = SQRT( T1**2+AD12*AD21-AD11*AD22 ) -- TEMP = DBLE( T1-ABI22 )*DBLE( RTDISC ) + -- $ DIMAG( T1-ABI22 )*DIMAG( RTDISC ) -- IF( TEMP.LE.ZERO ) THEN -- SHIFT = T1 + RTDISC -- ELSE -- SHIFT = T1 - RTDISC -+ SHIFT = ABI22 -+ CTEMP = SQRT( ABI12 )*SQRT( AD21 ) -+ TEMP = ABS1( CTEMP ) -+ IF( CTEMP.NE.ZERO ) THEN -+ X = HALF*( AD11-SHIFT ) -+ TEMP2 = ABS1( X ) -+ TEMP = MAX( TEMP, ABS1( X ) ) -+ Y = TEMP*SQRT( ( X / TEMP )**2+( CTEMP / TEMP )**2 ) -+ IF( TEMP2.GT.ZERO ) THEN -+ IF( DBLE( X / TEMP2 )*DBLE( Y )+ -+ $ DIMAG( X / TEMP2 )*DIMAG( Y ).LT.ZERO )Y = -Y -+ END IF -+ SHIFT = SHIFT - CTEMP*ZLADIV( CTEMP, ( X+Y ) ) - END IF - ELSE - * - * Exceptional shift. Chosen for no particularly good reason. - * -- ESHIFT = ESHIFT + (ASCALE*H(ILAST,ILAST-1))/ -- $ (BSCALE*T(ILAST-1,ILAST-1)) -+ IF( ( IITER / 20 )*20.EQ.IITER .AND. -+ $ BSCALE*ABS1(T( ILAST, ILAST )).GT.SAFMIN ) THEN -+ ESHIFT = ESHIFT + ( ASCALE*H( ILAST, -+ $ ILAST ) )/( BSCALE*T( ILAST, ILAST ) ) -+ ELSE -+ ESHIFT = ESHIFT + ( ASCALE*H( ILAST, -+ $ ILAST-1 ) )/( BSCALE*T( ILAST-1, ILAST-1 ) ) -+ END IF - SHIFT = ESHIFT - END IF - * diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-julia42415-lapack625-openblas3392.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-julia42415-lapack625-openblas3392.patch deleted file mode 100644 index e7b874b961c..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-julia42415-lapack625-openblas3392.patch +++ /dev/null @@ -1,95 +0,0 @@ -From 2be5ee3cca97a597f2ee2118808a2d5eacea050c Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Fri, 1 Oct 2021 11:17:21 +0200 -Subject: [PATCH 1/4] Fix out of bounds read in ?llarv (Reference-LAPACK PR - 625) - ---- - lapack-netlib/SRC/clarrv.f | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lapack-netlib/SRC/clarrv.f b/lapack-netlib/SRC/clarrv.f -index a45f55ac3b..26a9febc87 100644 ---- a/lapack-netlib/SRC/clarrv.f -+++ b/lapack-netlib/SRC/clarrv.f -@@ -351,7 +351,7 @@ SUBROUTINE CLARRV( N, VL, VU, D, L, PIVMIN, - * - * Quick return if possible - * -- IF( N.LE.0 ) THEN -+ IF( (N.LE.0) .OR. (M.LE.0) ) THEN - RETURN - END IF - * - -From fe497efa0510466fd93578aaf9da1ad8ed4edbe7 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Fri, 1 Oct 2021 11:18:20 +0200 -Subject: [PATCH 2/4] Fix out of bounds read in ?llarv (Reference-LAPACK PR - 625) - ---- - lapack-netlib/SRC/dlarrv.f | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lapack-netlib/SRC/dlarrv.f b/lapack-netlib/SRC/dlarrv.f -index 4a59a2bbf9..a1c6e9c9d7 100644 ---- a/lapack-netlib/SRC/dlarrv.f -+++ b/lapack-netlib/SRC/dlarrv.f -@@ -353,7 +353,7 @@ SUBROUTINE DLARRV( N, VL, VU, D, L, PIVMIN, - * - * Quick return if possible - * -- IF( N.LE.0 ) THEN -+ IF( (N.LE.0).OR.(M.LE.0) ) THEN - RETURN - END IF - * - -From ddb0ff5353637bb5f5ad060c9620e334c143e3d7 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Fri, 1 Oct 2021 11:19:07 +0200 -Subject: [PATCH 3/4] Fix out of bounds read in ?llarv (Reference-LAPACK PR - 625) - ---- - lapack-netlib/SRC/slarrv.f | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lapack-netlib/SRC/slarrv.f b/lapack-netlib/SRC/slarrv.f -index 04519fde8c..9448b2fd92 100644 ---- a/lapack-netlib/SRC/slarrv.f -+++ b/lapack-netlib/SRC/slarrv.f -@@ -353,7 +353,7 @@ SUBROUTINE SLARRV( N, VL, VU, D, L, PIVMIN, - * - * Quick return if possible - * -- IF( N.LE.0 ) THEN -+ IF( (N.LE.0).OR.(M.LE.0) ) THEN - RETURN - END IF - * - -From 337b65133df174796794871b3988cd03426e6d41 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Fri, 1 Oct 2021 11:19:53 +0200 -Subject: [PATCH 4/4] Fix out of bounds read in ?llarv (Reference-LAPACK PR - 625) - ---- - lapack-netlib/SRC/zlarrv.f | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lapack-netlib/SRC/zlarrv.f b/lapack-netlib/SRC/zlarrv.f -index 23976dbefe..8d10e3c2e3 100644 ---- a/lapack-netlib/SRC/zlarrv.f -+++ b/lapack-netlib/SRC/zlarrv.f -@@ -351,7 +351,7 @@ SUBROUTINE ZLARRV( N, VL, VU, D, L, PIVMIN, - * - * Quick return if possible - * -- IF( N.LE.0 ) THEN -+ IF( (N.LE.0).OR.(M.LE.0) ) THEN - RETURN - END IF - * diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-ofast-power.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-ofast-power.patch deleted file mode 100644 index 93f7f5ae947..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-ofast-power.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/Makefile.power b/Makefile.power -index c7e97229..8426e816 100644 ---- a/Makefile.power -+++ b/Makefile.power -@@ -10,13 +10,13 @@ USE_OPENMP = 1 - endif - - ifeq ($(CORE), POWER10) --CCOMMON_OPT += -Ofast -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math -+CCOMMON_OPT += -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math - FCOMMON_OPT += -O2 -frecursive -mcpu=power10 -mtune=power10 -fno-fast-math - endif - - ifeq ($(CORE), POWER9) - ifneq ($(C_COMPILER), PGI) --CCOMMON_OPT += -Ofast -mvsx -fno-fast-math -+CCOMMON_OPT += -mvsx -fno-fast-math - ifeq ($(C_COMPILER), GCC) - ifneq ($(GCCVERSIONGT4), 1) - $(warning your compiler is too old to fully support POWER9, getting a newer version of gcc is recommended) -@@ -49,7 +49,7 @@ endif - - ifeq ($(CORE), POWER8) - ifneq ($(C_COMPILER), PGI) --CCOMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math -+CCOMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math - else - CCOMMON_OPT += -fast -Mvect=simd -Mcache_align - endif diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-winexit.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-winexit.patch deleted file mode 100644 index 7b0e38af37b..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.13/bundled/patches/openblas-winexit.patch +++ /dev/null @@ -1,166 +0,0 @@ -diff --git a/driver/others/memory.c b/driver/others/memory.c -index f0521ab2..3408921d 100644 ---- a/driver/others/memory.c -+++ b/driver/others/memory.c -@@ -1534,7 +1534,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -1572,71 +1572,11 @@ void DESTRUCTOR gotoblas_quit(void) { - } - - #if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: --#if defined(SMP) -- blas_thread_memory_cleanup(); --#endif -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} - #ifdef _WIN64 - #pragma comment(linker, "/INCLUDE:_tls_used") - #else - #pragma comment(linker, "/INCLUDE:__tls_used") - #endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif - #endif - - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) -@@ -3136,7 +3076,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -3165,71 +3105,6 @@ void DESTRUCTOR gotoblas_quit(void) { - #endif - } - --#if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} --#ifdef _WIN64 --#pragma comment(linker, "/INCLUDE:_tls_used") --#else --#pragma comment(linker, "/INCLUDE:__tls_used") --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif --#endif -- - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) - /* Don't call me; this is just work around for PGI / Sun bug */ - void gotoblas_dummy_for_PGI(void) { diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/build_tarballs.jl b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/build_tarballs.jl deleted file mode 100644 index 739ca48a9c3..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/build_tarballs.jl +++ /dev/null @@ -1,18 +0,0 @@ -using BinaryBuilder - -include("../common.jl") - -# Collection of sources required to build OpenBLAS -name = "OpenBLASConsistentFPCSR" -version = v"0.3.17" - -sources = openblas_sources(version) -script = openblas_script(;aarch64_ilp64=true, num_64bit_threads=512) -platforms = openblas_platforms(;experimental=true) -products = openblas_products() -dependencies = openblas_dependencies() - - -# Build the tarballs -build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; - preferred_gcc_version=v"6", lock_microarchitecture=false, julia_compat="1.7") diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/bundled/patches/neoverse-generic-kernels.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/bundled/patches/neoverse-generic-kernels.patch deleted file mode 100644 index ab37e3783bf..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/bundled/patches/neoverse-generic-kernels.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/kernel/arm64/KERNEL.NEOVERSEN1 b/kernel/arm64/KERNEL.NEOVERSEN1 -index ea010db4..074d7215 100644 ---- a/kernel/arm64/KERNEL.NEOVERSEN1 -+++ b/kernel/arm64/KERNEL.NEOVERSEN1 -@@ -91,10 +91,10 @@ IDAMAXKERNEL = iamax_thunderx2t99.c - ICAMAXKERNEL = izamax_thunderx2t99.c - IZAMAXKERNEL = izamax_thunderx2t99.c - --SNRM2KERNEL = scnrm2_thunderx2t99.c --DNRM2KERNEL = dznrm2_thunderx2t99.c --CNRM2KERNEL = scnrm2_thunderx2t99.c --ZNRM2KERNEL = dznrm2_thunderx2t99.c -+SNRM2KERNEL = nrm2.S -+DNRM2KERNEL = nrm2.S -+CNRM2KERNEL = znrm2.S -+ZNRM2KERNEL = znrm2.S - - DDOTKERNEL = dot_thunderx2t99.c - SDOTKERNEL = dot_thunderx2t99.c diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/bundled/patches/openblas-julia42415-lapack625-openblas3392.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/bundled/patches/openblas-julia42415-lapack625-openblas3392.patch deleted file mode 100644 index e7b874b961c..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/bundled/patches/openblas-julia42415-lapack625-openblas3392.patch +++ /dev/null @@ -1,95 +0,0 @@ -From 2be5ee3cca97a597f2ee2118808a2d5eacea050c Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Fri, 1 Oct 2021 11:17:21 +0200 -Subject: [PATCH 1/4] Fix out of bounds read in ?llarv (Reference-LAPACK PR - 625) - ---- - lapack-netlib/SRC/clarrv.f | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lapack-netlib/SRC/clarrv.f b/lapack-netlib/SRC/clarrv.f -index a45f55ac3b..26a9febc87 100644 ---- a/lapack-netlib/SRC/clarrv.f -+++ b/lapack-netlib/SRC/clarrv.f -@@ -351,7 +351,7 @@ SUBROUTINE CLARRV( N, VL, VU, D, L, PIVMIN, - * - * Quick return if possible - * -- IF( N.LE.0 ) THEN -+ IF( (N.LE.0) .OR. (M.LE.0) ) THEN - RETURN - END IF - * - -From fe497efa0510466fd93578aaf9da1ad8ed4edbe7 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Fri, 1 Oct 2021 11:18:20 +0200 -Subject: [PATCH 2/4] Fix out of bounds read in ?llarv (Reference-LAPACK PR - 625) - ---- - lapack-netlib/SRC/dlarrv.f | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lapack-netlib/SRC/dlarrv.f b/lapack-netlib/SRC/dlarrv.f -index 4a59a2bbf9..a1c6e9c9d7 100644 ---- a/lapack-netlib/SRC/dlarrv.f -+++ b/lapack-netlib/SRC/dlarrv.f -@@ -353,7 +353,7 @@ SUBROUTINE DLARRV( N, VL, VU, D, L, PIVMIN, - * - * Quick return if possible - * -- IF( N.LE.0 ) THEN -+ IF( (N.LE.0).OR.(M.LE.0) ) THEN - RETURN - END IF - * - -From ddb0ff5353637bb5f5ad060c9620e334c143e3d7 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Fri, 1 Oct 2021 11:19:07 +0200 -Subject: [PATCH 3/4] Fix out of bounds read in ?llarv (Reference-LAPACK PR - 625) - ---- - lapack-netlib/SRC/slarrv.f | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lapack-netlib/SRC/slarrv.f b/lapack-netlib/SRC/slarrv.f -index 04519fde8c..9448b2fd92 100644 ---- a/lapack-netlib/SRC/slarrv.f -+++ b/lapack-netlib/SRC/slarrv.f -@@ -353,7 +353,7 @@ SUBROUTINE SLARRV( N, VL, VU, D, L, PIVMIN, - * - * Quick return if possible - * -- IF( N.LE.0 ) THEN -+ IF( (N.LE.0).OR.(M.LE.0) ) THEN - RETURN - END IF - * - -From 337b65133df174796794871b3988cd03426e6d41 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Fri, 1 Oct 2021 11:19:53 +0200 -Subject: [PATCH 4/4] Fix out of bounds read in ?llarv (Reference-LAPACK PR - 625) - ---- - lapack-netlib/SRC/zlarrv.f | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lapack-netlib/SRC/zlarrv.f b/lapack-netlib/SRC/zlarrv.f -index 23976dbefe..8d10e3c2e3 100644 ---- a/lapack-netlib/SRC/zlarrv.f -+++ b/lapack-netlib/SRC/zlarrv.f -@@ -351,7 +351,7 @@ SUBROUTINE ZLARRV( N, VL, VU, D, L, PIVMIN, - * - * Quick return if possible - * -- IF( N.LE.0 ) THEN -+ IF( (N.LE.0).OR.(M.LE.0) ) THEN - RETURN - END IF - * diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/bundled/patches/openblas-ofast-power.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/bundled/patches/openblas-ofast-power.patch deleted file mode 100644 index c741496cae7..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/bundled/patches/openblas-ofast-power.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/Makefile.power b/Makefile.power -index 946f5523..19593050 100644 ---- a/Makefile.power -+++ b/Makefile.power -@@ -11,14 +11,14 @@ endif - - ifeq ($(CORE), POWER10) - ifneq ($(C_COMPILER), PGI) --CCOMMON_OPT += -Ofast -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math -+CCOMMON_OPT += -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math - FCOMMON_OPT += -O2 -frecursive -mcpu=power10 -mtune=power10 -fno-fast-math - endif - endif - - ifeq ($(CORE), POWER9) - ifneq ($(C_COMPILER), PGI) --CCOMMON_OPT += -Ofast -mvsx -fno-fast-math -+CCOMMON_OPT += -mvsx -fno-fast-math - ifeq ($(C_COMPILER), GCC) - ifneq ($(GCCVERSIONGT4), 1) - $(warning your compiler is too old to fully support POWER9, getting a newer version of gcc is recommended) -@@ -51,7 +51,7 @@ endif - - ifeq ($(CORE), POWER8) - ifneq ($(C_COMPILER), PGI) --CCOMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math -+CCOMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math - else - CCOMMON_OPT += -fast -Mvect=simd -Mcache_align - endif diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/bundled/patches/openblas-winexit.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/bundled/patches/openblas-winexit.patch deleted file mode 100644 index 33389f34a40..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.17/bundled/patches/openblas-winexit.patch +++ /dev/null @@ -1,170 +0,0 @@ -diff --git a/driver/others/memory.c b/driver/others/memory.c -index 6e654ccf..1d2f9f12 100644 ---- a/driver/others/memory.c -+++ b/driver/others/memory.c -@@ -1534,7 +1534,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -1572,75 +1572,11 @@ void DESTRUCTOR gotoblas_quit(void) { - } - - #if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: --#if defined(SMP) -- blas_thread_memory_cleanup(); --#endif -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} - #ifdef _WIN64 - #pragma comment(linker, "/INCLUDE:_tls_used") - #else - #pragma comment(linker, "/INCLUDE:__tls_used") - #endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif -- --#ifdef _WIN64 --static const PIMAGE_TLS_CALLBACK dll_callback(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#pragma const_seg() --#else --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif -- --#ifdef _WIN64 --static const int(*p_process_term)(void) = on_process_term; --#pragma const_seg() --#else --static int(*p_process_term)(void) = on_process_term; --#pragma data_seg() --#endif - #endif - - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) -@@ -3146,7 +3082,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -3175,71 +3111,6 @@ void DESTRUCTOR gotoblas_quit(void) { - #endif - } - --#if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} --#ifdef _WIN64 --#pragma comment(linker, "/INCLUDE:_tls_used") --#else --#pragma comment(linker, "/INCLUDE:__tls_used") --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif --#endif -- - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) - /* Don't call me; this is just work around for PGI / Sun bug */ - void gotoblas_dummy_for_PGI(void) { diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/build_tarballs.jl b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/build_tarballs.jl deleted file mode 100644 index 09a9b8f246f..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/build_tarballs.jl +++ /dev/null @@ -1,19 +0,0 @@ -using BinaryBuilder - -include("../common.jl") - -# Collection of sources required to build OpenBLAS -name = "OpenBLASConsistentFPCSR" -version = v"0.3.20" - -sources = openblas_sources(version) -script = openblas_script(;aarch64_ilp64=true, num_64bit_threads=512) -platforms = openblas_platforms(;experimental=true) -products = openblas_products() -dependencies = openblas_dependencies() - -push!(platforms, Platform("x86_64", "linux"; sanitize="memory")) - -# Build the tarballs -build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; - preferred_gcc_version=v"6", lock_microarchitecture=false, julia_compat="1.9") diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/bundled/patches/0001-Guard-uses-of-_mm512_reduce_add_p.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/bundled/patches/0001-Guard-uses-of-_mm512_reduce_add_p.patch deleted file mode 100644 index 0155ca6d632..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/bundled/patches/0001-Guard-uses-of-_mm512_reduce_add_p.patch +++ /dev/null @@ -1,95 +0,0 @@ -From 73ffabe6ba46f167f5f51596ce9f4f3da02e551d Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Wed, 23 Feb 2022 20:06:14 +0100 -Subject: [PATCH 1/1] Guard uses of _mm512_reduce_add_p? - ---- - kernel/x86_64/dgemm_small_kernel_nn_skylakex.c | 5 +++++ - kernel/x86_64/dgemm_small_kernel_tn_skylakex.c | 5 +++++ - kernel/x86_64/sgemm_small_kernel_nn_skylakex.c | 5 +++++ - kernel/x86_64/sgemm_small_kernel_tn_skylakex.c | 5 +++++ - 4 files changed, 20 insertions(+) - -diff --git a/kernel/x86_64/dgemm_small_kernel_nn_skylakex.c b/kernel/x86_64/dgemm_small_kernel_nn_skylakex.c -index d9b380ff..5d7b3c66 100644 ---- a/kernel/x86_64/dgemm_small_kernel_nn_skylakex.c -+++ b/kernel/x86_64/dgemm_small_kernel_nn_skylakex.c -@@ -24,6 +24,7 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - *****************************************************************************/ -+#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX512CD__)) || (defined(__clang__) && __clang_major__ >= 9)) - - #include - #include "common.h" -@@ -588,3 +589,7 @@ int CNAME(BLASLONG M, BLASLONG N, BLASLONG K, FLOAT * A, BLASLONG lda, FLOAT alp - } - return 0; - } -+#else -+#include "../generic/gemm_small_matrix_kernel_nn.c" -+#endif -+ -diff --git a/kernel/x86_64/dgemm_small_kernel_tn_skylakex.c b/kernel/x86_64/dgemm_small_kernel_tn_skylakex.c -index 18c79728..e6387398 100644 ---- a/kernel/x86_64/dgemm_small_kernel_tn_skylakex.c -+++ b/kernel/x86_64/dgemm_small_kernel_tn_skylakex.c -@@ -24,6 +24,7 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - *****************************************************************************/ -+#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX512CD__)) || (defined(__clang__) && __clang_major__ >= 9)) - - #include - #include "common.h" -@@ -320,3 +321,7 @@ int CNAME(BLASLONG M, BLASLONG N, BLASLONG K, FLOAT * A, BLASLONG lda, FLOAT alp - } - return 0; - } -+#else -+#include "../generic/gemm_small_matrix_kernel_tn.c" -+#endif -+ -diff --git a/kernel/x86_64/sgemm_small_kernel_nn_skylakex.c b/kernel/x86_64/sgemm_small_kernel_nn_skylakex.c -index 9bc7a7c5..215add01 100644 ---- a/kernel/x86_64/sgemm_small_kernel_nn_skylakex.c -+++ b/kernel/x86_64/sgemm_small_kernel_nn_skylakex.c -@@ -24,6 +24,7 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - *****************************************************************************/ -+#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX512CD__)) || (defined(__clang__) && __clang_major__ >= 9)) - - #include - #include "common.h" -@@ -610,3 +611,7 @@ int CNAME(BLASLONG M, BLASLONG N, BLASLONG K, FLOAT * A, BLASLONG lda, FLOAT alp - } - return 0; - } -+#else -+#include "../generic/gemm_small_matrix_kernel_nn.c" -+#endif -+ -diff --git a/kernel/x86_64/sgemm_small_kernel_tn_skylakex.c b/kernel/x86_64/sgemm_small_kernel_tn_skylakex.c -index 5a9a4ea3..f394b5b3 100644 ---- a/kernel/x86_64/sgemm_small_kernel_tn_skylakex.c -+++ b/kernel/x86_64/sgemm_small_kernel_tn_skylakex.c -@@ -24,6 +24,7 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - *****************************************************************************/ -+#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX512CD__)) || (defined(__clang__) && __clang_major__ >= 9)) - - #include - #include "common.h" -@@ -314,3 +315,7 @@ int CNAME(BLASLONG M, BLASLONG N, BLASLONG K, FLOAT * A, BLASLONG lda, FLOAT alp - } - return 0; - } -+#else -+#include "../generic/gemm_small_matrix_kernel_tn.c" -+#endif -+ --- -2.35.1 - diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/bundled/patches/neoverse-generic-kernels.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/bundled/patches/neoverse-generic-kernels.patch deleted file mode 100644 index ab37e3783bf..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/bundled/patches/neoverse-generic-kernels.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/kernel/arm64/KERNEL.NEOVERSEN1 b/kernel/arm64/KERNEL.NEOVERSEN1 -index ea010db4..074d7215 100644 ---- a/kernel/arm64/KERNEL.NEOVERSEN1 -+++ b/kernel/arm64/KERNEL.NEOVERSEN1 -@@ -91,10 +91,10 @@ IDAMAXKERNEL = iamax_thunderx2t99.c - ICAMAXKERNEL = izamax_thunderx2t99.c - IZAMAXKERNEL = izamax_thunderx2t99.c - --SNRM2KERNEL = scnrm2_thunderx2t99.c --DNRM2KERNEL = dznrm2_thunderx2t99.c --CNRM2KERNEL = scnrm2_thunderx2t99.c --ZNRM2KERNEL = dznrm2_thunderx2t99.c -+SNRM2KERNEL = nrm2.S -+DNRM2KERNEL = nrm2.S -+CNRM2KERNEL = znrm2.S -+ZNRM2KERNEL = znrm2.S - - DDOTKERNEL = dot_thunderx2t99.c - SDOTKERNEL = dot_thunderx2t99.c diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/bundled/patches/openblas-ofast-power.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/bundled/patches/openblas-ofast-power.patch deleted file mode 100644 index 405e3f75813..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/bundled/patches/openblas-ofast-power.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/Makefile.power b/Makefile.power -index 28a0bae0..b4869fbd 100644 ---- a/Makefile.power -+++ b/Makefile.power -@@ -11,7 +11,7 @@ endif - - ifeq ($(CORE), POWER10) - ifneq ($(C_COMPILER), PGI) --CCOMMON_OPT += -Ofast -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math -+CCOMMON_OPT += -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math - ifeq ($(F_COMPILER), IBM) - FCOMMON_OPT += -O2 -qrecur -qnosave - else -@@ -22,7 +22,7 @@ endif - - ifeq ($(CORE), POWER9) - ifneq ($(C_COMPILER), PGI) --CCOMMON_OPT += -Ofast -mvsx -fno-fast-math -+CCOMMON_OPT += -mvsx -fno-fast-math - ifeq ($(C_COMPILER), GCC) - ifneq ($(GCCVERSIONGT4), 1) - $(warning your compiler is too old to fully support POWER9, getting a newer version of gcc is recommended) -@@ -59,7 +59,7 @@ endif - - ifeq ($(CORE), POWER8) - ifneq ($(C_COMPILER), PGI) --CCOMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math -+CCOMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math - else - CCOMMON_OPT += -fast -Mvect=simd -Mcache_align - endif diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/bundled/patches/openblas-winexit.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/bundled/patches/openblas-winexit.patch deleted file mode 100644 index 33389f34a40..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.20/bundled/patches/openblas-winexit.patch +++ /dev/null @@ -1,170 +0,0 @@ -diff --git a/driver/others/memory.c b/driver/others/memory.c -index 6e654ccf..1d2f9f12 100644 ---- a/driver/others/memory.c -+++ b/driver/others/memory.c -@@ -1534,7 +1534,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -1572,75 +1572,11 @@ void DESTRUCTOR gotoblas_quit(void) { - } - - #if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: --#if defined(SMP) -- blas_thread_memory_cleanup(); --#endif -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} - #ifdef _WIN64 - #pragma comment(linker, "/INCLUDE:_tls_used") - #else - #pragma comment(linker, "/INCLUDE:__tls_used") - #endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif -- --#ifdef _WIN64 --static const PIMAGE_TLS_CALLBACK dll_callback(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#pragma const_seg() --#else --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif -- --#ifdef _WIN64 --static const int(*p_process_term)(void) = on_process_term; --#pragma const_seg() --#else --static int(*p_process_term)(void) = on_process_term; --#pragma data_seg() --#endif - #endif - - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) -@@ -3146,7 +3082,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -3175,71 +3111,6 @@ void DESTRUCTOR gotoblas_quit(void) { - #endif - } - --#if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} --#ifdef _WIN64 --#pragma comment(linker, "/INCLUDE:_tls_used") --#else --#pragma comment(linker, "/INCLUDE:__tls_used") --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif --#endif -- - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) - /* Don't call me; this is just work around for PGI / Sun bug */ - void gotoblas_dummy_for_PGI(void) { diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.5/build_tarballs.jl b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.5/build_tarballs.jl deleted file mode 100644 index 8bcbc129c5f..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.5/build_tarballs.jl +++ /dev/null @@ -1,16 +0,0 @@ -using BinaryBuilder - -include("../common.jl") - -name = "OpenBLASConsistentFPCSR" -version = v"0.3.5" - - -sources = openblas_sources(version) -script = openblas_script() -platforms = openblas_platforms() -products = openblas_products() -dependencies = openblas_dependencies() - -# Build the tarballs -build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; preferred_gcc_version=v"6", lock_microarchitecture=false) diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.7/build_tarballs.jl b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.7/build_tarballs.jl deleted file mode 100644 index 8643cb2dd86..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.7/build_tarballs.jl +++ /dev/null @@ -1,16 +0,0 @@ -using BinaryBuilder - -include("../common.jl") - -name = "OpenBLASConsistentFPCSR" -version = v"0.3.7" - -sources = openblas_sources(version) -script = openblas_script() -platforms = openblas_platforms() -products = openblas_products() -dependencies = openblas_dependencies() - -# Build the tarballs -build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; preferred_gcc_version=v"6", lock_microarchitecture=false) - diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.7/bundled/patches/openblas-ofast-power.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.7/bundled/patches/openblas-ofast-power.patch deleted file mode 100644 index a7ce743e902..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.7/bundled/patches/openblas-ofast-power.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/Makefile.power b/Makefile.power -index 24d8aa8a..e53a243a 100644 ---- a/Makefile.power -+++ b/Makefile.power -@@ -11,20 +11,20 @@ endif - - ifeq ($(CORE), POWER9) - ifeq ($(USE_OPENMP), 1) --COMMON_OPT += -Ofast -mcpu=power9 -mtune=power9 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp -+COMMON_OPT += -mcpu=power9 -mtune=power9 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - FCOMMON_OPT += -O2 -frecursive -mcpu=power9 -mtune=power9 -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - else --COMMON_OPT += -Ofast -mcpu=power9 -mtune=power9 -mvsx -malign-power -fno-fast-math -+COMMON_OPT += -mcpu=power9 -mtune=power9 -mvsx -malign-power -fno-fast-math - FCOMMON_OPT += -O2 -frecursive -mcpu=power9 -mtune=power9 -malign-power -fno-fast-math - endif - endif - - ifeq ($(CORE), POWER8) - ifeq ($(USE_OPENMP), 1) --COMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp -+COMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - FCOMMON_OPT += -O2 -frecursive -mcpu=power8 -mtune=power8 -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - else --COMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -malign-power -fno-fast-math -+COMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -malign-power -fno-fast-math - FCOMMON_OPT += -O2 -frecursive -mcpu=power8 -mtune=power8 -malign-power -fno-fast-math - endif - endif diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.7/bundled/patches/openblas-winexit.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.7/bundled/patches/openblas-winexit.patch deleted file mode 100644 index 8a615d285ce..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.7/bundled/patches/openblas-winexit.patch +++ /dev/null @@ -1,346 +0,0 @@ -commit d9a4e67bb613a8720b606870903afac95273c607 -Author: Keno Fischer -Date: Fri Feb 28 15:10:08 2020 -0500 - - Winexit patch redux - -diff --git a/driver/others/memory.c b/driver/others/memory.c -index 534d6d9f..f5cba6a0 100644 ---- a/driver/others/memory.c -+++ b/driver/others/memory.c -@@ -80,7 +80,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - #undef COMPILE_TLS - #endif - --#if defined(__GLIBC_PREREQ) -+#if defined(__GLIBC_PREREQ) - #if !__GLIBC_PREREQ(2,20) - #undef COMPILE_TLS - #endif -@@ -248,7 +248,7 @@ int get_num_procs(void) { - return nums; - } - ret = CPU_COUNT_S(size,cpusetp); -- if (ret > 0 && ret < nums) nums = ret; -+ if (ret > 0 && ret < nums) nums = ret; - CPU_FREE(cpusetp); - return nums; - } else { -@@ -257,7 +257,7 @@ int get_num_procs(void) { - return nums; - } - ret = CPU_COUNT(&cpuset); -- if (ret > 0 && ret < nums) nums = ret; -+ if (ret > 0 && ret < nums) nums = ret; - return nums; - } - #endif -@@ -1510,7 +1510,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -1521,7 +1521,7 @@ void DESTRUCTOR gotoblas_quit(void) { - TlsFree(local_storage_key); - #else - pthread_key_delete(local_storage_key); --#endif -+#endif - #endif - - #ifdef PROFILE -@@ -1547,74 +1547,12 @@ void DESTRUCTOR gotoblas_quit(void) { - #endif - } - --#if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: --#if defined(SMP) -- blas_thread_memory_cleanup(); --#endif -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} - #ifdef _WIN64 - #pragma comment(linker, "/INCLUDE:_tls_used") - #else - #pragma comment(linker, "/INCLUDE:__tls_used") - #endif - --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif --#endif -- - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) - /* Don't call me; this is just work around for PGI / Sun bug */ - void gotoblas_dummy_for_PGI(void) { -@@ -1793,7 +1731,7 @@ int get_num_procs(void) { - return nums; - } - ret = CPU_COUNT_S(size,cpusetp); -- if (ret > 0 && ret < nums) nums = ret; -+ if (ret > 0 && ret < nums) nums = ret; - CPU_FREE(cpusetp); - return nums; - } else { -@@ -1802,7 +1740,7 @@ int get_num_procs(void) { - return nums; - } - ret = CPU_COUNT(&cpuset); -- if (ret > 0 && ret < nums) nums = ret; -+ if (ret > 0 && ret < nums) nums = ret; - return nums; - } - #endif -@@ -2070,15 +2008,15 @@ static void *alloc_mmap(void *address){ - if (map_address != (void *)-1) { - #if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP) - LOCK_COMMAND(&alloc_lock); --#endif -+#endif - release_info[release_pos].address = map_address; - release_info[release_pos].func = alloc_mmap_free; - release_pos ++; - #if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP) - UNLOCK_COMMAND(&alloc_lock); --#endif -+#endif - } else { --#ifdef DEBUG -+#ifdef DEBUG - int errsv=errno; - perror("OpenBLAS : mmap failed:"); - printf("error code=%d,\tmap_address=%lx\n",errsv,map_address); -@@ -2487,7 +2425,7 @@ static void *alloc_hugetlb(void *address){ - - tp.PrivilegeCount = 1; - tp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; -- -+ - if (LookupPrivilegeValue(NULL, SE_LOCK_MEMORY_NAME, &tp.Privileges[0].Luid) != TRUE) { - CloseHandle(hToken); - return (void*)-1; -@@ -2693,7 +2631,7 @@ void *blas_memory_alloc(int procpos){ - if (!memory[position].used && (memory[position].pos == mypos)) { - #if defined(SMP) && !defined(USE_OPENMP) - LOCK_COMMAND(&alloc_lock); --#else -+#else - blas_lock(&memory[position].lock); - #endif - if (!memory[position].used) goto allocation; -@@ -2701,7 +2639,7 @@ void *blas_memory_alloc(int procpos){ - UNLOCK_COMMAND(&alloc_lock); - #else - blas_unlock(&memory[position].lock); --#endif -+#endif - } - - position ++; -@@ -2717,21 +2655,21 @@ void *blas_memory_alloc(int procpos){ - LOCK_COMMAND(&alloc_lock); - #endif - do { --#if defined(USE_OPENMP) -- if (!memory[position].used) { -+#if defined(USE_OPENMP) -+ if (!memory[position].used) { - blas_lock(&memory[position].lock); - #endif - if (!memory[position].used) goto allocation; -- -+ - #if defined(USE_OPENMP) -- blas_unlock(&memory[position].lock); -+ blas_unlock(&memory[position].lock); - } - #endif - position ++; - - } while (position < NUM_BUFFERS); - #if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP) -- UNLOCK_COMMAND(&alloc_lock); -+ UNLOCK_COMMAND(&alloc_lock); - #endif - goto error; - -@@ -2745,7 +2683,7 @@ void *blas_memory_alloc(int procpos){ - #if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP) - UNLOCK_COMMAND(&alloc_lock); - #else -- blas_unlock(&memory[position].lock); -+ blas_unlock(&memory[position].lock); - #endif - if (!memory[position].addr) { - do { -@@ -2793,7 +2731,7 @@ void *blas_memory_alloc(int procpos){ - - #if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP) - LOCK_COMMAND(&alloc_lock); --#endif -+#endif - memory[position].addr = map_address; - #if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP) - UNLOCK_COMMAND(&alloc_lock); -@@ -3104,7 +3042,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -3133,71 +3071,6 @@ void DESTRUCTOR gotoblas_quit(void) { - #endif - } - --#if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} --#ifdef _WIN64 --#pragma comment(linker, "/INCLUDE:_tls_used") --#else --#pragma comment(linker, "/INCLUDE:__tls_used") --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif --#endif -- - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) - /* Don't call me; this is just work around for PGI / Sun bug */ - void gotoblas_dummy_for_PGI(void) { -@@ -3212,7 +3085,7 @@ void gotoblas_dummy_for_PGI(void) { - asm (".section .init,\"ax\"; call gotoblas_init@PLT; .section .text"); - asm (".section .fini,\"ax\"; call gotoblas_quit@PLT; .section .text"); - #endif --#endif -+#endif - } - #endif - -diff --git a/exports/dllinit.c b/exports/dllinit.c -index 4a05c0e1..88f9af65 100644 ---- a/exports/dllinit.c -+++ b/exports/dllinit.c -@@ -50,7 +50,10 @@ BOOL APIENTRY DllMain(HINSTANCE hInst, DWORD reason, LPVOID reserved) { - gotoblas_init(); - break; - case DLL_PROCESS_DETACH: -- gotoblas_quit(); -+ // If the process is about to exit, don't bother releasing any resources -+ // The kernel is much better at bulk releasing then. -+ if (!reserved) -+ gotoblas_quit(); - break; - case DLL_THREAD_ATTACH: - break; - diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.9/build_tarballs.jl b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.9/build_tarballs.jl deleted file mode 100644 index 2989c8f0dfc..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.9/build_tarballs.jl +++ /dev/null @@ -1,17 +0,0 @@ -using BinaryBuilder - -include("../common.jl") - -# Collection of sources required to build OpenBLAS -name = "OpenBLASConsistentFPCSR" -version = v"0.3.9" - -sources = openblas_sources(version) -script = openblas_script() -platforms = openblas_platforms() -products = openblas_products() -dependencies = openblas_dependencies() - - -# Build the tarballs -build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; preferred_gcc_version=v"6", lock_microarchitecture=false) diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.9/bundled/patches/fix-initialization-to-tzero-arm64.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.9/bundled/patches/fix-initialization-to-tzero-arm64.patch deleted file mode 100644 index 2ed23730074..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.9/bundled/patches/fix-initialization-to-tzero-arm64.patch +++ /dev/null @@ -1,67 +0,0 @@ -From 2c87b7f3892710e082e0c4dfea9bc234a38dc160 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Tue, 31 Mar 2020 16:53:56 +0200 -Subject: [PATCH] Fix zero initialization arm64 - ---- - kernel/arm64/dgemm_beta.S | 16 ++++++++-------- - kernel/arm64/sgemm_beta.S | 16 ++++++++-------- - 2 files changed, 16 insertions(+), 16 deletions(-) - -diff --git a/kernel/arm64/dgemm_beta.S b/kernel/arm64/dgemm_beta.S -index 20011c34..7d21525c 100644 ---- a/kernel/arm64/dgemm_beta.S -+++ b/kernel/arm64/dgemm_beta.S -@@ -81,14 +81,14 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - .endm - - .macro INIT_ZERO -- fmul v0.2d, v0.2d, betaV0 -- fmul v1.2d, v1.2d, betaV0 -- fmul v2.2d, v2.2d, betaV0 -- fmul v3.2d, v3.2d, betaV0 -- fmul v4.2d, v4.2d, betaV0 -- fmul v5.2d, v5.2d, betaV0 -- fmul v6.2d, v6.2d, betaV0 -- fmul v7.2d, v7.2d, betaV0 -+ movi v0.2d, #0000000000000000 -+ movi v1.2d, #0000000000000000 -+ movi v2.2d, #0000000000000000 -+ movi v3.2d, #0000000000000000 -+ movi v4.2d, #0000000000000000 -+ movi v5.2d, #0000000000000000 -+ movi v6.2d, #0000000000000000 -+ movi v7.2d, #0000000000000000 - .endm - - /************************************************************************************** -diff --git a/kernel/arm64/sgemm_beta.S b/kernel/arm64/sgemm_beta.S -index a3b97e23..574485bc 100755 ---- a/kernel/arm64/sgemm_beta.S -+++ b/kernel/arm64/sgemm_beta.S -@@ -81,14 +81,14 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - .endm - - .macro INIT_ZERO -- fmul v0.4s, v0.4s, betaV0 -- fmul v1.4s, v1.4s, betaV0 -- fmul v2.4s, v2.4s, betaV0 -- fmul v3.4s, v3.4s, betaV0 -- fmul v4.4s, v4.4s, betaV0 -- fmul v5.4s, v5.4s, betaV0 -- fmul v6.4s, v6.4s, betaV0 -- fmul v7.4s, v7.4s, betaV0 -+ movi v0.4s, #0x0 -+ movi v1.4s, #0x0 -+ movi v2.4s, #0x0 -+ movi v3.4s, #0x0 -+ movi v4.4s, #0x0 -+ movi v5.4s, #0x0 -+ movi v6.4s, #0x0 -+ movi v7.4s, #0x0 - .endm - - /************************************************************************************** --- -2.25.1 - diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.9/bundled/patches/openblas-ofast-power.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.9/bundled/patches/openblas-ofast-power.patch deleted file mode 100644 index 3d777eb2c8f..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.9/bundled/patches/openblas-ofast-power.patch +++ /dev/null @@ -1,33 +0,0 @@ - Makefile.power | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/Makefile.power b/Makefile.power -index 24d8aa8a..e53a243a 100644 ---- a/Makefile.power -+++ b/Makefile.power -@@ -11,20 +11,20 @@ endif - - ifeq ($(CORE), POWER9) - ifeq ($(USE_OPENMP), 1) --COMMON_OPT += -Ofast -mcpu=power9 -mtune=power9 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp -+COMMON_OPT += -mcpu=power9 -mtune=power9 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - FCOMMON_OPT += -O2 -frecursive -mcpu=power9 -mtune=power9 -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - else --COMMON_OPT += -Ofast -mcpu=power9 -mtune=power9 -mvsx -malign-power -fno-fast-math -+COMMON_OPT += -mcpu=power9 -mtune=power9 -mvsx -malign-power -fno-fast-math - FCOMMON_OPT += -O2 -frecursive -mcpu=power9 -mtune=power9 -malign-power -fno-fast-math - endif - endif - - ifeq ($(CORE), POWER8) - ifeq ($(USE_OPENMP), 1) --COMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp -+COMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - FCOMMON_OPT += -O2 -frecursive -mcpu=power8 -mtune=power8 -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - else --COMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -malign-power -fno-fast-math -+COMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -malign-power -fno-fast-math - FCOMMON_OPT += -O2 -frecursive -mcpu=power8 -mtune=power8 -malign-power -fno-fast-math - endif - endif - diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.9/bundled/patches/openblas-winexit.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.9/bundled/patches/openblas-winexit.patch deleted file mode 100644 index 629cb9c9882..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.9/bundled/patches/openblas-winexit.patch +++ /dev/null @@ -1,177 +0,0 @@ -From f919c3301fabbaa5d965dcc7b1c3d6892a8c730a Mon Sep 17 00:00:00 2001 -From: Keno Fischer -Date: Sat, 14 Mar 2020 12:05:19 +0100 - ---- - driver/others/memory.c | 131 +---------------------------------------- - 1 file changed, 2 insertions(+), 129 deletions(-) - -diff --git a/driver/others/memory.c b/driver/others/memory.c -index 62a5a021..23f8fe65 100644 ---- a/driver/others/memory.c -+++ b/driver/others/memory.c -@@ -1510,7 +1510,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -1547,74 +1547,12 @@ void DESTRUCTOR gotoblas_quit(void) { - #endif - } - --#if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: --#if defined(SMP) -- blas_thread_memory_cleanup(); --#endif -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} - #ifdef _WIN64 - #pragma comment(linker, "/INCLUDE:_tls_used") - #else - #pragma comment(linker, "/INCLUDE:__tls_used") - #endif - --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif --#endif -- - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) - /* Don't call me; this is just work around for PGI / Sun bug */ - void gotoblas_dummy_for_PGI(void) { -@@ -3104,7 +3042,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -3133,71 +3071,6 @@ void DESTRUCTOR gotoblas_quit(void) { - #endif - } - --#if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} --#ifdef _WIN64 --#pragma comment(linker, "/INCLUDE:_tls_used") --#else --#pragma comment(linker, "/INCLUDE:__tls_used") --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif --#endif -- - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) - /* Don't call me; this is just work around for PGI / Sun bug */ - void gotoblas_dummy_for_PGI(void) { diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/build_tarballs.jl b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/build_tarballs.jl deleted file mode 100644 index c912852e52f..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/build_tarballs.jl +++ /dev/null @@ -1,17 +0,0 @@ -using BinaryBuilder - -include("../common.jl") - -# Collection of sources required to build OpenBLAS -name = "OpenBLASConsistentFPCSRHighCoreCount" -version = v"0.3.10" - -sources = openblas_sources(version) -script = openblas_script(num_64bit_threads=128) -platforms = openblas_platforms() -products = openblas_products() -dependencies = openblas_dependencies() - -# Build the tarballs! -build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; - preferred_gcc_version=v"6", lock_microarchitecture=false, julia_compat="1.6") diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/bundled/patches/neoverse-generic-kernels.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/bundled/patches/neoverse-generic-kernels.patch deleted file mode 100644 index ab37e3783bf..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/bundled/patches/neoverse-generic-kernels.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/kernel/arm64/KERNEL.NEOVERSEN1 b/kernel/arm64/KERNEL.NEOVERSEN1 -index ea010db4..074d7215 100644 ---- a/kernel/arm64/KERNEL.NEOVERSEN1 -+++ b/kernel/arm64/KERNEL.NEOVERSEN1 -@@ -91,10 +91,10 @@ IDAMAXKERNEL = iamax_thunderx2t99.c - ICAMAXKERNEL = izamax_thunderx2t99.c - IZAMAXKERNEL = izamax_thunderx2t99.c - --SNRM2KERNEL = scnrm2_thunderx2t99.c --DNRM2KERNEL = dznrm2_thunderx2t99.c --CNRM2KERNEL = scnrm2_thunderx2t99.c --ZNRM2KERNEL = dznrm2_thunderx2t99.c -+SNRM2KERNEL = nrm2.S -+DNRM2KERNEL = nrm2.S -+CNRM2KERNEL = znrm2.S -+ZNRM2KERNEL = znrm2.S - - DDOTKERNEL = dot_thunderx2t99.c - SDOTKERNEL = dot_thunderx2t99.c diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/bundled/patches/openblas-julia40963-zdot.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/bundled/patches/openblas-julia40963-zdot.patch deleted file mode 100644 index c5e4e7bb07b..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/bundled/patches/openblas-julia40963-zdot.patch +++ /dev/null @@ -1,26 +0,0 @@ -From b2053239fc36f9ca8c29286d8fc553d0200907b0 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Sun, 23 Aug 2020 15:08:16 +0200 -Subject: [PATCH] Fix mssing dummy parameter (imag part of alpha) of - zdot_thread_function - ---- - kernel/x86_64/zdot.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/kernel/x86_64/zdot.c b/kernel/x86_64/zdot.c -index 90fd86da..1bc785ac 100644 ---- a/kernel/x86_64/zdot.c -+++ b/kernel/x86_64/zdot.c -@@ -168,7 +168,7 @@ static void zdot_compute (BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLO - - #if defined(SMP) - static int zdot_thread_function(BLASLONG n, BLASLONG dummy0, --BLASLONG dummy1, FLOAT dummy2, FLOAT *x, BLASLONG inc_x, FLOAT *y, -+BLASLONG dummy1, FLOAT dummy2r, FLOAT dummy2i, FLOAT *x, BLASLONG inc_x, FLOAT *y, - BLASLONG inc_y, FLOAT *result, BLASLONG dummy3) - { - zdot_compute(n, x, inc_x, y, inc_y, (void *)result); --- -2.33.0 - diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/bundled/patches/openblas-ofast-power.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/bundled/patches/openblas-ofast-power.patch deleted file mode 100644 index 3d777eb2c8f..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/bundled/patches/openblas-ofast-power.patch +++ /dev/null @@ -1,33 +0,0 @@ - Makefile.power | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/Makefile.power b/Makefile.power -index 24d8aa8a..e53a243a 100644 ---- a/Makefile.power -+++ b/Makefile.power -@@ -11,20 +11,20 @@ endif - - ifeq ($(CORE), POWER9) - ifeq ($(USE_OPENMP), 1) --COMMON_OPT += -Ofast -mcpu=power9 -mtune=power9 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp -+COMMON_OPT += -mcpu=power9 -mtune=power9 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - FCOMMON_OPT += -O2 -frecursive -mcpu=power9 -mtune=power9 -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - else --COMMON_OPT += -Ofast -mcpu=power9 -mtune=power9 -mvsx -malign-power -fno-fast-math -+COMMON_OPT += -mcpu=power9 -mtune=power9 -mvsx -malign-power -fno-fast-math - FCOMMON_OPT += -O2 -frecursive -mcpu=power9 -mtune=power9 -malign-power -fno-fast-math - endif - endif - - ifeq ($(CORE), POWER8) - ifeq ($(USE_OPENMP), 1) --COMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp -+COMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - FCOMMON_OPT += -O2 -frecursive -mcpu=power8 -mtune=power8 -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - else --COMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -malign-power -fno-fast-math -+COMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -malign-power -fno-fast-math - FCOMMON_OPT += -O2 -frecursive -mcpu=power8 -mtune=power8 -malign-power -fno-fast-math - endif - endif - diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/bundled/patches/openblas-winexit.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/bundled/patches/openblas-winexit.patch deleted file mode 100644 index 629cb9c9882..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.10/bundled/patches/openblas-winexit.patch +++ /dev/null @@ -1,177 +0,0 @@ -From f919c3301fabbaa5d965dcc7b1c3d6892a8c730a Mon Sep 17 00:00:00 2001 -From: Keno Fischer -Date: Sat, 14 Mar 2020 12:05:19 +0100 - ---- - driver/others/memory.c | 131 +---------------------------------------- - 1 file changed, 2 insertions(+), 129 deletions(-) - -diff --git a/driver/others/memory.c b/driver/others/memory.c -index 62a5a021..23f8fe65 100644 ---- a/driver/others/memory.c -+++ b/driver/others/memory.c -@@ -1510,7 +1510,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -1547,74 +1547,12 @@ void DESTRUCTOR gotoblas_quit(void) { - #endif - } - --#if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: --#if defined(SMP) -- blas_thread_memory_cleanup(); --#endif -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} - #ifdef _WIN64 - #pragma comment(linker, "/INCLUDE:_tls_used") - #else - #pragma comment(linker, "/INCLUDE:__tls_used") - #endif - --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif --#endif -- - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) - /* Don't call me; this is just work around for PGI / Sun bug */ - void gotoblas_dummy_for_PGI(void) { -@@ -3104,7 +3042,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -3133,71 +3071,6 @@ void DESTRUCTOR gotoblas_quit(void) { - #endif - } - --#if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} --#ifdef _WIN64 --#pragma comment(linker, "/INCLUDE:_tls_used") --#else --#pragma comment(linker, "/INCLUDE:__tls_used") --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif --#endif -- - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) - /* Don't call me; this is just work around for PGI / Sun bug */ - void gotoblas_dummy_for_PGI(void) { diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/build_tarballs.jl b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/build_tarballs.jl deleted file mode 100644 index d0d80aa5248..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/build_tarballs.jl +++ /dev/null @@ -1,17 +0,0 @@ -using BinaryBuilder - -include("../common.jl") - -# Collection of sources required to build OpenBLAS -name = "OpenBLASConsistentFPCSRHighCoreCount" -version = v"0.3.12" - -sources = openblas_sources(version) -script = openblas_script(num_64bit_threads=128) -platforms = openblas_platforms() -products = openblas_products() -dependencies = openblas_dependencies() - -# Build the tarballs -build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; - preferred_gcc_version=v"6", lock_microarchitecture=false, julia_compat="1.6") diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/bundled/patches/dasum_microk_skylakex-typecast.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/bundled/patches/dasum_microk_skylakex-typecast.patch deleted file mode 100644 index c3e733863c8..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/bundled/patches/dasum_microk_skylakex-typecast.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/kernel/x86_64/dasum_microk_skylakex-2.c -+++ b/kernel/x86_64/dasum_microk_skylakex-2.c -@@ -39,10 +39,10 @@ - accum_2 = _mm512_setzero_pd(); - accum_3 = _mm512_setzero_pd(); - for (i = 0; i < tail_index_AVX512; i += 32) { -- accum_0 += _mm512_abs_pd(_mm512_load_pd(&x1[i + 0])); -- accum_1 += _mm512_abs_pd(_mm512_load_pd(&x1[i + 8])); -- accum_2 += _mm512_abs_pd(_mm512_load_pd(&x1[i +16])); -- accum_3 += _mm512_abs_pd(_mm512_load_pd(&x1[i +24])); -+ accum_0 += _mm512_abs_pd((__m512)_mm512_load_pd(&x1[i + 0])); -+ accum_1 += _mm512_abs_pd((__m512)_mm512_load_pd(&x1[i + 8])); -+ accum_2 += _mm512_abs_pd((__m512)_mm512_load_pd(&x1[i +16])); -+ accum_3 += _mm512_abs_pd((__m512)_mm512_load_pd(&x1[i +24])); - } - - accum_0 = accum_0 + accum_1 + accum_2 + accum_3; diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/bundled/patches/neoverse-generic-kernels.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/bundled/patches/neoverse-generic-kernels.patch deleted file mode 100644 index ab37e3783bf..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/bundled/patches/neoverse-generic-kernels.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/kernel/arm64/KERNEL.NEOVERSEN1 b/kernel/arm64/KERNEL.NEOVERSEN1 -index ea010db4..074d7215 100644 ---- a/kernel/arm64/KERNEL.NEOVERSEN1 -+++ b/kernel/arm64/KERNEL.NEOVERSEN1 -@@ -91,10 +91,10 @@ IDAMAXKERNEL = iamax_thunderx2t99.c - ICAMAXKERNEL = izamax_thunderx2t99.c - IZAMAXKERNEL = izamax_thunderx2t99.c - --SNRM2KERNEL = scnrm2_thunderx2t99.c --DNRM2KERNEL = dznrm2_thunderx2t99.c --CNRM2KERNEL = scnrm2_thunderx2t99.c --ZNRM2KERNEL = dznrm2_thunderx2t99.c -+SNRM2KERNEL = nrm2.S -+DNRM2KERNEL = nrm2.S -+CNRM2KERNEL = znrm2.S -+ZNRM2KERNEL = znrm2.S - - DDOTKERNEL = dot_thunderx2t99.c - SDOTKERNEL = dot_thunderx2t99.c diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/bundled/patches/openblas-ofast-power.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/bundled/patches/openblas-ofast-power.patch deleted file mode 100644 index 93f7f5ae947..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/bundled/patches/openblas-ofast-power.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/Makefile.power b/Makefile.power -index c7e97229..8426e816 100644 ---- a/Makefile.power -+++ b/Makefile.power -@@ -10,13 +10,13 @@ USE_OPENMP = 1 - endif - - ifeq ($(CORE), POWER10) --CCOMMON_OPT += -Ofast -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math -+CCOMMON_OPT += -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math - FCOMMON_OPT += -O2 -frecursive -mcpu=power10 -mtune=power10 -fno-fast-math - endif - - ifeq ($(CORE), POWER9) - ifneq ($(C_COMPILER), PGI) --CCOMMON_OPT += -Ofast -mvsx -fno-fast-math -+CCOMMON_OPT += -mvsx -fno-fast-math - ifeq ($(C_COMPILER), GCC) - ifneq ($(GCCVERSIONGT4), 1) - $(warning your compiler is too old to fully support POWER9, getting a newer version of gcc is recommended) -@@ -49,7 +49,7 @@ endif - - ifeq ($(CORE), POWER8) - ifneq ($(C_COMPILER), PGI) --CCOMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math -+CCOMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math - else - CCOMMON_OPT += -fast -Mvect=simd -Mcache_align - endif diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/bundled/patches/openblas-winexit.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/bundled/patches/openblas-winexit.patch deleted file mode 100644 index 7b0e38af37b..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.12/bundled/patches/openblas-winexit.patch +++ /dev/null @@ -1,166 +0,0 @@ -diff --git a/driver/others/memory.c b/driver/others/memory.c -index f0521ab2..3408921d 100644 ---- a/driver/others/memory.c -+++ b/driver/others/memory.c -@@ -1534,7 +1534,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -1572,71 +1572,11 @@ void DESTRUCTOR gotoblas_quit(void) { - } - - #if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: --#if defined(SMP) -- blas_thread_memory_cleanup(); --#endif -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} - #ifdef _WIN64 - #pragma comment(linker, "/INCLUDE:_tls_used") - #else - #pragma comment(linker, "/INCLUDE:__tls_used") - #endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif - #endif - - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) -@@ -3136,7 +3076,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -3165,71 +3105,6 @@ void DESTRUCTOR gotoblas_quit(void) { - #endif - } - --#if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} --#ifdef _WIN64 --#pragma comment(linker, "/INCLUDE:_tls_used") --#else --#pragma comment(linker, "/INCLUDE:__tls_used") --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif --#endif -- - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) - /* Don't call me; this is just work around for PGI / Sun bug */ - void gotoblas_dummy_for_PGI(void) { diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/build_tarballs.jl b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/build_tarballs.jl deleted file mode 100644 index 386f00fbb02..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/build_tarballs.jl +++ /dev/null @@ -1,17 +0,0 @@ -using BinaryBuilder - -include("../common.jl") - -# Collection of sources required to build OpenBLAS -name = "OpenBLASConsistentFPCSRHighCoreCount" -version = v"0.3.13" - -sources = openblas_sources(version) -script = openblas_script(num_64bit_threads=128, aarch64_ilp64=true) -platforms = openblas_platforms() -products = openblas_products() -dependencies = openblas_dependencies() - -# Build the tarballs -build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; - preferred_gcc_version=v"6", lock_microarchitecture=false, julia_compat="1.7") diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/0001-filter-out-mavx-flag-on-zgemm-kernels-as-it-can-caus.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/0001-filter-out-mavx-flag-on-zgemm-kernels-as-it-can-caus.patch deleted file mode 100644 index 5c9fa4aaa59..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/0001-filter-out-mavx-flag-on-zgemm-kernels-as-it-can-caus.patch +++ /dev/null @@ -1,162 +0,0 @@ -From bd60fb6ffc9d14834ed03bed0f7e6e44126c6c05 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Thu, 13 May 2021 23:05:00 +0200 -Subject: [PATCH 1/2] filter out -mavx flag on zgemm kernels as it can cause - problems with older gcc - ---- - kernel/Makefile.L3 | 40 ++++++++++++++++++++-------------------- - 1 file changed, 20 insertions(+), 20 deletions(-) - -diff --git a/kernel/Makefile.L3 b/kernel/Makefile.L3 -index d8d73996..be10ee01 100644 ---- a/kernel/Makefile.L3 -+++ b/kernel/Makefile.L3 -@@ -819,7 +819,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DNN zgemm_kernel_n_nomacros.s -o $@ - rm zgemm_kernel_n.s zgemm_kernel_n_nomacros.s - else -- $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DDOUBLE -DCOMPLEX -DNN $< -o $@ - endif - - $(KDIR)zgemm_kernel_l$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) $(ZGEMMDEPEND) -@@ -829,7 +829,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DCN zgemm_kernel_l_nomacros.s -o $@ - rm zgemm_kernel_l.s zgemm_kernel_l_nomacros.s - else -- $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DCN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DDOUBLE -DCOMPLEX -DCN $< -o $@ - endif - - $(KDIR)zgemm_kernel_r$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) $(ZGEMMDEPEND) -@@ -839,7 +839,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DNC zgemm_kernel_r_nomacros.s -o $@ - rm zgemm_kernel_r.s zgemm_kernel_r_nomacros.s - else -- $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DNC $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DDOUBLE -DCOMPLEX -DNC $< -o $@ - endif - - $(KDIR)zgemm_kernel_b$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) $(ZGEMMDEPEND) -@@ -849,7 +849,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DCC zgemm_kernel_b_nomacros.s -o $@ - rm zgemm_kernel_b.s zgemm_kernel_b_nomacros.s - else -- $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DCC $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DDOUBLE -DCOMPLEX -DCC $< -o $@ - endif - - $(KDIR)xgemm_kernel_n$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(XGEMMKERNEL) $(XGEMMDEPEND) -@@ -1045,7 +1045,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN ztrmm_kernel_ln_nomacros.s -o $@ - rm ztrmm_kernel_ln.s ztrmm_kernel_ln_nomacros.s - else -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_LT$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1055,7 +1055,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN ztrmm_kernel_lt_nomacros.s -o $@ - rm ztrmm_kernel_lt.s ztrmm_kernel_lt_nomacros.s - else -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_LR$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1065,7 +1065,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN ztrmm_kernel_lr_nomacros.s -o $@ - rm ztrmm_kernel_lr.s ztrmm_kernel_lr_nomacros.s - else -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_LC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1075,7 +1075,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN ztrmm_kernel_lc_nomacros.s -o $@ - rm ztrmm_kernel_lc.s ztrmm_kernel_lc_nomacros.s - else -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_RN$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1085,7 +1085,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN ztrmm_kernel_rn_nomacros.s -o $@ - rm ztrmm_kernel_rn.s ztrmm_kernel_rn_nomacros.s - else -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_RT$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1095,7 +1095,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN ztrmm_kernel_rt_nomacros.s -o $@ - rm ztrmm_kernel_rt.s ztrmm_kernel_rt_nomacros.s - else -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_RR$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1105,7 +1105,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC ztrmm_kernel_rr_nomacros.s -o $@ - rm ztrmm_kernel_rr.s ztrmm_kernel_rr_nomacros.s - else -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC $< -o $@ - endif - - $(KDIR)ztrmm_kernel_RC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1115,7 +1115,7 @@ ifeq ($(OS), AIX) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC ztrmm_kernel_rc_nomacros.s -o $@ - rm ztrmm_kernel_rc.s ztrmm_kernel_rc_nomacros.s - else -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ - endif - - else -@@ -1187,28 +1187,28 @@ $(KDIR)ctrmm_kernel_RC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(CGEMMKERNEL) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -UDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ - - $(KDIR)ztrmm_kernel_LN$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN $< -o $@ - - $(KDIR)ztrmm_kernel_LT$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN $< -o $@ - - $(KDIR)ztrmm_kernel_LR$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN $< -o $@ - - $(KDIR)ztrmm_kernel_LC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN $< -o $@ - - $(KDIR)ztrmm_kernel_RN$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN $< -o $@ - - $(KDIR)ztrmm_kernel_RT$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN $< -o $@ - - $(KDIR)ztrmm_kernel_RR$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC $< -o $@ - - $(KDIR)ztrmm_kernel_RC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -- $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ -+ $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ - endif - - --- -2.31.1 - diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/0002-Only-filter-out-mavx-on-Sandybridge-ZGEMM-ZTRMM-kern.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/0002-Only-filter-out-mavx-on-Sandybridge-ZGEMM-ZTRMM-kern.patch deleted file mode 100644 index 10ba3b4a5c6..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/0002-Only-filter-out-mavx-on-Sandybridge-ZGEMM-ZTRMM-kern.patch +++ /dev/null @@ -1,221 +0,0 @@ -From c4da892ba0798f8697e7b3219fd631651647e45f Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Fri, 14 May 2021 23:19:10 +0200 -Subject: [PATCH 2/2] Only filter out -mavx on Sandybridge ZGEMM/ZTRMM kernels - ---- - kernel/Makefile.L3 | 86 ++++++++++++++++++++++++++++++++++++---------- - 1 file changed, 68 insertions(+), 18 deletions(-) - -diff --git a/kernel/Makefile.L3 b/kernel/Makefile.L3 -index be10ee01..2d9e3ec3 100644 ---- a/kernel/Makefile.L3 -+++ b/kernel/Makefile.L3 -@@ -818,8 +818,10 @@ ifeq ($(OS), AIX) - m4 zgemm_kernel_n.s > zgemm_kernel_n_nomacros.s - $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DNN zgemm_kernel_n_nomacros.s -o $@ - rm zgemm_kernel_n.s zgemm_kernel_n_nomacros.s --else -+else ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DDOUBLE -DCOMPLEX -DNN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DNN $< -o $@ - endif - - $(KDIR)zgemm_kernel_l$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) $(ZGEMMDEPEND) -@@ -828,8 +830,10 @@ ifeq ($(OS), AIX) - m4 zgemm_kernel_l.s > zgemm_kernel_l_nomacros.s - $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DCN zgemm_kernel_l_nomacros.s -o $@ - rm zgemm_kernel_l.s zgemm_kernel_l_nomacros.s --else -+else ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DDOUBLE -DCOMPLEX -DCN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DCN $< -o $@ - endif - - $(KDIR)zgemm_kernel_r$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) $(ZGEMMDEPEND) -@@ -838,8 +842,10 @@ ifeq ($(OS), AIX) - m4 zgemm_kernel_r.s > zgemm_kernel_r_nomacros.s - $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DNC zgemm_kernel_r_nomacros.s -o $@ - rm zgemm_kernel_r.s zgemm_kernel_r_nomacros.s --else -+else ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DDOUBLE -DCOMPLEX -DNC $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DNC $< -o $@ - endif - - $(KDIR)zgemm_kernel_b$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) $(ZGEMMDEPEND) -@@ -848,8 +854,10 @@ ifeq ($(OS), AIX) - m4 zgemm_kernel_b.s > zgemm_kernel_b_nomacros.s - $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DCC zgemm_kernel_b_nomacros.s -o $@ - rm zgemm_kernel_b.s zgemm_kernel_b_nomacros.s --else -+else ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DDOUBLE -DCOMPLEX -DCC $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DDOUBLE -DCOMPLEX -DCC $< -o $@ - endif - - $(KDIR)xgemm_kernel_n$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(XGEMMKERNEL) $(XGEMMDEPEND) -@@ -1044,8 +1052,10 @@ ifeq ($(OS), AIX) - m4 ztrmm_kernel_ln.s > ztrmm_kernel_ln_nomacros.s - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN ztrmm_kernel_ln_nomacros.s -o $@ - rm ztrmm_kernel_ln.s ztrmm_kernel_ln_nomacros.s --else -+else ifeq ($(CORE), SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_LT$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1054,8 +1064,10 @@ ifeq ($(OS), AIX) - m4 ztrmm_kernel_lt.s > ztrmm_kernel_lt_nomacros.s - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN ztrmm_kernel_lt_nomacros.s -o $@ - rm ztrmm_kernel_lt.s ztrmm_kernel_lt_nomacros.s --else -+else ifeq ($(CORE), SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_LR$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1064,8 +1076,10 @@ ifeq ($(OS), AIX) - m4 ztrmm_kernel_lr.s > ztrmm_kernel_lr_nomacros.s - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN ztrmm_kernel_lr_nomacros.s -o $@ - rm ztrmm_kernel_lr.s ztrmm_kernel_lr_nomacros.s --else -+else ifeq ($(CORE), SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_LC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1074,8 +1088,10 @@ ifeq ($(OS), AIX) - m4 ztrmm_kernel_lc.s >ztrmm_kernel_lc_nomacros.s - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN ztrmm_kernel_lc_nomacros.s -o $@ - rm ztrmm_kernel_lc.s ztrmm_kernel_lc_nomacros.s --else -+else ifeq ($(CORE), SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_RN$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1084,8 +1100,10 @@ ifeq ($(OS), AIX) - m4 ztrmm_kernel_rn.s > ztrmm_kernel_rn_nomacros.s - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN ztrmm_kernel_rn_nomacros.s -o $@ - rm ztrmm_kernel_rn.s ztrmm_kernel_rn_nomacros.s --else -+else ifeq ($(CORE), SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_RT$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1094,8 +1112,10 @@ ifeq ($(OS), AIX) - m4 ztrmm_kernel_rt.s > ztrmm_kernel_rt_nomacros.s - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN ztrmm_kernel_rt_nomacros.s -o $@ - rm ztrmm_kernel_rt.s ztrmm_kernel_rt_nomacros.s --else -+else ifeq ($(CORE), SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN $< -o $@ - endif - - $(KDIR)ztrmm_kernel_RR$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1104,8 +1124,10 @@ ifeq ($(OS), AIX) - m4 ztrmm_kernel_rr.s > ztrmm_kernel_rr_nomacros.s - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC ztrmm_kernel_rr_nomacros.s -o $@ - rm ztrmm_kernel_rr.s ztrmm_kernel_rr_nomacros.s --else -+else ifeq ($(CORE), SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC $< -o $@ - endif - - $(KDIR)ztrmm_kernel_RC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZTRMMKERNEL) -@@ -1114,8 +1136,10 @@ ifeq ($(OS), AIX) - m4 ztrmm_kernel_rc.s > ztrmm_kernel_rc_nomacros.s - $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC ztrmm_kernel_rc_nomacros.s -o $@ - rm ztrmm_kernel_rc.s ztrmm_kernel_rc_nomacros.s --else -+else ifeq ($(CORE), SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ - endif - - else -@@ -1187,28 +1211,54 @@ $(KDIR)ctrmm_kernel_RC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(CGEMMKERNEL) - $(CC) $(CFLAGS) -c -DTRMMKERNEL -UDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ - - $(KDIR)ztrmm_kernel_LN$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -+ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -UCONJ -DNN $< -o $@ -+endif - - $(KDIR)ztrmm_kernel_LT$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -+ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN $< -o $@ -- -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -UCONJ -DNN $< -o $@ -+endif - $(KDIR)ztrmm_kernel_LR$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -+ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN $< -o $@ -- -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -UTRANSA -DCONJ -DCN $< -o $@ -+endif - $(KDIR)ztrmm_kernel_LC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -+ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN $< -o $@ -- -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -DLEFT -DTRANSA -DCONJ -DCN $< -o $@ -+endif - $(KDIR)ztrmm_kernel_RN$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -+ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN $< -o $@ -- -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -UCONJ -DNN $< -o $@ -+endif - $(KDIR)ztrmm_kernel_RT$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -+ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN $< -o $@ -- -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -UCONJ -DNN $< -o $@ -+endif - $(KDIR)ztrmm_kernel_RR$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -+ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC $< -o $@ -- -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -UTRANSA -DCONJ -DNC $< -o $@ -+endif - $(KDIR)ztrmm_kernel_RC$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(ZGEMMKERNEL) -+ifeq ($(CORE),SANDYBRIDGE) - $(CC) $(filter-out -mavx,$(CFLAGS)) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ -+else -+ $(CC) $(CFLAGS) -c -DTRMMKERNEL -DDOUBLE -DCOMPLEX -ULEFT -DTRANSA -DCONJ -DNC $< -o $@ -+endif - endif - - --- -2.31.1 - diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/neoverse-generic-kernels.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/neoverse-generic-kernels.patch deleted file mode 100644 index ab37e3783bf..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/neoverse-generic-kernels.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/kernel/arm64/KERNEL.NEOVERSEN1 b/kernel/arm64/KERNEL.NEOVERSEN1 -index ea010db4..074d7215 100644 ---- a/kernel/arm64/KERNEL.NEOVERSEN1 -+++ b/kernel/arm64/KERNEL.NEOVERSEN1 -@@ -91,10 +91,10 @@ IDAMAXKERNEL = iamax_thunderx2t99.c - ICAMAXKERNEL = izamax_thunderx2t99.c - IZAMAXKERNEL = izamax_thunderx2t99.c - --SNRM2KERNEL = scnrm2_thunderx2t99.c --DNRM2KERNEL = dznrm2_thunderx2t99.c --CNRM2KERNEL = scnrm2_thunderx2t99.c --ZNRM2KERNEL = dznrm2_thunderx2t99.c -+SNRM2KERNEL = nrm2.S -+DNRM2KERNEL = nrm2.S -+CNRM2KERNEL = znrm2.S -+ZNRM2KERNEL = znrm2.S - - DDOTKERNEL = dot_thunderx2t99.c - SDOTKERNEL = dot_thunderx2t99.c diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/openblas-armv8-volatile-detecion.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/openblas-armv8-volatile-detecion.patch deleted file mode 100644 index f1fb36b6a34..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/openblas-armv8-volatile-detecion.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 6fe0f1fab9d6a7f46d71d37ebb210fbf56924fbc Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Mon, 11 Jan 2021 19:05:29 +0100 -Subject: [PATCH] Label get_cpu_ftr as volatile to keep gcc from rearranging - the code - ---- - driver/others/dynamic_arm64.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/driver/others/dynamic_arm64.c b/driver/others/dynamic_arm64.c -index 4f1b12f27a..37c0694b6f 100644 ---- a/driver/others/dynamic_arm64.c -+++ b/driver/others/dynamic_arm64.c -@@ -68,7 +68,7 @@ extern void openblas_warning(int verbose, const char * msg); - #endif - - #define get_cpu_ftr(id, var) ({ \ -- __asm__("mrs %0, "#id : "=r" (var)); \ -+ __asm__ __volatile__("mrs %0, "#id : "=r" (var)); \ - }) - - static char *corename[] = { diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/openblas-exshift.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/openblas-exshift.patch deleted file mode 100644 index 4a0016ef662..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/openblas-exshift.patch +++ /dev/null @@ -1,149 +0,0 @@ -commit c4b5abbe43d7c22215ef36ef4f7c1413c975678c -Author: Martin Kroeker -Date: Fri Jan 29 10:45:36 2021 +0100 - - fix data type - -commit f87842483eee9d158f44d51d4c09662c3cff7526 -Author: Martin Kroeker -Date: Fri Jan 29 09:56:12 2021 +0100 - - fix calculation of non-exceptional shift (from Reference-LAPACK PR 477) - -commit 856bc365338f7559639f341d76ca8746d1628ee5 -Author: Martin Kroeker -Date: Wed Jan 27 13:41:45 2021 +0100 - - Add exceptional shift to fix rare convergence problems - ---- -diff --git a/lapack-netlib/SRC/chgeqz.f b/lapack-netlib/SRC/chgeqz.f -index 73d35621..4725e716 100644 ---- a/lapack-netlib/SRC/chgeqz.f -+++ b/lapack-netlib/SRC/chgeqz.f -@@ -320,12 +320,13 @@ - $ C, SAFMIN, TEMP, TEMP2, TEMPR, ULP - COMPLEX ABI22, AD11, AD12, AD21, AD22, CTEMP, CTEMP2, - $ CTEMP3, ESHIFT, RTDISC, S, SHIFT, SIGNBC, T1, -- $ U12, X -+ $ U12, X, ABI12, Y - * .. - * .. External Functions .. -+ COMPLEX CLADIV - LOGICAL LSAME - REAL CLANHS, SLAMCH -- EXTERNAL LSAME, CLANHS, SLAMCH -+ EXTERNAL CLADIV, LLSAME, CLANHS, SLAMCH - * .. - * .. External Subroutines .. - EXTERNAL CLARTG, CLASET, CROT, CSCAL, XERBLA -@@ -729,22 +730,34 @@ - AD22 = ( ASCALE*H( ILAST, ILAST ) ) / - $ ( BSCALE*T( ILAST, ILAST ) ) - ABI22 = AD22 - U12*AD21 -+ ABI12 = AD12 - U12*AD11 - * -- T1 = HALF*( AD11+ABI22 ) -- RTDISC = SQRT( T1**2+AD12*AD21-AD11*AD22 ) -- TEMP = REAL( T1-ABI22 )*REAL( RTDISC ) + -- $ AIMAG( T1-ABI22 )*AIMAG( RTDISC ) -- IF( TEMP.LE.ZERO ) THEN -- SHIFT = T1 + RTDISC -- ELSE -- SHIFT = T1 - RTDISC -+ SHIFT = ABI22 -+ CTEMP = SQRT( ABI12 )*SQRT( AD21 ) -+ TEMP = ABS1( CTEMP ) -+ IF( CTEMP.NE.ZERO ) THEN -+ X = HALF*( AD11-SHIFT ) -+ TEMP2 = ABS1( X ) -+ TEMP = MAX( TEMP, ABS1( X ) ) -+ Y = TEMP*SQRT( ( X / TEMP )**2+( CTEMP / TEMP )**2 ) -+ IF( TEMP2.GT.ZERO ) THEN -+ IF( REAL( X / TEMP2 )*REAL( Y )+ -+ $ AIMAG( X / TEMP2 )*AIMAG( Y ).LT.ZERO )Y = -Y -+ END IF -+ SHIFT = SHIFT - CTEMP*CLADIV( CTEMP, ( X+Y ) ) - END IF - ELSE - * - * Exceptional shift. Chosen for no particularly good reason. - * -- ESHIFT = ESHIFT + (ASCALE*H(ILAST,ILAST-1))/ -- $ (BSCALE*T(ILAST-1,ILAST-1)) -+ IF( ( IITER / 20 )*20.EQ.IITER .AND. -+ $ BSCALE*ABS1(T( ILAST, ILAST )).GT.SAFMIN ) THEN -+ ESHIFT = ESHIFT + ( ASCALE*H( ILAST, -+ $ ILAST ) )/( BSCALE*T( ILAST, ILAST ) ) -+ ELSE -+ ESHIFT = ESHIFT + ( ASCALE*H( ILAST, -+ $ ILAST-1 ) )/( BSCALE*T( ILAST-1, ILAST-1 ) ) -+ END IF - SHIFT = ESHIFT - END IF - * -diff --git a/lapack-netlib/SRC/zhgeqz.f b/lapack-netlib/SRC/zhgeqz.f -index b51cba4f..b28ae47a 100644 ---- a/lapack-netlib/SRC/zhgeqz.f -+++ b/lapack-netlib/SRC/zhgeqz.f -@@ -320,12 +320,13 @@ - $ C, SAFMIN, TEMP, TEMP2, TEMPR, ULP - COMPLEX*16 ABI22, AD11, AD12, AD21, AD22, CTEMP, CTEMP2, - $ CTEMP3, ESHIFT, RTDISC, S, SHIFT, SIGNBC, T1, -- $ U12, X -+ $ U12, X, ABI12, Y - * .. - * .. External Functions .. -+ COMPLEX*16 ZLADIV - LOGICAL LSAME - DOUBLE PRECISION DLAMCH, ZLANHS -- EXTERNAL LSAME, DLAMCH, ZLANHS -+ EXTERNAL ZLADIV, LSAME, DLAMCH, ZLANHS - * .. - * .. External Subroutines .. - EXTERNAL XERBLA, ZLARTG, ZLASET, ZROT, ZSCAL -@@ -730,22 +731,34 @@ - AD22 = ( ASCALE*H( ILAST, ILAST ) ) / - $ ( BSCALE*T( ILAST, ILAST ) ) - ABI22 = AD22 - U12*AD21 -+ ABI12 = AD12 - U12*AD11 - * -- T1 = HALF*( AD11+ABI22 ) -- RTDISC = SQRT( T1**2+AD12*AD21-AD11*AD22 ) -- TEMP = DBLE( T1-ABI22 )*DBLE( RTDISC ) + -- $ DIMAG( T1-ABI22 )*DIMAG( RTDISC ) -- IF( TEMP.LE.ZERO ) THEN -- SHIFT = T1 + RTDISC -- ELSE -- SHIFT = T1 - RTDISC -+ SHIFT = ABI22 -+ CTEMP = SQRT( ABI12 )*SQRT( AD21 ) -+ TEMP = ABS1( CTEMP ) -+ IF( CTEMP.NE.ZERO ) THEN -+ X = HALF*( AD11-SHIFT ) -+ TEMP2 = ABS1( X ) -+ TEMP = MAX( TEMP, ABS1( X ) ) -+ Y = TEMP*SQRT( ( X / TEMP )**2+( CTEMP / TEMP )**2 ) -+ IF( TEMP2.GT.ZERO ) THEN -+ IF( DBLE( X / TEMP2 )*DBLE( Y )+ -+ $ DIMAG( X / TEMP2 )*DIMAG( Y ).LT.ZERO )Y = -Y -+ END IF -+ SHIFT = SHIFT - CTEMP*ZLADIV( CTEMP, ( X+Y ) ) - END IF - ELSE - * - * Exceptional shift. Chosen for no particularly good reason. - * -- ESHIFT = ESHIFT + (ASCALE*H(ILAST,ILAST-1))/ -- $ (BSCALE*T(ILAST-1,ILAST-1)) -+ IF( ( IITER / 20 )*20.EQ.IITER .AND. -+ $ BSCALE*ABS1(T( ILAST, ILAST )).GT.SAFMIN ) THEN -+ ESHIFT = ESHIFT + ( ASCALE*H( ILAST, -+ $ ILAST ) )/( BSCALE*T( ILAST, ILAST ) ) -+ ELSE -+ ESHIFT = ESHIFT + ( ASCALE*H( ILAST, -+ $ ILAST-1 ) )/( BSCALE*T( ILAST-1, ILAST-1 ) ) -+ END IF - SHIFT = ESHIFT - END IF - * diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/openblas-ofast-power.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/openblas-ofast-power.patch deleted file mode 100644 index 93f7f5ae947..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/openblas-ofast-power.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/Makefile.power b/Makefile.power -index c7e97229..8426e816 100644 ---- a/Makefile.power -+++ b/Makefile.power -@@ -10,13 +10,13 @@ USE_OPENMP = 1 - endif - - ifeq ($(CORE), POWER10) --CCOMMON_OPT += -Ofast -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math -+CCOMMON_OPT += -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math - FCOMMON_OPT += -O2 -frecursive -mcpu=power10 -mtune=power10 -fno-fast-math - endif - - ifeq ($(CORE), POWER9) - ifneq ($(C_COMPILER), PGI) --CCOMMON_OPT += -Ofast -mvsx -fno-fast-math -+CCOMMON_OPT += -mvsx -fno-fast-math - ifeq ($(C_COMPILER), GCC) - ifneq ($(GCCVERSIONGT4), 1) - $(warning your compiler is too old to fully support POWER9, getting a newer version of gcc is recommended) -@@ -49,7 +49,7 @@ endif - - ifeq ($(CORE), POWER8) - ifneq ($(C_COMPILER), PGI) --CCOMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math -+CCOMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math - else - CCOMMON_OPT += -fast -Mvect=simd -Mcache_align - endif diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/openblas-winexit.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/openblas-winexit.patch deleted file mode 100644 index 7b0e38af37b..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.13/bundled/patches/openblas-winexit.patch +++ /dev/null @@ -1,166 +0,0 @@ -diff --git a/driver/others/memory.c b/driver/others/memory.c -index f0521ab2..3408921d 100644 ---- a/driver/others/memory.c -+++ b/driver/others/memory.c -@@ -1534,7 +1534,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -1572,71 +1572,11 @@ void DESTRUCTOR gotoblas_quit(void) { - } - - #if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: --#if defined(SMP) -- blas_thread_memory_cleanup(); --#endif -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} - #ifdef _WIN64 - #pragma comment(linker, "/INCLUDE:_tls_used") - #else - #pragma comment(linker, "/INCLUDE:__tls_used") - #endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif - #endif - - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) -@@ -3136,7 +3076,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -3165,71 +3105,6 @@ void DESTRUCTOR gotoblas_quit(void) { - #endif - } - --#if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} --#ifdef _WIN64 --#pragma comment(linker, "/INCLUDE:_tls_used") --#else --#pragma comment(linker, "/INCLUDE:__tls_used") --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif --#endif -- - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) - /* Don't call me; this is just work around for PGI / Sun bug */ - void gotoblas_dummy_for_PGI(void) { diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.17/bundled/patches/neoverse-generic-kernels.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.17/bundled/patches/neoverse-generic-kernels.patch deleted file mode 100644 index ab37e3783bf..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.17/bundled/patches/neoverse-generic-kernels.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/kernel/arm64/KERNEL.NEOVERSEN1 b/kernel/arm64/KERNEL.NEOVERSEN1 -index ea010db4..074d7215 100644 ---- a/kernel/arm64/KERNEL.NEOVERSEN1 -+++ b/kernel/arm64/KERNEL.NEOVERSEN1 -@@ -91,10 +91,10 @@ IDAMAXKERNEL = iamax_thunderx2t99.c - ICAMAXKERNEL = izamax_thunderx2t99.c - IZAMAXKERNEL = izamax_thunderx2t99.c - --SNRM2KERNEL = scnrm2_thunderx2t99.c --DNRM2KERNEL = dznrm2_thunderx2t99.c --CNRM2KERNEL = scnrm2_thunderx2t99.c --ZNRM2KERNEL = dznrm2_thunderx2t99.c -+SNRM2KERNEL = nrm2.S -+DNRM2KERNEL = nrm2.S -+CNRM2KERNEL = znrm2.S -+ZNRM2KERNEL = znrm2.S - - DDOTKERNEL = dot_thunderx2t99.c - SDOTKERNEL = dot_thunderx2t99.c diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.17/bundled/patches/openblas-ofast-power.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.17/bundled/patches/openblas-ofast-power.patch deleted file mode 100644 index c741496cae7..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.17/bundled/patches/openblas-ofast-power.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/Makefile.power b/Makefile.power -index 946f5523..19593050 100644 ---- a/Makefile.power -+++ b/Makefile.power -@@ -11,14 +11,14 @@ endif - - ifeq ($(CORE), POWER10) - ifneq ($(C_COMPILER), PGI) --CCOMMON_OPT += -Ofast -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math -+CCOMMON_OPT += -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math - FCOMMON_OPT += -O2 -frecursive -mcpu=power10 -mtune=power10 -fno-fast-math - endif - endif - - ifeq ($(CORE), POWER9) - ifneq ($(C_COMPILER), PGI) --CCOMMON_OPT += -Ofast -mvsx -fno-fast-math -+CCOMMON_OPT += -mvsx -fno-fast-math - ifeq ($(C_COMPILER), GCC) - ifneq ($(GCCVERSIONGT4), 1) - $(warning your compiler is too old to fully support POWER9, getting a newer version of gcc is recommended) -@@ -51,7 +51,7 @@ endif - - ifeq ($(CORE), POWER8) - ifneq ($(C_COMPILER), PGI) --CCOMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math -+CCOMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math - else - CCOMMON_OPT += -fast -Mvect=simd -Mcache_align - endif diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.17/bundled/patches/openblas-winexit.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.17/bundled/patches/openblas-winexit.patch deleted file mode 100644 index 33389f34a40..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.17/bundled/patches/openblas-winexit.patch +++ /dev/null @@ -1,170 +0,0 @@ -diff --git a/driver/others/memory.c b/driver/others/memory.c -index 6e654ccf..1d2f9f12 100644 ---- a/driver/others/memory.c -+++ b/driver/others/memory.c -@@ -1534,7 +1534,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -1572,75 +1572,11 @@ void DESTRUCTOR gotoblas_quit(void) { - } - - #if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: --#if defined(SMP) -- blas_thread_memory_cleanup(); --#endif -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} - #ifdef _WIN64 - #pragma comment(linker, "/INCLUDE:_tls_used") - #else - #pragma comment(linker, "/INCLUDE:__tls_used") - #endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif -- --#ifdef _WIN64 --static const PIMAGE_TLS_CALLBACK dll_callback(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#pragma const_seg() --#else --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif -- --#ifdef _WIN64 --static const int(*p_process_term)(void) = on_process_term; --#pragma const_seg() --#else --static int(*p_process_term)(void) = on_process_term; --#pragma data_seg() --#endif - #endif - - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) -@@ -3146,7 +3082,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -3175,71 +3111,6 @@ void DESTRUCTOR gotoblas_quit(void) { - #endif - } - --#if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} --#ifdef _WIN64 --#pragma comment(linker, "/INCLUDE:_tls_used") --#else --#pragma comment(linker, "/INCLUDE:__tls_used") --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif --#endif -- - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) - /* Don't call me; this is just work around for PGI / Sun bug */ - void gotoblas_dummy_for_PGI(void) { diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.17/build_tarballs.jl b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.21/build_tarballs.jl similarity index 96% rename from O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.17/build_tarballs.jl rename to O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.21/build_tarballs.jl index 45ab345eed6..a15f64ae01b 100644 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.17/build_tarballs.jl +++ b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.21/build_tarballs.jl @@ -4,7 +4,7 @@ include("../common.jl") # Collection of sources required to build OpenBLAS name = "OpenBLASConsistentFPCSRHighCoreCount" -version = v"0.3.17" +version = v"0.3.21" sources = openblas_sources(version) script = openblas_script(num_64bit_threads=128, aarch64_ilp64=true) diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.5/bundled/patches/openblas-avx512_sgemm.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.21/bundled/patches/openblas-avx512_sgemm.patch similarity index 100% rename from O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.5/bundled/patches/openblas-avx512_sgemm.patch rename to O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.21/bundled/patches/openblas-avx512_sgemm.patch diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.5/bundled/patches/openblas-ofast-power.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.21/bundled/patches/openblas-ofast-power.patch similarity index 100% rename from O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.5/bundled/patches/openblas-ofast-power.patch rename to O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.21/bundled/patches/openblas-ofast-power.patch diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.5/bundled/patches/openblas-skylakexdgemm.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.21/bundled/patches/openblas-skylakexdgemm.patch similarity index 100% rename from O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.5/bundled/patches/openblas-skylakexdgemm.patch rename to O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.21/bundled/patches/openblas-skylakexdgemm.patch diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.5/bundled/patches/openblas-winexit.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.21/bundled/patches/openblas-winexit.patch similarity index 100% rename from O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSR@0.3.5/bundled/patches/openblas-winexit.patch rename to O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.21/bundled/patches/openblas-winexit.patch diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/build_tarballs.jl b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/build_tarballs.jl deleted file mode 100644 index 2e996138904..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/build_tarballs.jl +++ /dev/null @@ -1,17 +0,0 @@ -using BinaryBuilder - -include("../common.jl") - -name = "OpenBLASConsistentFPCSRHighCoreCount" -version = v"0.3.5" - - -sources = openblas_sources(version) -script = openblas_script() -platforms = openblas_platforms() -products = openblas_products() -dependencies = openblas_dependencies() - -# Build the tarballs -build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; preferred_gcc_version=v"6", lock_microarchitecture=false) - diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/bundled/patches/openblas-avx512_sgemm.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/bundled/patches/openblas-avx512_sgemm.patch deleted file mode 100644 index ceaf81b90d3..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/bundled/patches/openblas-avx512_sgemm.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/Makefile.system b/Makefile.system -index fb8e7ea4..c7c4fedf 100644 ---- a/Makefile.system -+++ b/Makefile.system -@@ -151,7 +151,8 @@ GETARCH_FLAGS += -DNO_AVX - endif - - ifeq ($(BINARY), 32) --GETARCH_FLAGS += -DNO_AVX -+GETARCH_FLAGS += -DNO_AVX -DNO_AVX2 -DNO_AVX512 -+NO_AVX512 = 1 - endif - - ifeq ($(NO_AVX2), 1) -diff --git a/getarch.c b/getarch.c -index 146f1f36..9db0ba74 100644 ---- a/getarch.c -+++ b/getarch.c -@@ -91,6 +91,10 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - #include - #endif - -+#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX2__)) || (defined(__clang__) && __clang_major__ >= 6)) -+#else -+#define NO_AVX512 -+#endif - /* #define FORCE_P2 */ - /* #define FORCE_KATMAI */ - /* #define FORCE_COPPERMINE */ diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/bundled/patches/openblas-ofast-power.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/bundled/patches/openblas-ofast-power.patch deleted file mode 100644 index 2805782a043..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/bundled/patches/openblas-ofast-power.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/Makefile.power b/Makefile.power -index a49372ad..6132495e 100644 ---- a/Makefile.power -+++ b/Makefile.power -@@ -13,10 +13,10 @@ endif - - ifeq ($(CORE), POWER8) - ifeq ($(USE_OPENMP), 1) --COMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp -+COMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - FCOMMON_OPT += -O2 -frecursive -mcpu=power8 -mtune=power8 -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - else --COMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -malign-power -fno-fast-math -+COMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -malign-power -fno-fast-math - FCOMMON_OPT += -O2 -frecursive -mcpu=power8 -mtune=power8 -malign-power -fno-fast-math - endif - endif diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/bundled/patches/openblas-skylakexdgemm.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/bundled/patches/openblas-skylakexdgemm.patch deleted file mode 100644 index f8b420f6b52..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/bundled/patches/openblas-skylakexdgemm.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/kernel/x86_64/KERNEL.SKYLAKEX b/kernel/x86_64/KERNEL.SKYLAKEX -index acc6356d..ad0f8973 100644 ---- a/kernel/x86_64/KERNEL.SKYLAKEX -+++ b/kernel/x86_64/KERNEL.SKYLAKEX -@@ -7,12 +7,12 @@ SGEMMITCOPY = sgemm_tcopy_16_skylakex.c - SGEMMONCOPY = sgemm_ncopy_4_skylakex.c - SGEMMOTCOPY = ../generic/gemm_tcopy_4.c - --DGEMMKERNEL = dgemm_kernel_4x8_skylakex.c -+#DGEMMKERNEL = dgemm_kernel_4x8_skylakex.c - --DGEMMINCOPY = dgemm_ncopy_8_skylakex.c --DGEMMITCOPY = dgemm_tcopy_8_skylakex.c --DGEMMONCOPY = dgemm_ncopy_8_skylakex.c --DGEMMOTCOPY = dgemm_tcopy_8_skylakex.c -+#DGEMMINCOPY = dgemm_ncopy_8_skylakex.c -+#DGEMMITCOPY = dgemm_tcopy_8_skylakex.c -+#DGEMMONCOPY = dgemm_ncopy_8_skylakex.c -+#DGEMMOTCOPY = dgemm_tcopy_8_skylakex.c - - SGEMM_BETA = sgemm_beta_skylakex.c - DGEMM_BETA = dgemm_beta_skylakex.c diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/bundled/patches/openblas-winexit.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/bundled/patches/openblas-winexit.patch deleted file mode 100644 index 6e46a647932..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.5/bundled/patches/openblas-winexit.patch +++ /dev/null @@ -1,27 +0,0 @@ -commit 7f4a96a353c06c2fdecb0b2464800bcf8fab6fd7 -Author: Keno Fischer -Date: Sun Dec 29 15:08:13 2019 -0500 - - win32: Don't run cleanup if we're about to exit anyway - - If the process is about to exit, there's no point trying to do - a bunch of work to clean up resources. The kernel will release - them much more efficiently when the process exits at the end - of this function. - -diff --git a/exports/dllinit.c b/exports/dllinit.c -index 02ff092e..56aafa95 100644 ---- a/exports/dllinit.c -+++ b/exports/dllinit.c -@@ -48,7 +48,10 @@ BOOL APIENTRY DllMain(HINSTANCE hInst, DWORD reason, LPVOID reserved) { - } - - if (reason == DLL_PROCESS_DETACH) { -- gotoblas_quit(); -+ // If the process is about to exit, don't bother releasing any resources -+ // The kernel is much better at bulk releasing then. -+ if (!reserved) -+ gotoblas_quit(); - } - - return TRUE; diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.7/build_tarballs.jl b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.7/build_tarballs.jl deleted file mode 100644 index 98c70b71d5c..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.7/build_tarballs.jl +++ /dev/null @@ -1,17 +0,0 @@ -using BinaryBuilder - -include("../common.jl") - -name = "OpenBLASConsistentFPCSRHighCoreCount" -version = v"0.3.7" - - -sources = openblas_sources(version) -script = openblas_script() -platforms = openblas_platforms() -products = openblas_products() -dependencies = openblas_dependencies() - -# Build the tarballs -build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; preferred_gcc_version=v"6", lock_microarchitecture=false) - diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.7/bundled/patches/openblas-ofast-power.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.7/bundled/patches/openblas-ofast-power.patch deleted file mode 100644 index a7ce743e902..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.7/bundled/patches/openblas-ofast-power.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/Makefile.power b/Makefile.power -index 24d8aa8a..e53a243a 100644 ---- a/Makefile.power -+++ b/Makefile.power -@@ -11,20 +11,20 @@ endif - - ifeq ($(CORE), POWER9) - ifeq ($(USE_OPENMP), 1) --COMMON_OPT += -Ofast -mcpu=power9 -mtune=power9 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp -+COMMON_OPT += -mcpu=power9 -mtune=power9 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - FCOMMON_OPT += -O2 -frecursive -mcpu=power9 -mtune=power9 -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - else --COMMON_OPT += -Ofast -mcpu=power9 -mtune=power9 -mvsx -malign-power -fno-fast-math -+COMMON_OPT += -mcpu=power9 -mtune=power9 -mvsx -malign-power -fno-fast-math - FCOMMON_OPT += -O2 -frecursive -mcpu=power9 -mtune=power9 -malign-power -fno-fast-math - endif - endif - - ifeq ($(CORE), POWER8) - ifeq ($(USE_OPENMP), 1) --COMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp -+COMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - FCOMMON_OPT += -O2 -frecursive -mcpu=power8 -mtune=power8 -malign-power -DUSE_OPENMP -fno-fast-math -fopenmp - else --COMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -malign-power -fno-fast-math -+COMMON_OPT += -mcpu=power8 -mtune=power8 -mvsx -malign-power -fno-fast-math - FCOMMON_OPT += -O2 -frecursive -mcpu=power8 -mtune=power8 -malign-power -fno-fast-math - endif - endif diff --git a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.7/bundled/patches/openblas-winexit.patch b/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.7/bundled/patches/openblas-winexit.patch deleted file mode 100644 index 8a615d285ce..00000000000 --- a/O/OpenBLASConsistentFPCSR/OpenBLASConsistentFPCSRHighCoreCount@0.3.7/bundled/patches/openblas-winexit.patch +++ /dev/null @@ -1,346 +0,0 @@ -commit d9a4e67bb613a8720b606870903afac95273c607 -Author: Keno Fischer -Date: Fri Feb 28 15:10:08 2020 -0500 - - Winexit patch redux - -diff --git a/driver/others/memory.c b/driver/others/memory.c -index 534d6d9f..f5cba6a0 100644 ---- a/driver/others/memory.c -+++ b/driver/others/memory.c -@@ -80,7 +80,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - #undef COMPILE_TLS - #endif - --#if defined(__GLIBC_PREREQ) -+#if defined(__GLIBC_PREREQ) - #if !__GLIBC_PREREQ(2,20) - #undef COMPILE_TLS - #endif -@@ -248,7 +248,7 @@ int get_num_procs(void) { - return nums; - } - ret = CPU_COUNT_S(size,cpusetp); -- if (ret > 0 && ret < nums) nums = ret; -+ if (ret > 0 && ret < nums) nums = ret; - CPU_FREE(cpusetp); - return nums; - } else { -@@ -257,7 +257,7 @@ int get_num_procs(void) { - return nums; - } - ret = CPU_COUNT(&cpuset); -- if (ret > 0 && ret < nums) nums = ret; -+ if (ret > 0 && ret < nums) nums = ret; - return nums; - } - #endif -@@ -1510,7 +1510,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -1521,7 +1521,7 @@ void DESTRUCTOR gotoblas_quit(void) { - TlsFree(local_storage_key); - #else - pthread_key_delete(local_storage_key); --#endif -+#endif - #endif - - #ifdef PROFILE -@@ -1547,74 +1547,12 @@ void DESTRUCTOR gotoblas_quit(void) { - #endif - } - --#if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: --#if defined(SMP) -- blas_thread_memory_cleanup(); --#endif -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} - #ifdef _WIN64 - #pragma comment(linker, "/INCLUDE:_tls_used") - #else - #pragma comment(linker, "/INCLUDE:__tls_used") - #endif - --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif --#endif -- - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) - /* Don't call me; this is just work around for PGI / Sun bug */ - void gotoblas_dummy_for_PGI(void) { -@@ -1793,7 +1731,7 @@ int get_num_procs(void) { - return nums; - } - ret = CPU_COUNT_S(size,cpusetp); -- if (ret > 0 && ret < nums) nums = ret; -+ if (ret > 0 && ret < nums) nums = ret; - CPU_FREE(cpusetp); - return nums; - } else { -@@ -1802,7 +1740,7 @@ int get_num_procs(void) { - return nums; - } - ret = CPU_COUNT(&cpuset); -- if (ret > 0 && ret < nums) nums = ret; -+ if (ret > 0 && ret < nums) nums = ret; - return nums; - } - #endif -@@ -2070,15 +2008,15 @@ static void *alloc_mmap(void *address){ - if (map_address != (void *)-1) { - #if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP) - LOCK_COMMAND(&alloc_lock); --#endif -+#endif - release_info[release_pos].address = map_address; - release_info[release_pos].func = alloc_mmap_free; - release_pos ++; - #if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP) - UNLOCK_COMMAND(&alloc_lock); --#endif -+#endif - } else { --#ifdef DEBUG -+#ifdef DEBUG - int errsv=errno; - perror("OpenBLAS : mmap failed:"); - printf("error code=%d,\tmap_address=%lx\n",errsv,map_address); -@@ -2487,7 +2425,7 @@ static void *alloc_hugetlb(void *address){ - - tp.PrivilegeCount = 1; - tp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; -- -+ - if (LookupPrivilegeValue(NULL, SE_LOCK_MEMORY_NAME, &tp.Privileges[0].Luid) != TRUE) { - CloseHandle(hToken); - return (void*)-1; -@@ -2693,7 +2631,7 @@ void *blas_memory_alloc(int procpos){ - if (!memory[position].used && (memory[position].pos == mypos)) { - #if defined(SMP) && !defined(USE_OPENMP) - LOCK_COMMAND(&alloc_lock); --#else -+#else - blas_lock(&memory[position].lock); - #endif - if (!memory[position].used) goto allocation; -@@ -2701,7 +2639,7 @@ void *blas_memory_alloc(int procpos){ - UNLOCK_COMMAND(&alloc_lock); - #else - blas_unlock(&memory[position].lock); --#endif -+#endif - } - - position ++; -@@ -2717,21 +2655,21 @@ void *blas_memory_alloc(int procpos){ - LOCK_COMMAND(&alloc_lock); - #endif - do { --#if defined(USE_OPENMP) -- if (!memory[position].used) { -+#if defined(USE_OPENMP) -+ if (!memory[position].used) { - blas_lock(&memory[position].lock); - #endif - if (!memory[position].used) goto allocation; -- -+ - #if defined(USE_OPENMP) -- blas_unlock(&memory[position].lock); -+ blas_unlock(&memory[position].lock); - } - #endif - position ++; - - } while (position < NUM_BUFFERS); - #if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP) -- UNLOCK_COMMAND(&alloc_lock); -+ UNLOCK_COMMAND(&alloc_lock); - #endif - goto error; - -@@ -2745,7 +2683,7 @@ void *blas_memory_alloc(int procpos){ - #if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP) - UNLOCK_COMMAND(&alloc_lock); - #else -- blas_unlock(&memory[position].lock); -+ blas_unlock(&memory[position].lock); - #endif - if (!memory[position].addr) { - do { -@@ -2793,7 +2731,7 @@ void *blas_memory_alloc(int procpos){ - - #if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP) - LOCK_COMMAND(&alloc_lock); --#endif -+#endif - memory[position].addr = map_address; - #if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP) - UNLOCK_COMMAND(&alloc_lock); -@@ -3104,7 +3042,7 @@ void CONSTRUCTOR gotoblas_init(void) { - - } - --void DESTRUCTOR gotoblas_quit(void) { -+void gotoblas_quit(void) { - - if (gotoblas_initialized == 0) return; - -@@ -3133,71 +3071,6 @@ void DESTRUCTOR gotoblas_quit(void) { - #endif - } - --#if defined(_MSC_VER) && !defined(__clang__) --BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) --{ -- switch (ul_reason_for_call) -- { -- case DLL_PROCESS_ATTACH: -- gotoblas_init(); -- break; -- case DLL_THREAD_ATTACH: -- break; -- case DLL_THREAD_DETACH: -- break; -- case DLL_PROCESS_DETACH: -- gotoblas_quit(); -- break; -- default: -- break; -- } -- return TRUE; --} -- --/* -- This is to allow static linking. -- Code adapted from Google performance tools: -- https://gperftools.googlecode.com/git-history/perftools-1.0/src/windows/port.cc -- Reference: -- https://sourceware.org/ml/pthreads-win32/2008/msg00028.html -- http://ci.boost.org/svn-trac/browser/trunk/libs/thread/src/win32/tss_pe.cpp --*/ --static int on_process_term(void) --{ -- gotoblas_quit(); -- return 0; --} --#ifdef _WIN64 --#pragma comment(linker, "/INCLUDE:_tls_used") --#else --#pragma comment(linker, "/INCLUDE:__tls_used") --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XLB") --#else --#pragma data_seg(".CRT$XLB") --#endif --static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif -- --#ifdef _WIN64 --#pragma const_seg(".CRT$XTU") --#else --#pragma data_seg(".CRT$XTU") --#endif --static int(*p_process_term)(void) = on_process_term; --#ifdef _WIN64 --#pragma const_seg() --#else --#pragma data_seg() --#endif --#endif -- - #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) - /* Don't call me; this is just work around for PGI / Sun bug */ - void gotoblas_dummy_for_PGI(void) { -@@ -3212,7 +3085,7 @@ void gotoblas_dummy_for_PGI(void) { - asm (".section .init,\"ax\"; call gotoblas_init@PLT; .section .text"); - asm (".section .fini,\"ax\"; call gotoblas_quit@PLT; .section .text"); - #endif --#endif -+#endif - } - #endif - -diff --git a/exports/dllinit.c b/exports/dllinit.c -index 4a05c0e1..88f9af65 100644 ---- a/exports/dllinit.c -+++ b/exports/dllinit.c -@@ -50,7 +50,10 @@ BOOL APIENTRY DllMain(HINSTANCE hInst, DWORD reason, LPVOID reserved) { - gotoblas_init(); - break; - case DLL_PROCESS_DETACH: -- gotoblas_quit(); -+ // If the process is about to exit, don't bother releasing any resources -+ // The kernel is much better at bulk releasing then. -+ if (!reserved) -+ gotoblas_quit(); - break; - case DLL_THREAD_ATTACH: - break; - diff --git a/O/OpenBLASConsistentFPCSR/common.jl b/O/OpenBLASConsistentFPCSR/common.jl index 1bd9acc0af2..1a59019c8dc 100644 --- a/O/OpenBLASConsistentFPCSR/common.jl +++ b/O/OpenBLASConsistentFPCSR/common.jl @@ -8,42 +8,6 @@ function openblas_sources(version::VersionNumber; kwargs...) ArchiveSource("https://github.com/xianyi/OpenBLAS/releases/download/v0.3.21/OpenBLAS-0.3.21.tar.gz", "f36ba3d7a60e7c8bcc54cd9aaa9b1223dd42eaf02c811791c37e8ca707c241ca") ], - v"0.3.20" => [ - ArchiveSource("https://github.com/xianyi/OpenBLAS/releases/download/v0.3.20/OpenBLAS-0.3.20.tar.gz", - "abfaa43d995046ca4c56ccf14165c93c") - ], - v"0.3.19" => [ - ArchiveSource("https://github.com/xianyi/OpenBLAS/releases/download/v0.3.19/OpenBLAS-0.3.19.tar.gz", - "8495c9affc536253648e942908e88e097f2ec7753ede55aca52e5dead3029e3c") - ], - v"0.3.17" => [ - ArchiveSource("https://github.com/xianyi/OpenBLAS/releases/download/v0.3.17/OpenBLAS-0.3.17.tar.gz", - "df2934fa33d04fd84d839ca698280df55c690c86a5a1133b3f7266fce1de279f") - ], - v"0.3.13" => [ - ArchiveSource("https://github.com/xianyi/OpenBLAS/releases/download/v0.3.13/OpenBLAS-0.3.13.tar.gz", - "79197543b17cc314b7e43f7a33148c308b0807cd6381ee77f77e15acf3e6459e") - ], - v"0.3.12" => [ - ArchiveSource("https://github.com/xianyi/OpenBLAS/releases/download/v0.3.12/OpenBLAS-0.3.12.tar.gz", - "65a7d3a4010a4e3bd5c0baa41a234797cd3a1735449a4a5902129152601dc57b") - ], - v"0.3.10" => [ - ArchiveSource("https://github.com/xianyi/OpenBLAS/archive/refs/tags/v0.3.10.tar.gz", - "0484d275f87e9b8641ff2eecaa9df2830cbe276ac79ad80494822721de6e1693"), - ], - v"0.3.9" => [ - ArchiveSource("https://github.com/xianyi/OpenBLAS/archive/refs/tags/v0.3.9.tar.gz", - "17d4677264dfbc4433e97076220adc79b050e4f8a083ea3f853a53af253bc380"), - ], - v"0.3.7" => [ - ArchiveSource("https://github.com/xianyi/OpenBLAS/archive/refs/tags/v0.3.7.tar.gz", - "bde136122cef3dd6efe2de1c6f65c10955bbb0cc01a520c2342f5287c28f9379"), - ], - v"0.3.5" => [ - ArchiveSource("https://github.com/xianyi/OpenBLAS/archive/refs/tags/v0.3.5.tar.gz", - "0950c14bd77c90a6427e26210d6dab422271bc86f9fc69126725833ecdaa0e85"), - ], ) return [ openblas_version_sources[version]...,