lasp/scripts/install_msys2_builddeps.sh
J.A. de Jong - ASCEE 1f7deca3fd
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 1m26s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
Updated scripts for building. Documentation follows
2024-03-29 04:34:24 -07:00

23 lines
562 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 ninja ccache cmake openblas 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