From 8ee5db7462aac319aa771a7fcd6cb19bbe65e1bf Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 22 Mar 2022 22:15:12 +0800 Subject: [PATCH] Revert "windows: numpy is not necessary for build" ...but it is nice to have in the development shell. This reverts commit 1114d11b346476d52ef953f0b13b7aa9279e5e86. --- windows/make_msys2_packages.sh | 2 +- windows/msys2_packages.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/windows/make_msys2_packages.sh b/windows/make_msys2_packages.sh index 9b3a4746..6d7f4afb 100755 --- a/windows/make_msys2_packages.sh +++ b/windows/make_msys2_packages.sh @@ -10,7 +10,7 @@ curl -L https://mirror.msys2.org/msys/x86_64/pacman-mirrors-20220205-1-any.pkg.t curl -L https://raw.githubusercontent.com/msys2/MSYS2-packages/master/pacman/pacman.conf | grep -v SigLevel | sed s\|/etc/pacman.d\|$MSYS2DIR/etc/pacman.d\|g > $MSYS2DIR/etc/pacman.conf fakeroot pacman --root $MSYS2DIR --config $MSYS2DIR/etc/pacman.conf -Syy -pacman --root $MSYS2DIR --config $MSYS2DIR/etc/pacman.conf --cachedir $MSYS2DIR/msys/cache -Sp mingw-w64-x86_64-rust mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-python3.9 > $MSYS2DIR/packages.txt +pacman --root $MSYS2DIR --config $MSYS2DIR/etc/pacman.conf --cachedir $MSYS2DIR/msys/cache -Sp mingw-w64-x86_64-rust mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-python3.9 mingw-w64-x86_64-python-numpy > $MSYS2DIR/packages.txt echo "{ pkgs } : [" > msys2_packages.nix while read package; do diff --git a/windows/msys2_packages.nix b/windows/msys2_packages.nix index 56bf91ac..0926ed68 100644 --- a/windows/msys2_packages.nix +++ b/windows/msys2_packages.nix @@ -284,4 +284,19 @@ url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-python-3.9.11-2-any.pkg.tar.zst"; sha256 = "05znxaybrm8affs83a51872iksa9yd4qk692lr3rjdjy3cbxkhca"; }) + +(pkgs.fetchurl { + url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-libgfortran-11.2.0-10-any.pkg.tar.zst"; + sha256 = "13qdcb614sz7w10b2snmp05qh4c7wf24qmfmzssxjjz8ld6p8b90"; +}) + +(pkgs.fetchurl { + url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-openblas-0.3.20-1-any.pkg.tar.zst"; + sha256 = "1adbbycbvs2nkjhgap92fk3x0vqfjb3ghhvyd1xlnn56c5n0iphf"; +}) + +(pkgs.fetchurl { + url = "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-python-numpy-1.21.5-1-any.pkg.tar.zst"; + sha256 = "10bhfq65nrzxipgy75bqaad74daif4ay06phwvbx70b9j0wm33c3"; +}) ]