Commit 1151a120 authored by Marco Mariani's avatar Marco Mariani

atlas: link with libgfortran from buildout

parent acf6ba7d
......@@ -33,6 +33,8 @@ install_cmd =
patch -p1 <${skip-throttle-check.patch:location}/${skip-throttle-check.patch:filename}
mkdir -p $BLDdir
cd $BLDdir
export F77LIB=${gcc-fortran:location}/lib64/libgfortran.so.3
export LD_PRELOAD=$F77LIB
$SRCdir/configure -b 64 \
--prefix=${:location} \
--with-netlib-lapack-tarfile=${:location}__compile__/lapack-${:lapack_version}.tgz \
......@@ -40,9 +42,12 @@ install_cmd =
-C if ${gcc-fortran:location}/bin/gfortran \
--shared
#-Ss f77lib `${gcc-fortran:location}/bin/gfortran --print-file-name=libgfortran.so` \
make build # tune & build lib
make check # sanity check correct answer
make ptcheck # sanity check parallel
make time # check if lib is fast
make install # copy libs to install dir
update_cmd = ${:install_cmd}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment