blob: 49cf42c105f03c3424f03c9fcf0e889205ed8f6c (
plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
pkgbase=blas-aocl
pkgname=(blas-aocl-gcc blas64-aocl-gcc blas-aocl-aocc blas64-aocl-aocc)
pkgver=1
pkgrel=1
epoch=1
arch=(x86_64)
pkgdesc="AMD Optimizing CPU Libraries (Provides BLAS/CBLAS/LAPACK/LAPACKE system-wide)"
url="https://developer.amd.com/amd-aocl/"
license=('custom')
package_blas-aocl-gcc() {
depends=('aocl-gcc')
provides=('blas' 'cblas' 'lapack' 'lapacke')
conflicts=('blas' 'cblas' 'lapack' 'lapacke')
mkdir -p "$pkgdir"/usr/lib
mkdir -p "$pkgdir"/usr/include
ln -s /opt/aocl/gcc/lib_LP64/libblis-mt.so "$pkgdir"/usr/lib/libblas.so
ln -s /opt/aocl/gcc/lib_LP64/libblis-mt.so "$pkgdir"/usr/lib/libblas.so.3
ln -s /opt/aocl/gcc/lib_LP64/libblis-mt.so "$pkgdir"/usr/lib/libcblas.so
ln -s /opt/aocl/gcc/lib_LP64/libblis-mt.so "$pkgdir"/usr/lib/libcblas.so.3
ln -s /opt/aocl/gcc/lib_LP64/libflame.so "$pkgdir"/usr/lib/liblapack.so
ln -s /opt/aocl/gcc/lib_LP64/libflame.so "$pkgdir"/usr/lib/liblapack.so.3
ln -s /opt/aocl/gcc/lib_LP64/libflame.so "$pkgdir"/usr/lib/liblapacke.so
ln -s /opt/aocl/gcc/lib_LP64/libflame.so "$pkgdir"/usr/lib/liblapacke.so.3
ln -s /opt/aocl/gcc/include_LP64/cblas.h "$pkgdir"/usr/include/cblas.h
ln -s /opt/aocl/gcc/include_LP64/cblas.hh "$pkgdir"/usr/include/cblas.hh
ln -s /opt/aocl/gcc/include_LP64/lapack.h "$pkgdir"/usr/include/lapack.h
ln -s /opt/aocl/gcc/include_LP64/lapacke.h "$pkgdir"/usr/include/lapacke.h
ln -s /opt/aocl/gcc/include_LP64/lapacke_mangling.h "$pkgdir"/usr/include/lapacke_mangling.h
}
package_blas64-aocl-gcc() {
depends=('aocl-gcc')
provides=('blas64' 'cblas64' 'lapack64' 'lapacke64')
conflicts=('blas64' 'cblas64' 'lapack64' 'lapacke64')
mkdir -p "$pkgdir"/usr/lib
ln -s /opt/aocl/gcc/lib_ILP64/libblis-mt.so "$pkgdir"/usr/lib/libblas64.so
ln -s /opt/aocl/gcc/lib_ILP64/libblis-mt.so "$pkgdir"/usr/lib/libblas64.so.3
ln -s /opt/aocl/gcc/lib_ILP64/libblis-mt.so "$pkgdir"/usr/lib/libcblas64.so
ln -s /opt/aocl/gcc/lib_ILP64/libblis-mt.so "$pkgdir"/usr/lib/libcblas64.so.3
ln -s /opt/aocl/gcc/lib_ILP64/libflame.so "$pkgdir"/usr/lib/liblapack64.so
ln -s /opt/aocl/gcc/lib_ILP64/libflame.so "$pkgdir"/usr/lib/liblapack64.so.3
ln -s /opt/aocl/gcc/lib_ILP64/libflame.so "$pkgdir"/usr/lib/liblapacke64.so
ln -s /opt/aocl/gcc/lib_ILP64/libflame.so "$pkgdir"/usr/lib/liblapacke64.so.3
}
package_blas-aocl-aocc() {
depends=('aocl-aocc')
provides=('blas' 'cblas' 'lapack' 'lapacke')
conflicts=('blas' 'cblas' 'lapack' 'lapacke')
mkdir -p "$pkgdir"/usr/lib
mkdir -p "$pkgdir"/usr/include
ln -s /opt/aocl/aocc/lib_LP64/libblis-mt.so "$pkgdir"/usr/lib/libblas.so
ln -s /opt/aocl/aocc/lib_LP64/libblis-mt.so "$pkgdir"/usr/lib/libblas.so.3
ln -s /opt/aocl/aocc/lib_LP64/libblis-mt.so "$pkgdir"/usr/lib/libcblas.so
ln -s /opt/aocl/aocc/lib_LP64/libblis-mt.so "$pkgdir"/usr/lib/libcblas.so.3
ln -s /opt/aocl/aocc/lib_LP64/libflame.so "$pkgdir"/usr/lib/liblapack.so
ln -s /opt/aocl/aocc/lib_LP64/libflame.so "$pkgdir"/usr/lib/liblapack.so.3
ln -s /opt/aocl/aocc/lib_LP64/libflame.so "$pkgdir"/usr/lib/liblapacke.so
ln -s /opt/aocl/aocc/lib_LP64/libflame.so "$pkgdir"/usr/lib/liblapacke.so.3
ln -s /opt/aocl/aocc/include_LP64/cblas.h "$pkgdir"/usr/include/cblas.h
ln -s /opt/aocl/aocc/include_LP64/cblas.hh "$pkgdir"/usr/include/cblas.hh
ln -s /opt/aocl/aocc/include_LP64/lapack.h "$pkgdir"/usr/include/lapack.h
ln -s /opt/aocl/aocc/include_LP64/lapacke.h "$pkgdir"/usr/include/lapacke.h
ln -s /opt/aocl/aocc/include_LP64/lapacke_mangling.h "$pkgdir"/usr/include/lapacke_mangling.h
}
package_blas64-aocl-aocc() {
depends=('aocl-aocc')
provides=('blas64' 'cblas64' 'lapack64' 'lapacke64')
conflicts=('blas64' 'cblas64' 'lapack64' 'lapacke64')
mkdir -p "$pkgdir"/usr/lib
ln -s /opt/aocl/aocc/lib_ILP64/libblis-mt.so "$pkgdir"/usr/lib/libblas64.so
ln -s /opt/aocl/aocc/lib_ILP64/libblis-mt.so "$pkgdir"/usr/lib/libblas64.so.3
ln -s /opt/aocl/aocc/lib_ILP64/libblis-mt.so "$pkgdir"/usr/lib/libcblas64.so
ln -s /opt/aocl/aocc/lib_ILP64/libblis-mt.so "$pkgdir"/usr/lib/libcblas64.so.3
ln -s /opt/aocl/aocc/lib_ILP64/libflame.so "$pkgdir"/usr/lib/liblapack64.so
ln -s /opt/aocl/aocc/lib_ILP64/libflame.so "$pkgdir"/usr/lib/liblapack64.so.3
ln -s /opt/aocl/aocc/lib_ILP64/libflame.so "$pkgdir"/usr/lib/liblapacke64.so
ln -s /opt/aocl/aocc/lib_ILP64/libflame.so "$pkgdir"/usr/lib/liblapacke64.so.3
}
|