Browse Source

Merge pull request #15049 from commodo/stress-ng

stress-ng: bump to version 0.12.04
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
6582d6e751
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      utils/stress-ng/Makefile
  2. +2
    -2
      utils/stress-ng/patches/010-soft-float.patch

+ 2
- 2
utils/stress-ng/Makefile View File

@ -6,12 +6,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=stress-ng PKG_NAME:=stress-ng
PKG_VERSION:=0.12.02
PKG_VERSION:=0.12.04
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://kernel.ubuntu.com/~cking/tarballs/stress-ng PKG_SOURCE_URL:=https://kernel.ubuntu.com/~cking/tarballs/stress-ng
PKG_HASH:=f847be115f60d3ad7d37c806fd1bfb1412aa3c631fca581d6dc233322f50d6a5
PKG_HASH:=b4e34bda8db4ed37e33b7a861bc06ad77cbbd234d63236da2cb58f02e3f3218e
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com> PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=GPL-2.0-only PKG_LICENSE:=GPL-2.0-only


+ 2
- 2
utils/stress-ng/patches/010-soft-float.patch View File

@ -1,6 +1,6 @@
--- a/stress-fp-error.c --- a/stress-fp-error.c
+++ b/stress-fp-error.c +++ b/stress-fp-error.c
@@ -115,42 +115,43 @@ static int stress_fp_error(const stress_
@@ -117,42 +117,43 @@ static int stress_fp_error(const stress_
do { do {
volatile double d1, d2; volatile double d1, d2;
@ -50,7 +50,7 @@
/* /*
* Use volatiles to force compiler to generate code * Use volatiles to force compiler to generate code
* to perform run time computation of 1.0 / M_PI * to perform run time computation of 1.0 / M_PI
@@ -171,14 +172,15 @@ static int stress_fp_error(const stress_
@@ -173,14 +174,15 @@ static int stress_fp_error(const stress_
stress_fp_check(args, "DBL_MAX + DBL_MAX / 2.0", stress_fp_check(args, "DBL_MAX + DBL_MAX / 2.0",
DBL_MAX + DBL_MAX / 2.0, INFINITY, DBL_MAX + DBL_MAX / 2.0, INFINITY,
false, true, 0, FE_OVERFLOW | FE_INEXACT); false, true, 0, FE_OVERFLOW | FE_INEXACT);


Loading…
Cancel
Save