diff options
author | Pascal Terjan <pterjan@gmail.com> | 2016-01-09 21:38:52 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2016-01-09 21:38:52 +0000 |
commit | b234b23494d34c20b963e44a69b69e91561413ea (patch) | |
tree | a94e27e8c5b6d9b4bc35b5a78bbe0054ddb258c3 | |
parent | d46d2da02e3b9d064f3ad78e128e99a7976c6ed1 (diff) | |
download | spec-helper-b234b23494d34c20b963e44a69b69e91561413ea.tar spec-helper-b234b23494d34c20b963e44a69b69e91561413ea.tar.gz spec-helper-b234b23494d34c20b963e44a69b69e91561413ea.tar.bz2 spec-helper-b234b23494d34c20b963e44a69b69e91561413ea.tar.xz spec-helper-b234b23494d34c20b963e44a69b69e91561413ea.zip |
Add a new helper to disable SMP.
This is needed when running armv5 code on SMP armv7 build machines.
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | restrict_to_cpu0 | 2 |
3 files changed, 5 insertions, 1 deletions
@@ -3,7 +3,8 @@ VERSION = 0.31.10 SCRIPT_FILES = clean_files clean_perl compress_files check_elf_files \ lib_symlinks fix_mo translate_menu \ - fix_pamd gprintify remove_info_dir relink_symlinks fix_eol + fix_pamd gprintify remove_info_dir relink_symlinks fix_eol \ + restrict_to_cpu0 BIN_FILES = macroszification MACROS_FILES = spec-helper.macros TEST_FILES = t/*.t @@ -1,4 +1,5 @@ * compress_files: drop support for LZMA + * restrict_to_cpu0: new helper to prevent SMP on some arches 2015-07-25 Shlomi Fish <shlomif@cpan.org> 0.31.10 * compress_files: More proper handling of $_. Convert as much as possible diff --git a/restrict_to_cpu0 b/restrict_to_cpu0 new file mode 100755 index 0000000..febc67a --- /dev/null +++ b/restrict_to_cpu0 @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/bin/taskset -c 0 /bin/sh "$1" |