Skip to content

Commit

Permalink
Toolchain: Fix Pexsi build on Fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Apr 16, 2020
1 parent 1f35520 commit 3046fae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/toolchain/scripts/install_superlu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ case "$with_superlu" in
tar -xzf superlu_dist_${superlu_ver}.tar.gz
cd superlu_dist-${superlu_ver}
cd build
cmake -DTPL_ENABLE_PARMETISLIB=FALSE -DCMAKE_INSTALL_PREFIX=${pkg_install_dir} .. > cmake.log 2>&1
# Explicitly set LIBDIR to "lib", otherwise it sometimes defaults to "lib64".
cmake -DTPL_ENABLE_PARMETISLIB=FALSE \
-DCMAKE_INSTALL_PREFIX=${pkg_install_dir} \
-DCMAKE_INSTALL_LIBDIR=${pkg_install_dir}/lib \
.. > cmake.log 2>&1
make -j $NPROCS > make.log 2>&1
make install > install.log 2>&1
cd ..
Expand Down

0 comments on commit 3046fae

Please sign in to comment.