add packages to also allow a regular build not just cross-compilation

This commit is contained in:
Axel Kohlmeyer 2020-04-28 01:12:31 -04:00
parent d931365e4e
commit 867088dbd8
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
2 changed files with 8 additions and 4 deletions

View File

@ -3,9 +3,11 @@ From: fedora:30
%post
dnf -y update
dnf -y install vim-enhanced git file make cmake patch which file \
dos2unix findutils rsync \
ccache gcc-c++ gdb valgrind eigen3-devel \
dnf -y install vim-enhanced git file make cmake patch which file Lmod \
ninja-build clang libomp-devel libubsan libasan libtsan \
dos2unix findutils rsync python-devel libjpeg-devel libpng-devel \
ccache gcc-c++ gcc-gfortran gdb valgrind eigen3-devel openblas-devel \
openmpi-devel mpich-devel fftw-devel voro++-devel gsl-devel \
mingw-filesystem-base mingw32-nsis mingw-binutils-generic \
mingw32-filesystem mingw32-pkg-config \
mingw64-filesystem mingw64-pkg-config \
@ -39,7 +41,7 @@ From: fedora:30
# we need to reset any module variables
# inherited from the host.
unset LOADEDMODULES
source /etc/profile.d/modules.sh
. /etc/profile.d/modules.sh
module purge
module load mpi

View File

@ -38,6 +38,8 @@ From: fedora:32
%environment
LC_ALL=C
export LC_ALL
# we need to reset any module variables
# inherited from the host.
unset LOADEDMODULES
. /etc/profile.d/modules.sh
module purge