diff options
author | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-02-05 19:55:36 +0000 |
---|---|---|
committer | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-02-05 19:55:36 +0000 |
commit | 5818e13ce65144c62f7cac6dc31ec86a4141a274 (patch) | |
tree | 2140dbeb502486f509d4e2af012cc6c4c807b46c /sci-libs/mkl/files | |
parent | mkl-8.0.1.006.ebuild: reworked lib install + tests (diff) | |
download | sci-5818e13ce65144c62f7cac6dc31ec86a4141a274.tar.gz sci-5818e13ce65144c62f7cac6dc31ec86a4141a274.tar.bz2 sci-5818e13ce65144c62f7cac6dc31ec86a4141a274.zip |
mkl: reworked ebuild: +fortran95, rpm work and install, not yet
operational
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@92 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-libs/mkl/files')
-rw-r--r-- | sci-libs/mkl/files/c-MKL.blas | 17 | ||||
-rw-r--r-- | sci-libs/mkl/files/c-MKL.lapack | 17 | ||||
-rw-r--r-- | sci-libs/mkl/files/c-threaded-MKL.blas | 17 | ||||
-rw-r--r-- | sci-libs/mkl/files/c-threaded-MKL.lapack | 17 | ||||
-rw-r--r-- | sci-libs/mkl/files/f77-MKL.blas | 16 | ||||
-rw-r--r-- | sci-libs/mkl/files/f77-MKL.lapack | 16 | ||||
-rw-r--r-- | sci-libs/mkl/files/f77-threaded.blas | 14 | ||||
-rw-r--r-- | sci-libs/mkl/files/f77-threaded.lapack | 14 |
8 files changed, 128 insertions, 0 deletions
diff --git a/sci-libs/mkl/files/c-MKL.blas b/sci-libs/mkl/files/c-MKL.blas new file mode 100644 index 000000000..d8f89d0cc --- /dev/null +++ b/sci-libs/mkl/files/c-MKL.blas @@ -0,0 +1,17 @@ +CFLAGS="-I/usr/include/mkl" +CLIBS="-L/usr/$(get_libdir)/blas/mkl -lmkl_blas" + +setup() { + +MY_LIBDIR="$(get_libdir)" + +einfo "/usr/${MY_LIBDIR}/libcblas.so -> libmkl_blas.so" +ln -sf blas/mkl/libmkl.so /usr/${MY_LIBDIR}/libcblas.so + +einfo "/usr/${MY_LIBDIR}/libcblas.so.0 -> libmkl_blas.so" +ln -sf blas/mkl/libmkl.so /usr/${MY_LIBDIR}/libcblas.so.0 + +einfo "/usr/${MY_LIBDIR}/libcblas.a -> libmkl_blas.a" +ln -sf blas/mkl/libmkl_blas.a /usr/${MY_LIBDIR}/libcblas.a + +} diff --git a/sci-libs/mkl/files/c-MKL.lapack b/sci-libs/mkl/files/c-MKL.lapack new file mode 100644 index 000000000..f58f7a84d --- /dev/null +++ b/sci-libs/mkl/files/c-MKL.lapack @@ -0,0 +1,17 @@ +CFLAGS="-I/usr/include/mkl" +CLIBS="-L/usr/$(get_libdir)/lapack/mkl -lmkl_lapack" + +setup() { + +MY_LIBDIR="$(get_libdir)" + +einfo "/usr/${MY_LIBDIR}/libclapack.so -> libmkl.so" +ln -sf lapack/mkl/libmkl.so /usr/${MY_LIBDIR}/libclapack.so + +einfo "/usr/${MY_LIBDIR}/libclapack.so.0 -> libmkl.so" +ln -sf lapack/mkl/libmkl.so /usr/${MY_LIBDIR}/libclapack.so.0 + +einfo "/usr/${MY_LIBDIR}/libclapack.a -> libmkl_lapack.a" +ln -sf lapack/mkl/libmkl_lapack.a /usr/${MY_LIBDIR}/libclapack.a + +} diff --git a/sci-libs/mkl/files/c-threaded-MKL.blas b/sci-libs/mkl/files/c-threaded-MKL.blas new file mode 100644 index 000000000..4daeb77b6 --- /dev/null +++ b/sci-libs/mkl/files/c-threaded-MKL.blas @@ -0,0 +1,17 @@ +CFLAGS="-I/usr/include/mkl" +CLIBS="-L/usr/$(get_libdir)/blas/mkl -lmkl_blas -lpthread" + +setup() { + +MY_LIBDIR="$(get_libdir)" + +einfo "/usr/${MY_LIBDIR}/libcblas.so -> libmkl.so" +ln -sf blas/threaded-mkl/libmkl.so /usr/${MY_LIBDIR}/libcblas.so + +einfo "/usr/${MY_LIBDIR}/libcblas.so.0 -> libmkl.so" +ln -sf blas/threaded-mkl/libmkl.so /usr/${MY_LIBDIR}/libcblas.so.0 + +einfo "/usr/${MY_LIBDIR}/libcblas.a -> libmkl_blas.a" +ln -sf blas/threaded-mkl/libmkl_blas.a /usr/${MY_LIBDIR}/libcblas.a + +} diff --git a/sci-libs/mkl/files/c-threaded-MKL.lapack b/sci-libs/mkl/files/c-threaded-MKL.lapack new file mode 100644 index 000000000..4a997958d --- /dev/null +++ b/sci-libs/mkl/files/c-threaded-MKL.lapack @@ -0,0 +1,17 @@ +CFLAGS="-I/usr/include/mkl" +CLIBS="-L/usr/$(get_libdir)/lapack/mkl -lmkl_lapack -lpthread" + +setup() { + +MY_LIBDIR="$(get_libdir)" + +einfo "/usr/${MY_LIBDIR}/libclapack.so -> libmkl.so" +ln -sf lapack/threaded-mkl/libmkl.so /usr/${MY_LIBDIR}/libclapack.so + +einfo "/usr/${MY_LIBDIR}/libclapack.so.0 -> libmkl.so" +ln -sf lapack/threaded-mkl/libmkl.so /usr/${MY_LIBDIR}/libclapack.so.0 + +einfo "/usr/${MY_LIBDIR}/libclapack.a -> libmkl_lapack.a" +ln -sf lapack/threaded-mkl/libmkl_lapack.a /usr/${MY_LIBDIR}/libclapack.a + +} diff --git a/sci-libs/mkl/files/f77-MKL.blas b/sci-libs/mkl/files/f77-MKL.blas new file mode 100644 index 000000000..5159eb5af --- /dev/null +++ b/sci-libs/mkl/files/f77-MKL.blas @@ -0,0 +1,16 @@ +F77LIBS="-L/usr/$(get_libdir)/blas/mkl -lmkl" + +setup() { + +MY_LIBDIR="$(get_libdir)" + +einfo "/usr/${MY_LIBDIR}/libblas.so -> libmkl.so" +ln -sf blas/mkl/libmkl.so /usr/${MY_LIBDIR}/libblas.so + +einfo "/usr/${MY_LIBDIR}/libblas.so.0 -> libmkl.so" +ln -sf blas/mkl/libmkl.so /usr/${MY_LIBDIR}/libblas.so.0 + +einfo "/usr/${MY_LIBDIR}/libblas.a -> libmkl_IKERN.a" +ln -sf blas/mkl/libmkl_IKERN.a /usr/${MY_LIBDIR}/libblas.a + +} diff --git a/sci-libs/mkl/files/f77-MKL.lapack b/sci-libs/mkl/files/f77-MKL.lapack new file mode 100644 index 000000000..108f04536 --- /dev/null +++ b/sci-libs/mkl/files/f77-MKL.lapack @@ -0,0 +1,16 @@ +F77LIBS="-L/usr/$(get_libdir)/lapack/mkl -lmkl_lapack" + +setup() { + +MY_LIBDIR="$(get_libdir)" + +einfo "/usr/${MY_LIBDIR}/liblapack.so -> libmkl_lapack.so" +ln -sf lapack/mkl/libmkl_lapack.so /usr/${MY_LIBDIR}/liblapack.so + +einfo "/usr/${MY_LIBDIR}/liblapack.so.0 -> libmkl_lapack.so" +ln -sf lapack/mkl/libmkl_lapack.so /usr/${MY_LIBDIR}/liblapack.so.0 + +einfo "/usr/${MY_LIBDIR}/liblapack.a -> libmkl_lapack.a" +ln -sf lapack/mkl/libmkl_lapack.a /usr/${MY_LIBDIR}/liblapack.a + +} diff --git a/sci-libs/mkl/files/f77-threaded.blas b/sci-libs/mkl/files/f77-threaded.blas new file mode 100644 index 000000000..265043261 --- /dev/null +++ b/sci-libs/mkl/files/f77-threaded.blas @@ -0,0 +1,14 @@ +F77LIBS="-L/usr/$(get_libdir)/blas/threaded-mkl -lmkl_blas -lpthread" + +setup() { +MY_LIBDIR="$(get_libdir)" + +einfo "/usr/${MY_LIBDIR}/libblas.so -> libmkl_blas.so" +ln -sf blas/threaded-mkl/libmkl_blas.so /usr/${MY_LIBDIR}/libblas.so + +einfo "/usr/${MY_LIBDIR}/libblas.so.0 -> libmkl_blas.so" +ln -sf blas/threaded-mkl/libmkl_blas.so /usr/${MY_LIBDIR}/libblas.so.0 + +einfo "/usr/${MY_LIBDIR}/libblas.a -> libmkl_blas.a" +ln -sf blas/threaded-mkl/libmkl_blas.a /usr/${MY_LIBDIR}/libblas.a +} diff --git a/sci-libs/mkl/files/f77-threaded.lapack b/sci-libs/mkl/files/f77-threaded.lapack new file mode 100644 index 000000000..c2bd43e2c --- /dev/null +++ b/sci-libs/mkl/files/f77-threaded.lapack @@ -0,0 +1,14 @@ +F77LIBS="-L/usr/$(get_libdir)/lapack/threaded-mkl -lmkl_lapack -lpthread" + +setup() { +MY_LIBDIR="$(get_libdir)" + +einfo "/usr/${MY_LIBDIR}/liblapack.so -> libmkl_lapack.so" +ln -sf lapack/threaded-mkl/libmkl_lapack.so /usr/${MY_LIBDIR}/liblapack.so + +einfo "/usr/${MY_LIBDIR}/liblapack.so.0 -> libmkl_lapack.so" +ln -sf lapack/threaded-mkl/libmkl_lapack.so /usr/${MY_LIBDIR}/liblapack.so.0 + +einfo "/usr/${MY_LIBDIR}/liblapack.a -> libmkl_lapack.a" +ln -sf lapack/threaded-mkl/libmkl_lapack.a /usr/${MY_LIBDIR}/liblapack.a +} |