Package Details: unixbench 5.1.3-4

Git Clone URL: https://aur.archlinux.org/unixbench.git (read-only, click to copy)
Package Base: unixbench
Description: UnixBench is a simple benchmark whose purpose is to provide a basic indicator of the performance of a Unix-like system.
Upstream URL: https://github.com/kdlucas/byte-unixbench
Keywords: benchmark system tool unix
Licenses: GPL
Submitter: moonman
Maintainer: kbabioch
Last Packager: kbabioch
Votes: 30
Popularity: 0.000290
First Submitted: 2015-08-15 07:28 (UTC)
Last Updated: 2017-11-17 10:09 (UTC)

Latest Comments

moonman commented on 2023-02-09 17:34 (UTC)

@hykilp

Why delete -march=native ? does it not build with Risc-V in this case? The test results will be skewed a little.

hykilp commented on 2023-02-09 16:18 (UTC) (edited on 2023-02-09 16:19 (UTC) by hykilp)

Just compiled successfully on the riscv64 platform. Please add the following patches to PKGBUILD:

> diff -ruN --color PKGBUILD.bak PKGBUILD  
--- PKGBUILD.bak    2023-02-09 11:18:02.000000000 -0500
+++ PKGBUILD    2023-02-09 11:14:52.295359827 -0500
@@ -5,7 +5,7 @@
 pkgver=5.1.3
 pkgrel=4
 pkgdesc='UnixBench is a simple benchmark whose purpose is to provide a  basic indicator of the performance of a Unix-like system.'
-arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')
+arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'riscv64')
 license=('GPL')
 url="https://github.com/kdlucas/byte-unixbench"
 depends=('perl')
@@ -33,6 +33,8 @@
    patch -Np2 -i ${srcdir}/make_maxcopies_unbound_for_misc_and_system_suites.patch
    patch -Np1 -i ${srcdir}/unreasonable_multicore-whetstone_results_fix.patch
    patch -Np1 -i ${srcdir}/modern_compiler_optimizations.patch
+
+   sed -i 's/-march=native//g' Makefile
 }

 build() {

moonman commented on 2020-08-16 19:02 (UTC)

@shizcow patch is part of base-devel group, and you have to have it installed for building AUR packages. Nothing is missing here.

shizcow commented on 2020-08-16 17:26 (UTC)

Missing make dependency patch

kbabioch commented on 2017-11-17 10:09 (UTC)

I've adopted the package and applied the suggestion from @phillid.

phillid commented on 2016-11-10 06:50 (UTC)

Please name the local source file properly to avoid collision with other packages when a common SRCDEST is used in makepkg.conf. Patch attached: https://ptpb.pw/wzHY.diff