diff options
Diffstat (limited to 'sys-cluster/hpl/hpl-2.1.ebuild')
-rw-r--r-- | sys-cluster/hpl/hpl-2.1.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-cluster/hpl/hpl-2.1.ebuild b/sys-cluster/hpl/hpl-2.1.ebuild index 01853e2..97c97dd 100644 --- a/sys-cluster/hpl/hpl-2.1.ebuild +++ b/sys-cluster/hpl/hpl-2.1.ebuild @@ -26,7 +26,7 @@ src_prepare() { local locallib="${EPREFIX}/usr/$(get_libdir)/" #export LD_LIBRARY_PATH="/usr/lib64/mpi/mpich-3.2/install/usr/lib64/" - export LDFLAGS="${LDFLAGS} -L/usr/lib64/mpi/mpich-3.2/install/usr/lib64/" + export LDFLAGS="${LDFLAGS} -L/usr/lib64/mpi/mpich-3.2/install/usr/lib64/ -L/usr/lib64/" mpi-select_src_prepare cp setup/Make.Linux_PII_FBLAS Make.gentoo_hpl_fblas_x86 || die sed -i \ @@ -36,6 +36,7 @@ src_prepare() { -e '/^MPdir\>/s,= .*,=,' \ -e '/^MPlib\>/s,= .*,=,' \ -e '/^MPinc\>/s,= .*,= -I/usr/lib64/mpi/mpich-3.2/install/usr/include,' \ + -e '/^HPL_LIBS\>/s,$, -L/usr/lib64/,' \ -e "/^LAlib\>/s%= .*%= $($(tc-getPKG_CONFIG) --libs blas lapack)%" \ -e "/^LINKER\>/s,= .*,= ${mpicc_path}," \ -e "/^CC\>/s,= .*,= ${mpicc_path}," \ |