Skip to content

Commit

Permalink
add more msys2 config options
Browse files Browse the repository at this point in the history
  • Loading branch information
lkeegan committed Jan 19, 2024
1 parent d1cb7fe commit e03effc
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,20 +82,28 @@ if [[ "$OS_TARGET" != "osx" ]]; then
--build=${BUILD_HOST_TARGET} \
--host=${BUILD_HOST_TARGET} \
--target=${BUILD_HOST_TARGET} \
--disable-shared \
--enable-languages=fortran \
--with-pic \
--disable-shared \
--disable-gcov \
--disable-multilib \
--disable-libstdcxx-debug \
--enable-languages=fortran \
--disable-bootstrap \
--disable-libstdcxx-pch \
--disable-libgomp \
--disable-libssp \
--disable-multilib \
--disable-rpath \
--disable-win32-registry \
--disable-nls \
--disable-werror \
--disable-symvers \
--with-boot-ldflags="-static-libstdc++" \
--with-stage1-ldflags="-static-libstdc++"
time make -j$NPROCS || cat config.log
$SUDOCMD make install
cd ../..

export FC="$GFORTRAN_INSTALL_PREFIX"
export FC="$GFORTRAN_INSTALL_PREFIX/bin/gfortran"
$FC --version

# build OpenBLAS using our gfortan compiler for lapack
Expand Down

0 comments on commit e03effc

Please sign in to comment.