Update to 2018.0.006-1
This commit is contained in:
parent
41e8e1bf39
commit
64b48e63a9
3 changed files with 18 additions and 27 deletions
13
.SRCINFO
13
.SRCINFO
|
@ -1,18 +1,17 @@
|
||||||
# Generated by mksrcinfo v8
|
# Generated by mksrcinfo v8
|
||||||
# Wed Jul 12 21:02:44 UTC 2017
|
# Thu Dec 14 20:36:46 UTC 2017
|
||||||
pkgbase = linpack
|
pkgbase = linpack
|
||||||
pkgver = 2017.3.018
|
pkgver = 2018.0.006
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = http://software.intel.com/en-us/articles/intel-math-kernel-library-linpack-download
|
url = http://software.intel.com/en-us/articles/intel-math-kernel-library-linpack-download
|
||||||
arch = i686
|
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = custom
|
license = custom
|
||||||
source = http://registrationcenter-download.intel.com/akdlm/irc_nas/9752/l_mklb_p_2017.3.018.tgz
|
source = http://registrationcenter-download.intel.com/akdlm/irc_nas/9752/l_mklb_p_2018.0.006.tgz
|
||||||
source = linpack.conf
|
source = linpack.conf
|
||||||
source = runme.template
|
source = linpack_runme_xeon64
|
||||||
sha256sums = 68abeb11e2b1e38a5d2c214c4f82c6788156e1d205ed66254c04ccd7d37f4d29
|
sha256sums = 75eca690d91ef065748218f105c2c47b902f1e113b64a0c3f6a8075c80248b95
|
||||||
sha256sums = d7e31c8c7e2648c8fa3c4838d98dfc39b8fadf0f74bdaa4ca52cd38277ec8254
|
sha256sums = d7e31c8c7e2648c8fa3c4838d98dfc39b8fadf0f74bdaa4ca52cd38277ec8254
|
||||||
sha256sums = 8bcd48bd97b3177590f15e922f8f7fb1ebfe6ea0608b4d63d8902ac2bd9b6a52
|
sha256sums = 369736f6074ab579a1df38ba09be4784547833be020f13d1b60374f64ca5d5f6
|
||||||
|
|
||||||
pkgname = linpack
|
pkgname = linpack
|
||||||
pkgdesc = Benchmark based on linear algebra excellent app for stress testing.
|
pkgdesc = Benchmark based on linear algebra excellent app for stress testing.
|
||||||
|
|
24
PKGBUILD
24
PKGBUILD
|
@ -1,34 +1,26 @@
|
||||||
# Contributor: graysky <graysky AT archlinux dot us>
|
# Contributor: graysky <graysky AT archlinux dot us>
|
||||||
pkgname=('linpack')
|
pkgname=('linpack')
|
||||||
pkgver=2017.3.018
|
pkgver=2018.0.006
|
||||||
_math_kernel_lib=2017
|
_math_kernel_lib=2018
|
||||||
_url=9752
|
_url=9752
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('i686' 'x86_64')
|
arch=('x86_64')
|
||||||
license=('custom')
|
license=('custom')
|
||||||
url="http://software.intel.com/en-us/articles/intel-math-kernel-library-linpack-download"
|
url="http://software.intel.com/en-us/articles/intel-math-kernel-library-linpack-download"
|
||||||
source=("http://registrationcenter-download.intel.com/akdlm/irc_nas/$_url/l_mklb_p_$pkgver.tgz"
|
source=("http://registrationcenter-download.intel.com/akdlm/irc_nas/$_url/l_mklb_p_$pkgver.tgz"
|
||||||
'linpack.conf' 'runme.template')
|
'linpack.conf' 'linpack_runme_xeon64')
|
||||||
sha256sums=('68abeb11e2b1e38a5d2c214c4f82c6788156e1d205ed66254c04ccd7d37f4d29'
|
sha256sums=('75eca690d91ef065748218f105c2c47b902f1e113b64a0c3f6a8075c80248b95'
|
||||||
'd7e31c8c7e2648c8fa3c4838d98dfc39b8fadf0f74bdaa4ca52cd38277ec8254'
|
'd7e31c8c7e2648c8fa3c4838d98dfc39b8fadf0f74bdaa4ca52cd38277ec8254'
|
||||||
'8bcd48bd97b3177590f15e922f8f7fb1ebfe6ea0608b4d63d8902ac2bd9b6a52')
|
'369736f6074ab579a1df38ba09be4784547833be020f13d1b60374f64ca5d5f6')
|
||||||
|
|
||||||
build() {
|
|
||||||
[[ -z "$CARCH" ]] && echo "Cannot determine architecture of this system!" && exit 1
|
|
||||||
[[ "$CARCH" = "x86_64" ]] && bit=64 || bit=32
|
|
||||||
export bit
|
|
||||||
}
|
|
||||||
|
|
||||||
package_linpack() {
|
package_linpack() {
|
||||||
pkgdesc='Benchmark based on linear algebra excellent app for stress testing.'
|
pkgdesc='Benchmark based on linear algebra excellent app for stress testing.'
|
||||||
backup=(etc/linpack.conf)
|
backup=(etc/linpack.conf)
|
||||||
_base="$srcdir/l_mklb_p_$pkgver/benchmarks_$_math_kernel_lib"
|
_base="$srcdir/l_mklb_p_$pkgver/benchmarks_$_math_kernel_lib"
|
||||||
_test="$_base/linux/mkl/benchmarks/linpack"
|
_test="$_base/linux/mkl/benchmarks/linpack"
|
||||||
# setup based on detected arch
|
|
||||||
sed -e "s/@TARGET_BIT@/$bit/g" <runme.template >linpack_runme_xeon$bit
|
|
||||||
|
|
||||||
install -Dm755 linpack_runme_xeon$bit "$pkgdir/usr/bin/linpack_runme_xeon$bit"
|
install -Dm755 linpack_runme_xeon64 "$pkgdir/usr/bin/linpack_runme_xeon64"
|
||||||
install -Dm644 linpack.conf "$pkgdir/usr/share/$pkgname/linpack.conf"
|
install -Dm644 linpack.conf "$pkgdir/usr/share/$pkgname/linpack.conf"
|
||||||
install -Dm644 "$_base/license.txt" "$pkgdir/usr/share/licenses/linpack/license.txt"
|
install -Dm644 "$_base/license.txt" "$pkgdir/usr/share/licenses/linpack/license.txt"
|
||||||
install -Dm755 "$_test/xlinpack_xeon$bit" "$pkgdir/usr/bin/xlinpack_xeon$bit"
|
install -Dm755 "$_test/xlinpack_xeon64" "$pkgdir/usr/bin/xlinpack_xeon64"
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,12 +15,12 @@ XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||||
echo -e "Edit \E[31m$XDG_CONFIG_HOME/linpack.conf\E[37m to adjust the amount of physical memory to consume."
|
echo -e "Edit \E[31m$XDG_CONFIG_HOME/linpack.conf\E[37m to adjust the amount of physical memory to consume."
|
||||||
echo
|
echo
|
||||||
echo -e "Starting calculation.... hit ctrl+c to stop."
|
echo -e "Starting calculation.... hit ctrl+c to stop."
|
||||||
echo -e "Consult \E[31m~/lin_xeon@TARGET_BIT@.txt\E[37m for results as they are caculated."
|
echo -e "Consult \E[31m~/lin_xeon64.txt\E[37m for results as they are caculated."
|
||||||
|
|
||||||
date
|
date
|
||||||
date >> ~/lin_xeon@TARGET_BIT@.txt
|
date >> ~/lin_xeon64.txt
|
||||||
|
|
||||||
/usr/bin/xlinpack_xeon@TARGET_BIT@ $XDG_CONFIG_HOME/linpack.conf >> ~/lin_xeon@TARGET_BIT@.txt
|
/usr/bin/xlinpack_xeon64 $XDG_CONFIG_HOME/linpack.conf >> ~/lin_xeon64.txt
|
||||||
date >> ~/lin_xeon@TARGET_BIT@.txt
|
date >> ~/lin_xeon64.txt
|
||||||
echo -n "Done: "
|
echo -n "Done: "
|
||||||
date
|
date
|
Loading…
Reference in a new issue