Skip to content

Commit

Permalink
Add arg to MUMPS configuration
Browse files Browse the repository at this point in the history
-fallow-argument-mismatch is added to address issues building with GCC
>= 10, as recommended in the thread here coin-or/coinbrew#47
and/or here: coin-or-tools/ThirdParty-Mumps#4
.
  • Loading branch information
cfe316 committed Mar 8, 2022
1 parent 6141eae commit 0f56b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_pyoptsparse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ install_with_mumps() {
./configure --with-metis --with-metis-lflags="-L${PREFIX}/lib -lcoinmetis" \
--with-metis-cflags="-I${PREFIX}/include -I${PREFIX}/include/coin-or -I${PREFIX}/include/coin-or/metis" \
--prefix=$PREFIX CFLAGS="-I${PREFIX}/include -I${PREFIX}/include/coin-or -I${PREFIX}/include/coin-or/metis" \
FCFLAGS="-I${PREFIX}/include -I${PREFIX}/include/coin-or -I${PREFIX}/include/coin-or/metis"
FCFLAGS="-fallow-argument-mismatch -I${PREFIX}/include -I${PREFIX}/include/coin-or -I${PREFIX}/include/coin-or/metis"
make -j $CORES
make install
popd
Expand Down

0 comments on commit 0f56b6b

Please sign in to comment.