From 35a71d9bd16f5f0b0b8d6b1ecb200c6a5887f955 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Mon, 25 Jul 2016 21:10:53 +0200 Subject: stress: mv all files into recipes-support/stress Signed-off-by: Max Krummenacher Acked-by: Stefan Agner --- recipes-support/stress/files/texinfo.patch | 79 ++++++++++++++++++++++++++++++ recipes-support/stress/stress_1.0.4.bb | 23 +++++++++ recipes/stress/files/texinfo.patch | 79 ------------------------------ recipes/stress/stress_1.0.4.bb | 23 --------- 4 files changed, 102 insertions(+), 102 deletions(-) create mode 100644 recipes-support/stress/files/texinfo.patch create mode 100644 recipes-support/stress/stress_1.0.4.bb delete mode 100644 recipes/stress/files/texinfo.patch delete mode 100644 recipes/stress/stress_1.0.4.bb diff --git a/recipes-support/stress/files/texinfo.patch b/recipes-support/stress/files/texinfo.patch new file mode 100644 index 0000000..5ac5951 --- /dev/null +++ b/recipes-support/stress/files/texinfo.patch @@ -0,0 +1,79 @@ +--- a/doc/stress.texi ++++ b/doc/stress.texi +@@ -62,47 +62,47 @@ + + @table @samp + @item -? +-@itemx --help ++@item --help + Show help information. + +-@itemx --version ++@item --version + Show version information. + + @item -v +-@itemx --verbose ++@item --verbose + Turn up verbosity. + + @item -q +-@itemx --quiet ++@item --quiet + Turn down verbosity. + + @item -n +-@itemx --dry-run ++@item --dry-run + Show what would have been done. + + @item -t @var{secs} +-@itemx --timeout @var{secs} ++@item --timeout @var{secs} + Time out after @var{secs} seconds. + +-@itemx --backoff @var{usecs} ++@item --backoff @var{usecs} + Wait for factor of @var{usecs} microseconds before starting work. + + @item -c @var{forks} +-@itemx --cpu @var{forks} ++@item --cpu @var{forks} + Spawn @var{forks} processes each spinning on @samp{sqrt()}. + + @item -i @var{forks} +-@itemx --io @var{forks} ++@item --io @var{forks} + Spawn @var{forks} processes each spinning on @samp{sync()}. + + @item -m @var{forks} +-@itemx --vm @var{forks} ++@item --vm @var{forks} + Spawn @var{forks} processes each spinning on @samp{malloc()}. + +-@itemx --vm-bytes @var{bytes} ++@item --vm-bytes @var{bytes} + Allocate @var{bytes} number of bytes. The default is 1. + +-@itemx --vm-hang ++@item --vm-hang + Instruct each vm hog process to go to sleep after allocating memory. This + contrasts with their normal behavior, which is to free the memory and + reallocate @emph{ad infinitum}. This is useful for simulating low memory +@@ -114,13 +114,13 @@ + @end example + + @item -d @var{forks} +-@itemx --hdd @var{forks} ++@item --hdd @var{forks} + Spawn @var{forks} processes each spinning on @samp{write()}. + +-@itemx --hdd-bytes @var{bytes} ++@item --hdd-bytes @var{bytes} + Write @var{bytes} number of bytes. The default is 1GB. + +-@itemx --hdd-noclean ++@item --hdd-noclean + Do not unlink file(s) to which random ASCII data is written. + + @end table diff --git a/recipes-support/stress/stress_1.0.4.bb b/recipes-support/stress/stress_1.0.4.bb new file mode 100644 index 0000000..6f3114d --- /dev/null +++ b/recipes-support/stress/stress_1.0.4.bb @@ -0,0 +1,23 @@ +# stress .bb build file +# Copyright (C) 2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see /COPYING) + +HOMEPAGE = "http://people.seas.harvard.edu/~apw/stress/" +SUMMARY = "Generate load stress on UNIX-like operating systems" +DESCRIPTION = "a simple tool that imposes certain types of compute stress on UNIX-like operating systems." +LICENSE = "GPLv3" + +inherit autotools + +MIRRORS_prepend () { + http://people.seas.harvard.edu/~apw/stress/ http://pkgs.fedoraproject.org/repo/pkgs/stress/stress-1.0.4.tar.gz/a607afa695a511765b40993a64c6e2f4/ +} + +SRC_URI=" \ + http://people.seas.harvard.edu/~apw/stress/stress-${PV}.tar.gz \ + file://texinfo.patch \ +" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +SRC_URI[md5sum] = "a607afa695a511765b40993a64c6e2f4" +SRC_URI[sha256sum] = "369c997f65e8426ae8b318d4fdc8e6f07a311cfa77cc4b25dace465c582163c0" \ No newline at end of file diff --git a/recipes/stress/files/texinfo.patch b/recipes/stress/files/texinfo.patch deleted file mode 100644 index 5ac5951..0000000 --- a/recipes/stress/files/texinfo.patch +++ /dev/null @@ -1,79 +0,0 @@ ---- a/doc/stress.texi -+++ b/doc/stress.texi -@@ -62,47 +62,47 @@ - - @table @samp - @item -? --@itemx --help -+@item --help - Show help information. - --@itemx --version -+@item --version - Show version information. - - @item -v --@itemx --verbose -+@item --verbose - Turn up verbosity. - - @item -q --@itemx --quiet -+@item --quiet - Turn down verbosity. - - @item -n --@itemx --dry-run -+@item --dry-run - Show what would have been done. - - @item -t @var{secs} --@itemx --timeout @var{secs} -+@item --timeout @var{secs} - Time out after @var{secs} seconds. - --@itemx --backoff @var{usecs} -+@item --backoff @var{usecs} - Wait for factor of @var{usecs} microseconds before starting work. - - @item -c @var{forks} --@itemx --cpu @var{forks} -+@item --cpu @var{forks} - Spawn @var{forks} processes each spinning on @samp{sqrt()}. - - @item -i @var{forks} --@itemx --io @var{forks} -+@item --io @var{forks} - Spawn @var{forks} processes each spinning on @samp{sync()}. - - @item -m @var{forks} --@itemx --vm @var{forks} -+@item --vm @var{forks} - Spawn @var{forks} processes each spinning on @samp{malloc()}. - --@itemx --vm-bytes @var{bytes} -+@item --vm-bytes @var{bytes} - Allocate @var{bytes} number of bytes. The default is 1. - --@itemx --vm-hang -+@item --vm-hang - Instruct each vm hog process to go to sleep after allocating memory. This - contrasts with their normal behavior, which is to free the memory and - reallocate @emph{ad infinitum}. This is useful for simulating low memory -@@ -114,13 +114,13 @@ - @end example - - @item -d @var{forks} --@itemx --hdd @var{forks} -+@item --hdd @var{forks} - Spawn @var{forks} processes each spinning on @samp{write()}. - --@itemx --hdd-bytes @var{bytes} -+@item --hdd-bytes @var{bytes} - Write @var{bytes} number of bytes. The default is 1GB. - --@itemx --hdd-noclean -+@item --hdd-noclean - Do not unlink file(s) to which random ASCII data is written. - - @end table diff --git a/recipes/stress/stress_1.0.4.bb b/recipes/stress/stress_1.0.4.bb deleted file mode 100644 index 6f3114d..0000000 --- a/recipes/stress/stress_1.0.4.bb +++ /dev/null @@ -1,23 +0,0 @@ -# stress .bb build file -# Copyright (C) 2006, Advanced Micro Devices, Inc. All Rights Reserved -# Released under the MIT license (see /COPYING) - -HOMEPAGE = "http://people.seas.harvard.edu/~apw/stress/" -SUMMARY = "Generate load stress on UNIX-like operating systems" -DESCRIPTION = "a simple tool that imposes certain types of compute stress on UNIX-like operating systems." -LICENSE = "GPLv3" - -inherit autotools - -MIRRORS_prepend () { - http://people.seas.harvard.edu/~apw/stress/ http://pkgs.fedoraproject.org/repo/pkgs/stress/stress-1.0.4.tar.gz/a607afa695a511765b40993a64c6e2f4/ -} - -SRC_URI=" \ - http://people.seas.harvard.edu/~apw/stress/stress-${PV}.tar.gz \ - file://texinfo.patch \ -" -LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" - -SRC_URI[md5sum] = "a607afa695a511765b40993a64c6e2f4" -SRC_URI[sha256sum] = "369c997f65e8426ae8b318d4fdc8e6f07a311cfa77cc4b25dace465c582163c0" \ No newline at end of file -- cgit v1.2.3