parallel: Update to 20191022

This commit is contained in:
Alexey Pavlov
2019-11-12 11:27:44 +03:00
parent da7fd53515
commit 637802759f
2 changed files with 10 additions and 12 deletions

View File

@@ -144,7 +144,7 @@ index 8672d83..76c7405 100644
--- old/configure.ac
+++ 001/configure.ac
@@ -1,4 +1,16 @@
AC_INIT([parallel], [20190422], [bug-parallel@gnu.org])
AC_INIT([parallel], [20191022], [bug-parallel@gnu.org])
+
+# on MSys2 prefer msys to native programs, especially perl
+# native windows perl does not work for the time being
@@ -287,14 +287,14 @@ index fd61160..d53bd0c 100644
$cmd = Job::base64_wrap($ps);
}
@@ -6794,7 +6794,7 @@ sub sct_hpux() {
$cpu->{'cores'} ||=
::qqx(qq{ /usr/bin/mpsched -s 2>&1 | grep 'Locality Domain Count' | awk '{ print \$4 }'});
chomp($cpu->{'cores'});
$cpu->{'threads'} =
$cpu->{'threads'} ||=
- ::qqx(qq{ /usr/bin/mpsched -s 2>&1 | perl -ne '/Processor Count\\D+(\\d+)/ and print "\$1"'});
+ ::qqx(qq{ /usr/bin/mpsched -s 2>&1 | $^X -ne '/Processor Count\\D+(\\d+)/ and print "\$1"'});
return $cpu;
}
if(grep { /\d/ } values %$cpu) {
# BUG It is not not known how to calculate this
@@ -7522,19 +7522,19 @@ sub empty_input_wrapper {
exit ($?&127 ? 128+($?&127) : 1+$?>>8)
}