[arch-commits] Commit in cpuburn/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:39:20 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:39:20
  Author: felixonmars
Revision: 658552

archrelease: copy trunk to community-staging-x86_64

Added:
  cpuburn/repos/community-staging-x86_64/
  cpuburn/repos/community-staging-x86_64/PKGBUILD
    (from rev 658550, cpuburn/trunk/PKGBUILD)
  cpuburn/repos/community-staging-x86_64/cpuburn.patch
    (from rev 658550, cpuburn/trunk/cpuburn.patch)

---------------+
 PKGBUILD      |   30 ++++++++++++++++++++++++++++++
 cpuburn.patch |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

Copied: cpuburn/repos/community-staging-x86_64/PKGBUILD (from rev 658550, cpuburn/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:39:20 UTC (rev 658552)
@@ -0,0 +1,30 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Filip Wojciechowski, filip at loka dot pl
+
+pkgname=cpuburn
+pkgver=1.4a
+pkgrel=7
+pkgdesc="CPU testing utilities in optimized assembler for maximum loading of CPUs"
+arch=('x86_64')
+url="https://launchpad.net/ubuntu/+source/cpuburn/"
+license=('GPL')
+depends=()
+source=("https://launchpad.net/ubuntu/+archive/primary/+files/cpuburn_$pkgver.orig.tar.gz"
+	cpuburn.patch)
+md5sums=('a9e1df40c660324eb08e91847cbc41b9'
+         '30f0eb72a0cb061955ab8dee8551d451')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -Np1 -i ../cpuburn.patch
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  for i in burn{BX,K6,K7,MMX,P5,P6}; do
+    install -Dm755 $i "$pkgdir/usr/bin/$i"
+  done
+  install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README"
+  install -Dm644 Design "$pkgdir/usr/share/doc/$pkgname/Design"
+}

Copied: cpuburn/repos/community-staging-x86_64/cpuburn.patch (from rev 658550, cpuburn/trunk/cpuburn.patch)
===================================================================
--- community-staging-x86_64/cpuburn.patch	                        (rev 0)
+++ community-staging-x86_64/cpuburn.patch	2020-07-07 13:39:20 UTC (rev 658552)
@@ -0,0 +1,41 @@
+--- cpuburn-1.4.orig/burnP6.S
++++ cpuburn-1.4/burnP6.S
+@@ -69,6 +69,7 @@
+ 	push	%eax		# *BSD syscall
+ 	int	$0x80
+ #endif
++.data				# Data allocation
+ .align 32,0
+ half:	.long 0x7fffffff,0
+ e:	.long 0xffffffff,0x3fdfffff
+--- cpuburn-1.4.orig/burnK6.S
++++ cpuburn-1.4/burnK6.S
+@@ -68,6 +68,7 @@
+ 	push	%eax
+ 	int	$0x80
+ #endif
++.data				# Data allocation
+ .align 32,0
+ half:	.long 0x7fffffff,0
+ e:	.long 0xffffffff,0x3fdfffff
+--- cpuburn-1.4.orig/Makefile
++++ cpuburn-1.4/Makefile
+@@ -1,3 +1,3 @@
+ all : burnP5 burnP6 burnK6 burnK7 burnBX burnMMX
+ .S:
+-	gcc -s -nostdlib -o $@ $<
++	gcc -m32 -s -nostdlib -static -o $@ $<
+--- cpuburn-1.4.orig/burnK7.S
++++ cpuburn-1.4/burnK7.S
+@@ -74,10 +74,9 @@
+ 	push	%eax
+ 	int	$0x80
+ #endif
++.data				# Data allocation
+ .align 32,0
+ 	.fill 64
+ half:	.long 0x7fffffff,0
+ e:	.long 0xffffffff,0x3fdfffff
+ rt:	.long 0xffffffff,0x3fefffff
+-
+-



More information about the arch-commits mailing list