2023-04-19 19:36:32 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# set default options for invoking pacman (in CI this variable is already set globally)
|
|
|
|
if [ -z $CI ]; then
|
|
|
|
PACMAN_OPTIONS="--needed --noconfirm"
|
|
|
|
fi
|
2024-03-29 11:34:24 +00:00
|
|
|
arch=mingw-w64-x86_64
|
|
|
|
# arch=mingw-w64-ucrt-x86_64
|
2023-04-19 19:36:32 +00:00
|
|
|
|
|
|
|
pacman -S ${PACMAN_OPTIONS} make
|
|
|
|
|
2023-05-25 18:41:16 +00:00
|
|
|
deps="gcc ninja ccache cmake openblas fftw"
|
2023-04-19 19:36:32 +00:00
|
|
|
for dep in $deps; do
|
|
|
|
pacman -S ${PACMAN_OPTIONS} ${arch}-${dep}
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
# install Python modules not provided as MSYS2/MinGW packages
|
|
|
|
#PACKAGES=""
|
|
|
|
#for arch in $(eval echo $ARCH); do
|
|
|
|
#/mingw64/bin/pip3 install --upgrade ${PACKAGES}
|
|
|
|
#done
|