From 89969c66c41056b0bf203f5c19a17800ba39fbbc Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Thu, 22 Sep 2022 10:43:18 -0700 Subject: [PATCH] Update OpenBLAS_jll.jl Add `openblas-default-num-threads` patch Bump OpenBLAS BB version to include patch --- deps/checksums/openblas | 184 +++++++++--------- deps/openblas.mk | 7 +- .../openblas-default-num-threads.patch | 24 +++ stdlib/OpenBLAS_jll/Project.toml | 2 +- stdlib/OpenBLAS_jll/src/OpenBLAS_jll.jl | 16 +- 5 files changed, 127 insertions(+), 106 deletions(-) create mode 100644 deps/patches/openblas-default-num-threads.patch diff --git a/deps/checksums/openblas b/deps/checksums/openblas index 5c9194f5dd404f..f52207bf1d0238 100644 --- a/deps/checksums/openblas +++ b/deps/checksums/openblas @@ -1,94 +1,94 @@ -OpenBLAS.v0.3.21+0.aarch64-apple-darwin-libgfortran5.tar.gz/md5/a89e1eeae1d9539c21598c98da5ac91c -OpenBLAS.v0.3.21+0.aarch64-apple-darwin-libgfortran5.tar.gz/sha512/181334363669482ac78b17ed9797ecc62ead35c07348eddd674c06252a7b36a356db48c62da77e73072df4cc21d0c25e0fb568c4dc7fe98e5db8e0f76eed7183 -OpenBLAS.v0.3.21+0.aarch64-linux-gnu-libgfortran3.tar.gz/md5/7ed3100359f9ed7da4959ecee3b4fd1e -OpenBLAS.v0.3.21+0.aarch64-linux-gnu-libgfortran3.tar.gz/sha512/329e26dae7f2e5ba81ba2271257c03426a349b89831147458a71d91da062bd11fab1b846f77922f3bc65a9f7d3b1914f15aaa0c14f696ba7bf43b55628a5464d -OpenBLAS.v0.3.21+0.aarch64-linux-gnu-libgfortran4.tar.gz/md5/ae71b44c62d42c246a21385d0691dcfa -OpenBLAS.v0.3.21+0.aarch64-linux-gnu-libgfortran4.tar.gz/sha512/0598da4b6410f59a69690e6908c80724df4a8c4761194993c1b127f84418f046d8fa0d367fda8a7faed5cec2d6c57bd8872ba216e38b5418bc9ff20af27528c6 -OpenBLAS.v0.3.21+0.aarch64-linux-gnu-libgfortran5.tar.gz/md5/fff9e118d250bebd55723e77c492280c -OpenBLAS.v0.3.21+0.aarch64-linux-gnu-libgfortran5.tar.gz/sha512/29d831f773cb6a75119c7cc2363fd72d38e32eaef6124505f8b5a1b64fa3ae7a6ffe199aae851de0893259d3bdc480aa377294688ee55d20f0da7dfc49fce747 -OpenBLAS.v0.3.21+0.aarch64-linux-musl-libgfortran3.tar.gz/md5/e93af05f98be926b3000dac3accf5f56 -OpenBLAS.v0.3.21+0.aarch64-linux-musl-libgfortran3.tar.gz/sha512/de3e9cee786d1a37dd5807aca81728d67d60fdace68aa17c69efcc7ebfe36dd3a240dea16f7cd3c5021f0f967f15f1154a3d32350f91165a9fcdd08285917196 -OpenBLAS.v0.3.21+0.aarch64-linux-musl-libgfortran4.tar.gz/md5/5a0226c6781c748a8f4d144b0ae4609b -OpenBLAS.v0.3.21+0.aarch64-linux-musl-libgfortran4.tar.gz/sha512/83d9ff97a5651b682ee1839cf0e1aa8dcd7c2e2d32b6cadb184b8d71123649a31519516b1c7d98c329ab9902538a01ffc14ec28f95ada35ba8da77241d74c2d2 -OpenBLAS.v0.3.21+0.aarch64-linux-musl-libgfortran5.tar.gz/md5/f09c8409b0f4e5e3ee9d471538289e45 -OpenBLAS.v0.3.21+0.aarch64-linux-musl-libgfortran5.tar.gz/sha512/b41234be953779db6601d5bffe43ab9ea23bb542583b16af48fe3a3400b1e50b45d3c91152895c92f6a1f4844ac018c8003f0fd10e9473c503e70e9fc4ad11b0 -OpenBLAS.v0.3.21+0.armv6l-linux-gnueabihf-libgfortran3.tar.gz/md5/78ea013e0ba52d289c919df3d5b79946 -OpenBLAS.v0.3.21+0.armv6l-linux-gnueabihf-libgfortran3.tar.gz/sha512/50ffb9d99d283db2880e767a3ebedbdc7ca67b18782717f5085e0cfc9f6cc55bdeb112e8dca0011e31954a22272936043ca538204fc9be81cb7a0f22d6726f12 -OpenBLAS.v0.3.21+0.armv6l-linux-gnueabihf-libgfortran4.tar.gz/md5/47d016b3a50c0c9b2ed1eb5e49904169 -OpenBLAS.v0.3.21+0.armv6l-linux-gnueabihf-libgfortran4.tar.gz/sha512/d38fe6df24d658a0f54ab007ac6f9b30c0a02fbf86c0592f2e5cf5a8375b654a7428b75f74c20d97d6c953ae9998664c82800813dfa806a5f16dfc20c798c419 -OpenBLAS.v0.3.21+0.armv6l-linux-gnueabihf-libgfortran5.tar.gz/md5/17f22b32a0715f82fd48cc5d82f6512c -OpenBLAS.v0.3.21+0.armv6l-linux-gnueabihf-libgfortran5.tar.gz/sha512/d9318a4cd232abc58907522c20ac666e6db2a92e6a25c9ddd1db0f0169be6f94aadc808014545e92e6168eaa7fa20de4235072186c48ade2e7fc672a700485ad -OpenBLAS.v0.3.21+0.armv6l-linux-musleabihf-libgfortran3.tar.gz/md5/d5a83c8835ad8553d304bf5260b53985 -OpenBLAS.v0.3.21+0.armv6l-linux-musleabihf-libgfortran3.tar.gz/sha512/3b506824730c7269eb49e90dc11bfde2b17338ef1504da63e84562433c68586a71b022ad37de3096e06ac24e98828b48638c672789320f76cb33eda4c8e8c9eb -OpenBLAS.v0.3.21+0.armv6l-linux-musleabihf-libgfortran4.tar.gz/md5/59cc4a5aeb63dd84c0dc12cbef7d37af -OpenBLAS.v0.3.21+0.armv6l-linux-musleabihf-libgfortran4.tar.gz/sha512/1e9cadcf65232d4a4fba9cda0226e5a5450227e16bf2c27a3268452d5c4e4d5d1321601fd6e1a5c5d92fbc3fc4de21c92e231b5ad3b25dd71eb49d5940fcf243 -OpenBLAS.v0.3.21+0.armv6l-linux-musleabihf-libgfortran5.tar.gz/md5/c04f400d9aca82aac956e94d9fc6fc51 -OpenBLAS.v0.3.21+0.armv6l-linux-musleabihf-libgfortran5.tar.gz/sha512/8751300546ccb059fb7755e3f745e7e195cfaf90daf28b151ea2a3d540edf8910c97351d428dda196707599361a200f1a647098fdf5d7163380b4ad2b4a4f733 -OpenBLAS.v0.3.21+0.armv7l-linux-gnueabihf-libgfortran3.tar.gz/md5/f251abd323b6bc463ae4a1989670aefb -OpenBLAS.v0.3.21+0.armv7l-linux-gnueabihf-libgfortran3.tar.gz/sha512/4f179ed09a5f5b71033d09db3894ad78d58a4429d65203225ab7a2a8c887222924910756a5fc4e3974a7cc6f9d994af287490f53cd05fe90f86c4bd4c4023b6d -OpenBLAS.v0.3.21+0.armv7l-linux-gnueabihf-libgfortran4.tar.gz/md5/f8ffa30a958448028d1294da9d15f3b2 -OpenBLAS.v0.3.21+0.armv7l-linux-gnueabihf-libgfortran4.tar.gz/sha512/0a2d9a73be439d78b4af7c70345bdffd531d5687adeea28049adba3c8c9ab7b6ed221703f2a8aff9e7391305355a596dc9a846c84d36d1b4cdfda521f7c05e8c -OpenBLAS.v0.3.21+0.armv7l-linux-gnueabihf-libgfortran5.tar.gz/md5/56a4aa4f3eafff290d38dc251a5966cb -OpenBLAS.v0.3.21+0.armv7l-linux-gnueabihf-libgfortran5.tar.gz/sha512/fce03b1c1becdac66208de20e66949aba113ce2695217d34703a9ba4fd79d364cdf05424282b9d1f25ad9c315baffca3a8bd0af239f6284bd37cbdb2ec3463c6 -OpenBLAS.v0.3.21+0.armv7l-linux-musleabihf-libgfortran3.tar.gz/md5/aca7ef7f854cfe45bedbf1f6b5a97aaf -OpenBLAS.v0.3.21+0.armv7l-linux-musleabihf-libgfortran3.tar.gz/sha512/16821728c7a0e56589b60176a06543240f2a061b437dc1cf38723dc56910c6add114a4a5e65eda051e5e88ff7b82b8613ffaf5dad7864f1208eb381159bacc8c -OpenBLAS.v0.3.21+0.armv7l-linux-musleabihf-libgfortran4.tar.gz/md5/9f2c39eef42e5c80f56d36aee156e2b0 -OpenBLAS.v0.3.21+0.armv7l-linux-musleabihf-libgfortran4.tar.gz/sha512/441a7833e4e2d1334aeda58d87560e613244138005bc54c74af00d81c26e1e508ce874fccdcd3b3114a74f5e2a102eb520a2e4165b461861ba79fbaff81e4ae3 -OpenBLAS.v0.3.21+0.armv7l-linux-musleabihf-libgfortran5.tar.gz/md5/bf1a9f3e553d6855133b4de3ffc841ee -OpenBLAS.v0.3.21+0.armv7l-linux-musleabihf-libgfortran5.tar.gz/sha512/2002b305ef3f3721287ed839d6d08f34127058e6295233f8280cc3ebd06d91cb326ea83f13c0158820c381fa8a2cc74ec1360a65c99bc525f492be561b15cc09 -OpenBLAS.v0.3.21+0.i686-linux-gnu-libgfortran3.tar.gz/md5/6051a0545d272bf19988e2a889531acd -OpenBLAS.v0.3.21+0.i686-linux-gnu-libgfortran3.tar.gz/sha512/21706d2fd8dde6e1e938b0c7a53c6073d52d830d7672702d828d5606582e2c98bdb39fc7ff1fa67188942713e9d718fdf5f014812115d0d0853066c2df21f297 -OpenBLAS.v0.3.21+0.i686-linux-gnu-libgfortran4.tar.gz/md5/4fc17cff9c7a4512245ffead4d75c678 -OpenBLAS.v0.3.21+0.i686-linux-gnu-libgfortran4.tar.gz/sha512/5a28c5a587be439cd2bdf4880caf967cdec14945d26c978fa5c59ce251d5811d460bebc038808e0e8dd2eb4b6a0fdfcaacca4718e2aeb7855f466bd13d1974a7 -OpenBLAS.v0.3.21+0.i686-linux-gnu-libgfortran5.tar.gz/md5/06fa8dff91cff8ba91e2b4bc896e776c -OpenBLAS.v0.3.21+0.i686-linux-gnu-libgfortran5.tar.gz/sha512/493110d06c4361df13ba8e0839b9410551b0bba4fe6e3cdcb53c0dff41a03b3e34ec1c2e73cd4671516631492a16b8dd140a59fa3ac71c348e670858654f2d8a -OpenBLAS.v0.3.21+0.i686-linux-musl-libgfortran3.tar.gz/md5/1b16814a10900c96537b5bfed19e71c2 -OpenBLAS.v0.3.21+0.i686-linux-musl-libgfortran3.tar.gz/sha512/603b2a2fd92286143cb0cb573e3c085db485cf3c4f54987d255efedaea2a8a3d84b83e28f6b2db9dbf05cd31f061845a749b8402d145cc5e8cc2eb369b38e3f5 -OpenBLAS.v0.3.21+0.i686-linux-musl-libgfortran4.tar.gz/md5/20ec87e486f1154d253bc251c1ec0bce -OpenBLAS.v0.3.21+0.i686-linux-musl-libgfortran4.tar.gz/sha512/a2d1736e0f632bddc5140ea88840113b80fedcad51bf5ea93445053eb07c1ae304a1510a85cf964d3a0e087390b8526a0df2bcd24e356b4693a41e5dfc8a671c -OpenBLAS.v0.3.21+0.i686-linux-musl-libgfortran5.tar.gz/md5/df9f4898d550130b0c0c5cede6dd4db3 -OpenBLAS.v0.3.21+0.i686-linux-musl-libgfortran5.tar.gz/sha512/c4c3133904e7b401c5d3013d0ef38b13d7a9804fb4ba38a2c0a062f1badb4d9150214bfc2a1bf55df1299e4151d71a6dbfce7063d9d80a19fe321878c0e59309 -OpenBLAS.v0.3.21+0.i686-w64-mingw32-libgfortran3.tar.gz/md5/3d83d839f80abbd17f84631fbb8f6624 -OpenBLAS.v0.3.21+0.i686-w64-mingw32-libgfortran3.tar.gz/sha512/e51680b4b97f404f244b4d943148f506f84a21f0f59f4d41a3a0cf81d545658d9cc59592a2538c4c077606fc1e6f87eda23063e49828f066e743205c5e6aee8e -OpenBLAS.v0.3.21+0.i686-w64-mingw32-libgfortran4.tar.gz/md5/2ca3ebd61038a5e422a946ede3d17535 -OpenBLAS.v0.3.21+0.i686-w64-mingw32-libgfortran4.tar.gz/sha512/c692b7c00aa0eda4a3fa989f84c797126b1596e13514117ad898166f941f040df67826ba33d0af93673c7a0b478fe4392f9a53d7859b7371878b6608dcb0556b -OpenBLAS.v0.3.21+0.i686-w64-mingw32-libgfortran5.tar.gz/md5/55995848e4bc9ef739e8ba17962787d3 -OpenBLAS.v0.3.21+0.i686-w64-mingw32-libgfortran5.tar.gz/sha512/e274dcfc6593786ac4c32c3f49ec69ab3a0c7278c67bbd04373d4845bff2dfaf17300d4a71e48ebd508e299fa629190ffe70ce074a68e83bac0eafa51f4db2a0 -OpenBLAS.v0.3.21+0.powerpc64le-linux-gnu-libgfortran3.tar.gz/md5/2a3d5f0240a27cf1617d9d4abba6df78 -OpenBLAS.v0.3.21+0.powerpc64le-linux-gnu-libgfortran3.tar.gz/sha512/489128c884a0c2b9eb5145b18c68f9c7de9a9cc4131f4635689dc67765f87bec852b0547ebea4ecfdad4eec38063aabe8f6c3e96e5856e08c0c26130c2f11897 -OpenBLAS.v0.3.21+0.powerpc64le-linux-gnu-libgfortran4.tar.gz/md5/bb3501965c26519ecf30830465b12672 -OpenBLAS.v0.3.21+0.powerpc64le-linux-gnu-libgfortran4.tar.gz/sha512/bcc78c10f7aba973f1159443e8d408465833ef43530c1c2514715db5a1bb84c0f48510c12b2ac1211b2777328ec682e01ab668818025651f00db7ca747f5674e -OpenBLAS.v0.3.21+0.powerpc64le-linux-gnu-libgfortran5.tar.gz/md5/dc6192b5130e114b3cb1183690c7e398 -OpenBLAS.v0.3.21+0.powerpc64le-linux-gnu-libgfortran5.tar.gz/sha512/95d69ace7b145c02acbe13c52d1e7835fdb1e8788c0b03f0f967d88575b322988e4f4acef3b6ad3e505c895f8d19566b8eb9add02f0250cf2d4a14c9f1428f3f -OpenBLAS.v0.3.21+0.x86_64-apple-darwin-libgfortran3.tar.gz/md5/27a9117002f96c41c7907be0475a8d86 -OpenBLAS.v0.3.21+0.x86_64-apple-darwin-libgfortran3.tar.gz/sha512/2247f3691cc552f65a353412c46a76c1ac4b4d994a5725044ba300f0944f15b37144ceff438d77022b441c25eaf530709a4d3ed4523b97d292991b6407a72970 -OpenBLAS.v0.3.21+0.x86_64-apple-darwin-libgfortran4.tar.gz/md5/30dea9ca8b658ff6a9db9245d8ad7500 -OpenBLAS.v0.3.21+0.x86_64-apple-darwin-libgfortran4.tar.gz/sha512/3289e766bfad456b35efae6d341a77698d4d36908ac8d802f47777feed5eef224fde1cb4799b5bd4e8e216c28c78ab4407b92906ddac0bdd1cfb674136c69aaa -OpenBLAS.v0.3.21+0.x86_64-apple-darwin-libgfortran5.tar.gz/md5/ed820c420a67b32df0a9f34760ce605c -OpenBLAS.v0.3.21+0.x86_64-apple-darwin-libgfortran5.tar.gz/sha512/63f43eb0b1c037849fd5addda66d818c0b8188f9758391cd9929e78593c69ec61729be0efce6a9f943ebac178c634cdddffe172ad681ad1c4717949b075a1de7 -OpenBLAS.v0.3.21+0.x86_64-linux-gnu-libgfortran3.tar.gz/md5/a5393eb8e1799b6c089a82d8dde39fb0 -OpenBLAS.v0.3.21+0.x86_64-linux-gnu-libgfortran3.tar.gz/sha512/8ce9ad2f55f131592a87789ec6a824cbe1d23c3be32fb2ba59e107045f75c34684b85d3bab2913923f5a19414a072b5e855c86fddd44a4319a9b5e7b28d5c169 -OpenBLAS.v0.3.21+0.x86_64-linux-gnu-libgfortran4.tar.gz/md5/652aa333440219a4ec17d94dd4e6d358 -OpenBLAS.v0.3.21+0.x86_64-linux-gnu-libgfortran4.tar.gz/sha512/89d7740b462d4216e920dcd5c7867520b2f49c3cb74bd8424efd287927c92a08492c9fa413506248207f9532c7bb9ea2af587a4f70d7db8ea42ac1bc144e8a12 -OpenBLAS.v0.3.21+0.x86_64-linux-gnu-libgfortran5.tar.gz/md5/9e0831544d02a39565a2d0714b1e121a -OpenBLAS.v0.3.21+0.x86_64-linux-gnu-libgfortran5.tar.gz/sha512/9e57a08a09d5fc47d881f9f7ed2e52fbdc7301908cf1be384fe767e6b7771a5980827417049dd37df4d71a861b2cf2a05f25df892b15ed03458910b0bc53101a -OpenBLAS.v0.3.21+0.x86_64-linux-musl-libgfortran3.tar.gz/md5/dde15d3a2f26601cd7ac0a803efbe503 -OpenBLAS.v0.3.21+0.x86_64-linux-musl-libgfortran3.tar.gz/sha512/fa48e51a59b6fb213f88ce8b2778ca5eef73f0721a5c71e27cd8952a34a5003d69710571deb5c0c06526fa8016cfdacabdc2b343342ad0d1e523903fa94a8d42 -OpenBLAS.v0.3.21+0.x86_64-linux-musl-libgfortran4.tar.gz/md5/55b80d13104f4ddc9eefa0424d71330b -OpenBLAS.v0.3.21+0.x86_64-linux-musl-libgfortran4.tar.gz/sha512/fcd816e4dcd767963ae555846cee846c19f0b7d666042d59757eb2eebe115d30af60072c134c3025049712520705dbe9d2862a1f07c955780f9a0de69e6e00b5 -OpenBLAS.v0.3.21+0.x86_64-linux-musl-libgfortran5.tar.gz/md5/e22e46b304962a1edb550e19914cc5e6 -OpenBLAS.v0.3.21+0.x86_64-linux-musl-libgfortran5.tar.gz/sha512/38f8ce1baee4082fd2432dbc1905fd03d8efbcc378aefc9312e90b6054341717ea46bc4d33f9f517e67af0fca2da55b5c5b112850e6071ba18753a4936d78da2 -OpenBLAS.v0.3.21+0.x86_64-unknown-freebsd-libgfortran3.tar.gz/md5/b8b7a9f9aff94b154e8479a84d7abe4b -OpenBLAS.v0.3.21+0.x86_64-unknown-freebsd-libgfortran3.tar.gz/sha512/afe4c45d4bf4e38fdbbf00b9e86a65244aadaa2b74e59f9a43f1860c130f721bba2f36186519b2573ff0819bd2b30414cc23800634847db2ecd2107f985495ad -OpenBLAS.v0.3.21+0.x86_64-unknown-freebsd-libgfortran4.tar.gz/md5/8fceea42a8524fef29a54b88ea0a721b -OpenBLAS.v0.3.21+0.x86_64-unknown-freebsd-libgfortran4.tar.gz/sha512/e8195597057ab6de0aa5978b4d13b3248ac6acde3f86fc55d9e1c76ec39d464fc2eefea1096cfb5dffbd623f47b06be163c4c74981d2eb13387bc8499b9053fe -OpenBLAS.v0.3.21+0.x86_64-unknown-freebsd-libgfortran5.tar.gz/md5/6f88d96c05663b4aeb81ba8a63882066 -OpenBLAS.v0.3.21+0.x86_64-unknown-freebsd-libgfortran5.tar.gz/sha512/f1f516d8d16a2f86bfb26129e0530146de3a4bcb62abcd2c7b9bf64cc09c069e5eeb66658b1cc0cdcc665de98246ad8ed20a7d8b132fe0f0e4d0651d3b4516d4 -OpenBLAS.v0.3.21+0.x86_64-w64-mingw32-libgfortran3.tar.gz/md5/4fb99984ec612a090b294c6b349a7cdb -OpenBLAS.v0.3.21+0.x86_64-w64-mingw32-libgfortran3.tar.gz/sha512/81bf55c6398a6cf4a61add084332e7cb79e6d550737641f6c0bc77aa61bd8187603a6100b78c2ef80109c3c5b21f7ba618a4780a5b68e5168a461af521f26c52 -OpenBLAS.v0.3.21+0.x86_64-w64-mingw32-libgfortran4.tar.gz/md5/a1a2c3623d583ab995ac86df07ab73bb -OpenBLAS.v0.3.21+0.x86_64-w64-mingw32-libgfortran4.tar.gz/sha512/ec5fab349607862c9e0badaa1fd433e057ac7d056008af683bbb37bf43fef5322e598cd71a6d9c3dd55ef857b39ca634e64572e9ae6e263022dc7f89083f9bca -OpenBLAS.v0.3.21+0.x86_64-w64-mingw32-libgfortran5.tar.gz/md5/05ef0ede7d565247a936c3110c25c83c -OpenBLAS.v0.3.21+0.x86_64-w64-mingw32-libgfortran5.tar.gz/sha512/34d2812bc0c6605558cbd6244c41d0805fc9a943cd91a74994bcacdd5ff19612eac8751832e3ee761089a853cf16069e67e13507ca75bbe4b7dc4517e41515e0 +OpenBLAS.v0.3.21+1.aarch64-apple-darwin-libgfortran5.tar.gz/md5/8f69b72ad4d4ff0bff6b856fb5bb45ef +OpenBLAS.v0.3.21+1.aarch64-apple-darwin-libgfortran5.tar.gz/sha512/cd5afc88ab831a3c29c704dd1e6c9b46de3a6734b7ffbd5e81ab4fe479c55d6665bd16e6ab68bcaef757a7a68553876c4462946a78f6906d609dadfd39c2130b +OpenBLAS.v0.3.21+1.aarch64-linux-gnu-libgfortran3.tar.gz/md5/50206901c0e293f3290acb221009b2c4 +OpenBLAS.v0.3.21+1.aarch64-linux-gnu-libgfortran3.tar.gz/sha512/b2321d814872e57bcb31d555813c7c393cebe801bd3bd33b5eaac0069f9a3a991b90f66dd079399cc7cb45b30ea84d4906acacd06511f862fc1eda26a955b220 +OpenBLAS.v0.3.21+1.aarch64-linux-gnu-libgfortran4.tar.gz/md5/5a74878d26cf358d02fd1e275958ab22 +OpenBLAS.v0.3.21+1.aarch64-linux-gnu-libgfortran4.tar.gz/sha512/794c729e75502b3c59d2cf66d7b327de5339005a46737239642dff596a8ce4729835f47ace6108fbc315a311a38cf3923a159ef354fa21549ed99ce0174dccd4 +OpenBLAS.v0.3.21+1.aarch64-linux-gnu-libgfortran5.tar.gz/md5/dfd6619fe247ee5bae54bd5ea931098e +OpenBLAS.v0.3.21+1.aarch64-linux-gnu-libgfortran5.tar.gz/sha512/67ede16c72ce07ebf0821024c919590b1dcb0d4becf8dd7744e459bf9052ea8dc60e28efe54174d4c8b11ea2ebf7b5497ec7cd1c1798abb554664b709f0be8b3 +OpenBLAS.v0.3.21+1.aarch64-linux-musl-libgfortran3.tar.gz/md5/8b3c569d5ef6fc4dfdbb1ba0f4bd728c +OpenBLAS.v0.3.21+1.aarch64-linux-musl-libgfortran3.tar.gz/sha512/d6e0d4ed349637afe353c1fad1564a3fc23010e563bf24464c937078218d8ae5b41d33fc3c71ed2e9de587074a4f420c170e639a15bfb08d9fc95e5787098af3 +OpenBLAS.v0.3.21+1.aarch64-linux-musl-libgfortran4.tar.gz/md5/9bc437bc0f24adee0089a286db71eac9 +OpenBLAS.v0.3.21+1.aarch64-linux-musl-libgfortran4.tar.gz/sha512/bb17a8feef00cbf87841c37156b27230cf77ecc388df753d51f49564896f92f4977c4e1c9d2794ac20c0735c65835a8c9b45960cda1b6f5966e94387a4a5ac33 +OpenBLAS.v0.3.21+1.aarch64-linux-musl-libgfortran5.tar.gz/md5/ef60d9edeb67daafaf42352f5b7d1c02 +OpenBLAS.v0.3.21+1.aarch64-linux-musl-libgfortran5.tar.gz/sha512/7a6d834183ee9037f8adc81e9c904548ae4abcc4ace6754c4b2d6eed14526f362fc7735a2113cf41bfec35bd358c88a166b9e1ff5be724fe6dc640ce8360a433 +OpenBLAS.v0.3.21+1.armv6l-linux-gnueabihf-libgfortran3.tar.gz/md5/cef42af31b1882a0d03ac5dbce9ea7e9 +OpenBLAS.v0.3.21+1.armv6l-linux-gnueabihf-libgfortran3.tar.gz/sha512/8505c946659577f454ac7bd14c894b3f931c807a256b3d24f0c02ce067aece0b2badf318fd0eeb96c5e3f60c670fb6420fed6f7168b09e0ae58cc6e7986b80df +OpenBLAS.v0.3.21+1.armv6l-linux-gnueabihf-libgfortran4.tar.gz/md5/53068e7301d9f5fa94b2e7b91d4b537a +OpenBLAS.v0.3.21+1.armv6l-linux-gnueabihf-libgfortran4.tar.gz/sha512/19a3d9dd6432e1ac35c02ffcfb7cb9f41c2f5a33db38270719546aa2eee1cf251cdff0ff14bc7b63e6627da16ce3e6915e7c15509e3f1687e3f1ed8fd0d1d17c +OpenBLAS.v0.3.21+1.armv6l-linux-gnueabihf-libgfortran5.tar.gz/md5/a76db66a065527ff7b5301d203128014 +OpenBLAS.v0.3.21+1.armv6l-linux-gnueabihf-libgfortran5.tar.gz/sha512/1e3ca55fa71735bc134cc9131b53df78494a86bc03621d5ebe46cb43f3c20a72f0bdbe02ce5a093c4c4da9657be924e3004ab0430aa9e3ea2dea239ba3035bf1 +OpenBLAS.v0.3.21+1.armv6l-linux-musleabihf-libgfortran3.tar.gz/md5/d9fd257dcc0d8feec779a0c7cf9b9bb2 +OpenBLAS.v0.3.21+1.armv6l-linux-musleabihf-libgfortran3.tar.gz/sha512/4073435cd2add71f6699db938d85ec43688095832a4f57067bff0bba3a122616ded63afc34b9a5ba92d0850782e23eabe08e4624d02f6389721e10f9a332e400 +OpenBLAS.v0.3.21+1.armv6l-linux-musleabihf-libgfortran4.tar.gz/md5/9b1d263d3761c21f6f1acfd7ee91d76d +OpenBLAS.v0.3.21+1.armv6l-linux-musleabihf-libgfortran4.tar.gz/sha512/a0d49addfec2fe973f9bba57ee939e89ee26e4a92c8175023e91e2e8eacca52257f562681379c3c2e7d46ebae427a890e2a5dee2315c8130b018fc6d486c8611 +OpenBLAS.v0.3.21+1.armv6l-linux-musleabihf-libgfortran5.tar.gz/md5/970341090342155be5d2e600b2fbcd2d +OpenBLAS.v0.3.21+1.armv6l-linux-musleabihf-libgfortran5.tar.gz/sha512/9d76ce66711de0cc718479a1c23ea6633cf4d72ef25f60c1c44aea8e0832612bf4b1280e2f080914c5b29ff3d0ba4578b50eb4cc093b75f652c179ddc23209ab +OpenBLAS.v0.3.21+1.armv7l-linux-gnueabihf-libgfortran3.tar.gz/md5/cef42af31b1882a0d03ac5dbce9ea7e9 +OpenBLAS.v0.3.21+1.armv7l-linux-gnueabihf-libgfortran3.tar.gz/sha512/8505c946659577f454ac7bd14c894b3f931c807a256b3d24f0c02ce067aece0b2badf318fd0eeb96c5e3f60c670fb6420fed6f7168b09e0ae58cc6e7986b80df +OpenBLAS.v0.3.21+1.armv7l-linux-gnueabihf-libgfortran4.tar.gz/md5/53068e7301d9f5fa94b2e7b91d4b537a +OpenBLAS.v0.3.21+1.armv7l-linux-gnueabihf-libgfortran4.tar.gz/sha512/19a3d9dd6432e1ac35c02ffcfb7cb9f41c2f5a33db38270719546aa2eee1cf251cdff0ff14bc7b63e6627da16ce3e6915e7c15509e3f1687e3f1ed8fd0d1d17c +OpenBLAS.v0.3.21+1.armv7l-linux-gnueabihf-libgfortran5.tar.gz/md5/a76db66a065527ff7b5301d203128014 +OpenBLAS.v0.3.21+1.armv7l-linux-gnueabihf-libgfortran5.tar.gz/sha512/1e3ca55fa71735bc134cc9131b53df78494a86bc03621d5ebe46cb43f3c20a72f0bdbe02ce5a093c4c4da9657be924e3004ab0430aa9e3ea2dea239ba3035bf1 +OpenBLAS.v0.3.21+1.armv7l-linux-musleabihf-libgfortran3.tar.gz/md5/d9fd257dcc0d8feec779a0c7cf9b9bb2 +OpenBLAS.v0.3.21+1.armv7l-linux-musleabihf-libgfortran3.tar.gz/sha512/4073435cd2add71f6699db938d85ec43688095832a4f57067bff0bba3a122616ded63afc34b9a5ba92d0850782e23eabe08e4624d02f6389721e10f9a332e400 +OpenBLAS.v0.3.21+1.armv7l-linux-musleabihf-libgfortran4.tar.gz/md5/9b1d263d3761c21f6f1acfd7ee91d76d +OpenBLAS.v0.3.21+1.armv7l-linux-musleabihf-libgfortran4.tar.gz/sha512/a0d49addfec2fe973f9bba57ee939e89ee26e4a92c8175023e91e2e8eacca52257f562681379c3c2e7d46ebae427a890e2a5dee2315c8130b018fc6d486c8611 +OpenBLAS.v0.3.21+1.armv7l-linux-musleabihf-libgfortran5.tar.gz/md5/970341090342155be5d2e600b2fbcd2d +OpenBLAS.v0.3.21+1.armv7l-linux-musleabihf-libgfortran5.tar.gz/sha512/9d76ce66711de0cc718479a1c23ea6633cf4d72ef25f60c1c44aea8e0832612bf4b1280e2f080914c5b29ff3d0ba4578b50eb4cc093b75f652c179ddc23209ab +OpenBLAS.v0.3.21+1.i686-linux-gnu-libgfortran3.tar.gz/md5/8f9033de2a9bdb1cfbda00fb17011996 +OpenBLAS.v0.3.21+1.i686-linux-gnu-libgfortran3.tar.gz/sha512/56d4685b17482283ded038b2417863621724183239bfbe15508faf025717eef74c89b049241f82f7e60e96fce03557ccc12a232fe2fa97e6b5057d708172c38c +OpenBLAS.v0.3.21+1.i686-linux-gnu-libgfortran4.tar.gz/md5/35c6a9a686b8702e5586912dea791872 +OpenBLAS.v0.3.21+1.i686-linux-gnu-libgfortran4.tar.gz/sha512/c8e686f4844fac19cc97c3a4c5879650237759899d114bcf56e2add8cee1b8d9a57ea70d0eddaaf4da39a8373a01570211636a723e7d7427bce1ea560c61a2c0 +OpenBLAS.v0.3.21+1.i686-linux-gnu-libgfortran5.tar.gz/md5/247a36c4b64803e743a43b6180767b4d +OpenBLAS.v0.3.21+1.i686-linux-gnu-libgfortran5.tar.gz/sha512/34dfce6e15a0402e47f669557ac0a48e355a9542e7e5b69153987b092dfcfbad60ef6621509cc404ff70ce0b357d68134cfe0822e0a5378c6a117784bc36cf03 +OpenBLAS.v0.3.21+1.i686-linux-musl-libgfortran3.tar.gz/md5/c37dec59de53b415baf9375e66eac8e2 +OpenBLAS.v0.3.21+1.i686-linux-musl-libgfortran3.tar.gz/sha512/55999cd7573d4d432e5a70245d58eb44b8e6eeec29e739562172977389143d5390c6fafba5af4947f4643b12a5761e421a04b388b4b7871b303d4868df7a3cd6 +OpenBLAS.v0.3.21+1.i686-linux-musl-libgfortran4.tar.gz/md5/bec64edc01bf7914418a536c8d294cfe +OpenBLAS.v0.3.21+1.i686-linux-musl-libgfortran4.tar.gz/sha512/b84850b3eed247a5bd1d3dc1d2291595611bb0a158897d5de223e645ff334eb8c76e9b3aab8ce5a7d5462c2b28fe2cb145f9a946a05f2a7dbada3b0ebf39e31a +OpenBLAS.v0.3.21+1.i686-linux-musl-libgfortran5.tar.gz/md5/09f827e56876b82ca917044f61924b3c +OpenBLAS.v0.3.21+1.i686-linux-musl-libgfortran5.tar.gz/sha512/4b6ff5e96623e2eb344e3217fac89c6592b7ea7551e43ed34bb46f4593f6745530065114b1f4e97c67f0c2a3dedd93a2b83bc1774a854661cfd148865b29415f +OpenBLAS.v0.3.21+1.i686-w64-mingw32-libgfortran3.tar.gz/md5/2981bd96eb4a9198c6521943b19ac4fa +OpenBLAS.v0.3.21+1.i686-w64-mingw32-libgfortran3.tar.gz/sha512/254529ea95daec8b399283a6500cde336caab68353f59c57070915884e1343e149fb00f07aff8c3f282e1fc34daf2eac8e9303b043615cfb8cb03dbe89a8677c +OpenBLAS.v0.3.21+1.i686-w64-mingw32-libgfortran4.tar.gz/md5/ee3f9772ea1ca118ca2fc87646d87daa +OpenBLAS.v0.3.21+1.i686-w64-mingw32-libgfortran4.tar.gz/sha512/8c6a3baac12a554327eb7e106c99a5637c2a27832eb8562e03288d1e170af6b3a33de7fe89b3b0a4403306c475b5e91fba46ce868bdecb92c8177ccfbafdeecd +OpenBLAS.v0.3.21+1.i686-w64-mingw32-libgfortran5.tar.gz/md5/e2a906ab51a7260809447d6b73bcb044 +OpenBLAS.v0.3.21+1.i686-w64-mingw32-libgfortran5.tar.gz/sha512/cb46e3c7cdbe2c5e8ef1c746359586f9ffbe4eb917f506ef87359ca0da6bd3a8c4ba566534e3e94d236fe6e9b3cfc4ca9e540b1b1017f5ca648e7f417a0e6df8 +OpenBLAS.v0.3.21+1.powerpc64le-linux-gnu-libgfortran3.tar.gz/md5/6510c65c17a966e31fcabf2260e2605d +OpenBLAS.v0.3.21+1.powerpc64le-linux-gnu-libgfortran3.tar.gz/sha512/d95cf391c3ed9a8b8b33eb21ea07f21a1ecf8f62e6a532cebd5d79bba6ada2d0111cb7e917fbe33fa4b5fac6e02dd819b5c97e3d0df7e886e18f8e6e971c1b91 +OpenBLAS.v0.3.21+1.powerpc64le-linux-gnu-libgfortran4.tar.gz/md5/a81a130bb5656206dec7ec3ccba93482 +OpenBLAS.v0.3.21+1.powerpc64le-linux-gnu-libgfortran4.tar.gz/sha512/05507fe526b1a19a9089081208084b3bda52450b72a007278dfcf2f3322d6f353da68c776f8df26c236d3cdb3a05602166baed60b695a475eb535581fe1da4c3 +OpenBLAS.v0.3.21+1.powerpc64le-linux-gnu-libgfortran5.tar.gz/md5/6cf4ca05069806bb42549a0a584f4f96 +OpenBLAS.v0.3.21+1.powerpc64le-linux-gnu-libgfortran5.tar.gz/sha512/77e9af4d1e48a0c9ca40a91a4f97918e740e093c8afc988d401fb0db3c8b8746f20145ffd5db8f4c7b7d356a42f3ac7ddf1d2cccfa014ad6e7019dbc8cef3613 +OpenBLAS.v0.3.21+1.x86_64-apple-darwin-libgfortran3.tar.gz/md5/802f9140edbf52d186c13ed8209405e4 +OpenBLAS.v0.3.21+1.x86_64-apple-darwin-libgfortran3.tar.gz/sha512/ead9c624b0e7f5167dcd5078b394ad9bb62f2fcbf36930dea719c041dbce2104e0addab25b57fb9a1733a5e6c7df566948d1bb3831b4976b858c0156daae6aae +OpenBLAS.v0.3.21+1.x86_64-apple-darwin-libgfortran4.tar.gz/md5/1ba3ec9ef94daaceada9084bf404d5cf +OpenBLAS.v0.3.21+1.x86_64-apple-darwin-libgfortran4.tar.gz/sha512/586178eba6e436b11dd170522853c2861aad9324ecc2d46428f94f87e425590186743e0faac7ff2a40bfee25f8894d7a747095ed28af81d7ff6d6ac8e9fd55b0 +OpenBLAS.v0.3.21+1.x86_64-apple-darwin-libgfortran5.tar.gz/md5/7dd147ca432674e15cf9034d2cfa822d +OpenBLAS.v0.3.21+1.x86_64-apple-darwin-libgfortran5.tar.gz/sha512/0fb6793664199c6a835114209d232c835e3fc74916daf3b0253a6168017f5a4536283f74329d20951428352722ed94e0282da4a8ed209e75155f492700164ca7 +OpenBLAS.v0.3.21+1.x86_64-linux-gnu-libgfortran3.tar.gz/md5/34bf19c4c62dad569e688ae01d05a85a +OpenBLAS.v0.3.21+1.x86_64-linux-gnu-libgfortran3.tar.gz/sha512/1f88ac8a7b6697b3fb7ef71f49e912d974871cd8a8d8a03076facffa4c2d46afc561a22939b0203dbf67a6c3165e46d8971ebb9029d9e380c730ba6d69c79a28 +OpenBLAS.v0.3.21+1.x86_64-linux-gnu-libgfortran4.tar.gz/md5/9f77fe5155a7e9480e3a57d2d54ac1f8 +OpenBLAS.v0.3.21+1.x86_64-linux-gnu-libgfortran4.tar.gz/sha512/074d70b493d9494d9540de819ce8d9802a8fddf14a87e71c4b6f133accef0344bc24c5ada14b1ba8acd82c6d07a0a2d1d4d73d2280d6fb151b42088d0dc7997c +OpenBLAS.v0.3.21+1.x86_64-linux-gnu-libgfortran5.tar.gz/md5/ad3d4bfd4ee720d2b197fd0da505a258 +OpenBLAS.v0.3.21+1.x86_64-linux-gnu-libgfortran5.tar.gz/sha512/ce6fd757807af7c3fed94a56f74217380ba54d39ce3f27ad27a5ee1a88affd06754d034e0618a2acf74c7660c6480958c0cdfd933bf274fad4585d2b92f32094 +OpenBLAS.v0.3.21+1.x86_64-linux-musl-libgfortran3.tar.gz/md5/6baf0c12787cd90d6baccfcebd1f54b6 +OpenBLAS.v0.3.21+1.x86_64-linux-musl-libgfortran3.tar.gz/sha512/322874e794d6b63142959fd1c685d0d7f0dd37af05171bc5de08a5c9a5cd665f31c9f82645aa4b0d0c8dd2b785c92dc3652d3897fa4f0684b331adb5749d440a +OpenBLAS.v0.3.21+1.x86_64-linux-musl-libgfortran4.tar.gz/md5/2ddb3823bf87b1f3dcca13a05ccae627 +OpenBLAS.v0.3.21+1.x86_64-linux-musl-libgfortran4.tar.gz/sha512/743f98590d4cc20a8d97e1640fd29040a28d0ecb39318d443a7f0b954ac8cd310864e16b2aae77a1b794b2737d221d793cfcd3cf50198b3b4a74869e5b94f0f3 +OpenBLAS.v0.3.21+1.x86_64-linux-musl-libgfortran5.tar.gz/md5/28aad67d8743adb02faae023f41266e3 +OpenBLAS.v0.3.21+1.x86_64-linux-musl-libgfortran5.tar.gz/sha512/763d3d71eaa50982c8ce196fdac9787d4f6f1ff44a48cd0ab71a0beace61edf35d42867f462a125fd94b91ffc420ca6336f57e3ee9f85b7c0d6bdc87381ad31f +OpenBLAS.v0.3.21+1.x86_64-unknown-freebsd-libgfortran3.tar.gz/md5/c9dc07e4d666c5c15ccf2e3eb5a0670a +OpenBLAS.v0.3.21+1.x86_64-unknown-freebsd-libgfortran3.tar.gz/sha512/9395b9d8c49e8890663441971a18d7f7d62d86e03a4a068c59597ec3c96c2200610c9c16e6b0274215fb07454a9689ac7fe952ea2fd8b7051130c48737d8a803 +OpenBLAS.v0.3.21+1.x86_64-unknown-freebsd-libgfortran4.tar.gz/md5/fb0480fbd1ce1783c66405fb416e0869 +OpenBLAS.v0.3.21+1.x86_64-unknown-freebsd-libgfortran4.tar.gz/sha512/64d4afd8f7a433a45857bb9eaac1efbbfe8fe229d587a13a0b9725bed357a90ffc0b0fe2fc6e245e09480790a254645bed1b0fad0a4a09066198c742f59fd656 +OpenBLAS.v0.3.21+1.x86_64-unknown-freebsd-libgfortran5.tar.gz/md5/9ac39f7a4b1d6890c496fc274309fd3e +OpenBLAS.v0.3.21+1.x86_64-unknown-freebsd-libgfortran5.tar.gz/sha512/48e588f3242d7a455d01d03d60325f5ee3f2826b7c1fffb08961444be80f391c590d400b6449860096101c241b8a7b9161960cbbec3eb767c6458dab7f9ed10b +OpenBLAS.v0.3.21+1.x86_64-w64-mingw32-libgfortran3.tar.gz/md5/e6bc7dc5236142cc04ea3647319cc6ee +OpenBLAS.v0.3.21+1.x86_64-w64-mingw32-libgfortran3.tar.gz/sha512/9931bdb751fb241a9adbdc929d7fdd974f53a2aba928103fcb1b1fd23625286dc032c956ce9fd42b4c4847fb0c38c9bc0f5a19788e66a57162ccdb812ad6cc50 +OpenBLAS.v0.3.21+1.x86_64-w64-mingw32-libgfortran4.tar.gz/md5/1a42e99e0e5350e849379d357334855f +OpenBLAS.v0.3.21+1.x86_64-w64-mingw32-libgfortran4.tar.gz/sha512/aabe4eaffc5334e86948d2b360975d15d077ec8af30e17c39d57bc820c425780d95ceba14b443ea0d3f3f5b7b877ba3122f3ece264de3848ddc0b179d889e7c5 +OpenBLAS.v0.3.21+1.x86_64-w64-mingw32-libgfortran5.tar.gz/md5/d8bfa62e8f114e4d817e5a79993e0c7d +OpenBLAS.v0.3.21+1.x86_64-w64-mingw32-libgfortran5.tar.gz/sha512/8662eb9c9d4c0cc14991a3737c052b5625b60700e309a7e49be0ed2ff3909f186aa9251131ed79433151e1e31a353a30847b29baa0038212decb2efe3ed31874 openblas-b89fb708caa5a5a32de8f4306c4ff132e0228e9a.tar.gz/md5/716ebe95d4b491253cdde8308b8adb83 openblas-b89fb708caa5a5a32de8f4306c4ff132e0228e9a.tar.gz/sha512/00e7bde49525c2c28bf07b47290e00b53bff446be63f09e90c51724c6350e5ddc90f5a071ae6de057b3fbb107060e70bf16683fcefcf48ae37ba1d0758be553b diff --git a/deps/openblas.mk b/deps/openblas.mk index f949143f393b12..6e3c4f8cb0fab9 100644 --- a/deps/openblas.mk +++ b/deps/openblas.mk @@ -100,7 +100,12 @@ $(BUILDDIR)/$(OPENBLAS_SRC_DIR)/neoverse-generic-kernels.patch-applied: $(BUILDD patch -p1 -f < $(SRCDIR)/patches/neoverse-generic-kernels.patch echo 1 > $@ -$(BUILDDIR)/$(OPENBLAS_SRC_DIR)/build-configured: $(BUILDDIR)/$(OPENBLAS_SRC_DIR)/neoverse-generic-kernels.patch-applied +$(BUILDDIR)/$(OPENBLAS_SRC_DIR)/openblas-default-num-threads.patch-applied: $(BUILDDIR)/$(OPENBLAS_SRC_DIR)/neoverse-generic-kernels.patch-applied + cd $(BUILDDIR)/$(OPENBLAS_SRC_DIR) && \ + patch -p1 -f < $(SRCDIR)/patches/openblas-default-num-threads.patch + echo 1 > $@ + +$(BUILDDIR)/$(OPENBLAS_SRC_DIR)/build-configured: $(BUILDDIR)/$(OPENBLAS_SRC_DIR)/openblas-default-num-threads.patch-applied echo 1 > $@ $(BUILDDIR)/$(OPENBLAS_SRC_DIR)/build-compiled: $(BUILDDIR)/$(OPENBLAS_SRC_DIR)/build-configured diff --git a/deps/patches/openblas-default-num-threads.patch b/deps/patches/openblas-default-num-threads.patch new file mode 100644 index 00000000000000..ab18a161b9d69f --- /dev/null +++ b/deps/patches/openblas-default-num-threads.patch @@ -0,0 +1,24 @@ +Author: Elliot Saba +Date: Thu Sep 22 10:38:36 2022 -0700 + + Add `OPENBLAS_DEFAULT_NUM_THREADS` + + This allows Julia to set a default number of threads (usually `1`) to be + used when no other thread counts are specified, to short-circuit the + default OpenBLAS thread initialization routine that spins up a different + number of threads than Julia would otherwise choose + +diff --git a/driver/others/init.c b/driver/others/init.c +index cc3145a6..cd10e8d3 100644 +--- a/driver/others/init.c ++++ b/driver/others/init.c +@@ -823,6 +823,8 @@ void gotoblas_affinity_init(void) { + + if (numprocs == 0) numprocs = readenv_atoi("OMP_NUM_THREADS"); + ++ if (numprocs == 0) numprocs = readenv_atoi("OPENBLAS_DEFAULT_NUM_THREADS"); ++ + numnodes = 1; + + if (numprocs == 1) { + diff --git a/stdlib/OpenBLAS_jll/Project.toml b/stdlib/OpenBLAS_jll/Project.toml index f04e3491ad22b9..d021045085f160 100644 --- a/stdlib/OpenBLAS_jll/Project.toml +++ b/stdlib/OpenBLAS_jll/Project.toml @@ -1,6 +1,6 @@ name = "OpenBLAS_jll" uuid = "4536629a-c528-5b80-bd46-f80d51c5b363" -version = "0.3.21+0" +version = "0.3.21+1" [deps] CompilerSupportLibraries_jll = "e66e0078-7015-5450-92f7-15fbd957f2ae" diff --git a/stdlib/OpenBLAS_jll/src/OpenBLAS_jll.jl b/stdlib/OpenBLAS_jll/src/OpenBLAS_jll.jl index c57dd15bb19307..27b8f3539210a7 100644 --- a/stdlib/OpenBLAS_jll/src/OpenBLAS_jll.jl +++ b/stdlib/OpenBLAS_jll/src/OpenBLAS_jll.jl @@ -37,18 +37,10 @@ function __init__() ENV["OPENBLAS_MAIN_FREE"] = "1" end - # Ensure that OpenBLAS does not grab a huge amount of memory at first, - # since it instantly allocates scratch buffer space for the number of - # threads it thinks it needs to use. - # X-ref: https://github.com/xianyi/OpenBLAS/blob/c43ec53bdd00d9423fc609d7b7ecb35e7bf41b85/README.md#setting-the-number-of-threads-using-environment-variables - # X-ref: https://github.com/JuliaLang/julia/issues/45434 - if !haskey(ENV, "OPENBLAS_NUM_THREADS") && - !haskey(ENV, "GOTO_NUM_THREADS") && - !haskey(ENV, "OMP_NUM_THREADS") - # We set this to `1` here, and then LinearAlgebra will update - # to the true value in its `__init__()` function. - ENV["OPENBLAS_NUM_THREADS"] = "1" - end + # Ensure that OpenBLAS does not automatically start up a bunch of threads, + # it will only do so if requested by another environment variable, or when + # LinearAlgebra initializes in its `__init__()` method: + ENV["OPENBLAS_DEFAULT_NUM_THREADS"] = "1" global libopenblas_handle = dlopen(libopenblas) global libopenblas_path = dlpath(libopenblas_handle)