lasp/scripts/install_msys2_builddeps.sh
J.A. de Jong - ASCEE / Redu-Sone 34729cf9c0
All checks were successful
continuous-integration/drone/push Build is passing
Destroythreadpool waits forever. Try with ucrt64
2023-05-12 08:27:35 -07:00

23 lines
580 B
Bash

#!/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
# arch=mingw-w64-x86_64
arch=mingw-w64-ucrt-x86_64
pacman -S ${PACMAN_OPTIONS} make
deps="gcc make toolchain ccache cmake openblas pybind11 fftw"
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