arch-packages/linpack/PKGBUILD

32 lines
1.5 KiB
Text
Raw Normal View History

# Maintainer: Manuel Hüsers <aur@huesers.de>
2015-06-09 00:00:40 +02:00
# Contributor: graysky <graysky AT archlinux dot us>
pkgname='linpack'
_pkgver=2024.2.0_527
_pkgid=825890
pkgver=${_pkgver%%_*}
_math_kernel_lib=${pkgver%%.0}
2017-03-04 14:19:00 +01:00
pkgrel=1
pkgdesc="Benchmark that measures a system's floating-point rate of execution by solving dense linear equations"
2017-12-14 21:36:47 +01:00
arch=('x86_64')
url='http://software.intel.com/en-us/articles/intel-math-kernel-library-linpack-download'
2015-06-09 00:00:40 +02:00
license=('custom')
backup=('etc/linpack.conf')
options=('!strip')
source=("https://downloadmirror.intel.com/${_pkgid}/l_onemklbench_p_${_pkgver}.tgz"
'linpack.conf'
'linpack_runme_xeon64')
sha512sums=('589be7ea199e362ad9eb6ef6deb7d3fc2d751417515b475fb64682f602c84d39f2dd26477869092a9499a919223ab9e7e15eaa7a2e4593b8bd47526a6d1bec89'
'69b049a3a1c0b674e471bc61e1f88f729db1dd454eb0bfc9adde7c3a4876bb396a91f57f19d5e1add906ee4282068d8cd0fa5f1a59bf8a96784846a3c9f63ab1'
'3e880d4e0af8154ac1d591177e08ceda28f5ff5fbf698e47f99de8621e37137ecf26024048bd0ee81fc7af73ca8ae0deeb0a309325970a701ac5f13b571bdb60')
package() {
local _base="${srcdir}/benchmarks_${_math_kernel_lib}"
local _test="${_base}/linux/share/mkl/benchmarks/linpack"
2015-06-09 00:00:40 +02:00
install -Dm755 linpack_runme_xeon64 "${pkgdir}/usr/bin/linpack_runme_xeon64"
install -Dm644 linpack.conf "${pkgdir}/usr/share/${pkgname}/linpack.conf"
install -Dm644 "${_base}/license.txt" "${pkgdir}/usr/share/licenses/linpack/license.txt"
install -Dm755 "${_test}/xlinpack_xeon64" "${pkgdir}/usr/bin/xlinpack_xeon64"
2015-06-09 00:00:40 +02:00
}