arch-packages/PKGBUILD

27 lines
1.1 KiB
Text
Raw Normal View History

2015-06-09 00:00:40 +02:00
# Contributor: graysky <graysky AT archlinux dot us>
pkgname=('linpack')
2018-11-10 12:12:42 +01:00
pkgver=2018.3.011
2017-12-14 21:36:47 +01:00
_math_kernel_lib=2018
2016-10-25 13:30:19 +02:00
_url=9752
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"
2016-05-01 17:28:10 +02:00
source=("http://registrationcenter-download.intel.com/akdlm/irc_nas/$_url/l_mklb_p_$pkgver.tgz"
2017-12-14 21:36:47 +01:00
'linpack.conf' 'linpack_runme_xeon64')
2018-11-10 12:12:42 +01:00
sha256sums=('eac1fc2784c3ac2f130dafaa8e590b48f7623c577b469bae8b53decd27652b53'
2015-06-09 00:00:40 +02:00
'd7e31c8c7e2648c8fa3c4838d98dfc39b8fadf0f74bdaa4ca52cd38277ec8254'
2017-12-14 21:36:47 +01:00
'369736f6074ab579a1df38ba09be4784547833be020f13d1b60374f64ca5d5f6')
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)
2016-02-07 14:23:53 +01:00
_base="$srcdir/l_mklb_p_$pkgver/benchmarks_$_math_kernel_lib"
_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"
2017-05-19 21:00:14 +02: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
}