arch-packages/PKGBUILD

26 lines
1 KiB
Text
Raw Normal View History

2015-06-09 00:00:40 +02:00
# Contributor: graysky <graysky AT archlinux dot us>
pkgname=('linpack')
2022-09-11 19:53:58 +02:00
pkgver=2022.0.2.84
_math_kernel_lib=2022.0.2
2017-03-04 14:19:00 +01:00
pkgrel=1
2017-12-14 21:36:47 +01:00
arch=('x86_64')
2015-06-09 00:00:40 +02:00
license=('custom')
url="http://software.intel.com/en-us/articles/intel-math-kernel-library-linpack-download"
2022-09-11 19:53:58 +02:00
source=("https://downloadmirror.intel.com/721397/l-onemklbench-p-${pkgver//./-}.tgz"
2017-12-14 21:36:47 +01:00
'linpack.conf' 'linpack_runme_xeon64')
2022-09-11 19:53:58 +02:00
sha1sums=('3c9f41fcd1454bfbb5525a1056b18edc7f58aae5'
'96636f441f3ab48b2df5e24afd2775ff5f954446'
'9529264752433c0fa5fe33c9712ffc3cf83acc2a')
2015-06-09 00:00:40 +02:00
package_linpack() {
pkgdesc='Benchmark based on linear algebra excellent app for stress testing.'
backup=(etc/linpack.conf)
2021-12-12 12:30:14 +01:00
_base="$srcdir/benchmarks_$_math_kernel_lib"
2016-02-07 14:23:53 +01:00
_test="$_base/linux/mkl/benchmarks/linpack"
2015-06-09 00:00:40 +02:00
2017-12-14 21:36:47 +01:00
install -Dm755 linpack_runme_xeon64 "$pkgdir/usr/bin/linpack_runme_xeon64"
2016-05-01 17:28:10 +02:00
install -Dm644 linpack.conf "$pkgdir/usr/share/$pkgname/linpack.conf"
2021-12-12 12:30:14 +01:00
install -Dm644 "$_base/license.txt" "$pkgdir/usr/share/licenses/linpack/license.txt"
2017-12-14 21:36:47 +01:00
install -Dm755 "$_test/xlinpack_xeon64" "$pkgdir/usr/bin/xlinpack_xeon64"
2015-06-09 00:00:40 +02:00
}