1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#! /bin/sh
echo int/include/ptscotch.h /usr/include/scotch
echo int/include/ptscotchf.h /usr/include/scotch
echo int32/include/ptscotch.h /usr/include/scotch-int32
echo int32/include/ptscotchf.h /usr/include/scotch-int32
echo int64/include/ptscotch.h /usr/include/scotch-int64
echo int64/include/ptscotchf.h /usr/include/scotch-int64
echo long/include/ptscotch.h /usr/include/scotch-long
echo long/include/ptscotchf.h /usr/include/scotch-long
SCOTCH_STATIC_LIBS="scotch esmumps scotchparmetisv3 scotcherr scotcherrexit"
SCOTCH_LIBS="${SCOTCH_STATIC_LIBS}"
for lib in $SCOTCH_LIBS; do
echo int/lib/libpt${lib}.so /usr/lib/${DEB_HOST_MULTIARCH}
echo int32/lib/libpt${lib}.so /usr/lib/${DEB_HOST_MULTIARCH}/scotch-int32
echo int64/lib/libpt${lib}.so /usr/lib/${DEB_HOST_MULTIARCH}/scotch-int64
echo long/lib/libpt${lib}.so /usr/lib/${DEB_HOST_MULTIARCH}/scotch-long
done
for lib in $SCOTCH_STATIC_LIBS; do
echo int/lib/libpt${lib}*.a /usr/lib/${DEB_HOST_MULTIARCH}
echo int32/lib/libpt${lib}*.a /usr/lib/${DEB_HOST_MULTIARCH}/scotch-int32
echo int64/lib/libpt${lib}*.a /usr/lib/${DEB_HOST_MULTIARCH}/scotch-int64
echo long/lib/libpt${lib}*.a /usr/lib/${DEB_HOST_MULTIARCH}/scotch-long
done
|