FAQ
In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/1625f1d34b4eccaa6cf567720535b0a93299dfa5?hp=856d91b3be3773bade9513292a31e4c032f5f6a1>

- Log -----------------------------------------------------------------
commit 1625f1d34b4eccaa6cf567720535b0a93299dfa5
Author: Jarkko Hietaniemi <jhi@iki.fi>
Date: Wed Feb 17 09:40:00 2016 -0500

     Time::HiRes version bump.

M dist/Time-HiRes/Changes
M dist/Time-HiRes/HiRes.pm

commit 5ac4168164c39c7f85036acdd1d8bb591b5e5a36
Author: Jarkko Hietaniemi <jhi@iki.fi>
Date: Wed Feb 17 09:37:25 2016 -0500

     Allow TIME_HIRES_DONT_RUN_PROBES=1 to aid cross-compiling

     If that is true, the probes are compiled but not run.

     https://rt.cpan.org/Ticket/Display.html?id=111391

     Patch kindly supplied by Niko Tyni.

M dist/Time-HiRes/Makefile.PL
-----------------------------------------------------------------------

Summary of changes:
  dist/Time-HiRes/Changes | 4 ++++
  dist/Time-HiRes/HiRes.pm | 2 +-
  dist/Time-HiRes/Makefile.PL | 2 +-
  3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dist/Time-HiRes/Changes b/dist/Time-HiRes/Changes
index cfed6bf..f0878d0 100644
--- a/dist/Time-HiRes/Changes
+++ b/dist/Time-HiRes/Changes
@@ -1,5 +1,9 @@
  Revision history for the Perl extension Time::HiRes.

+1.9730 [2016-02-17]
+ - TIME_HIRES_DONT_RUN_PROBES=1 to build the probes but not run them
+ [rt.cpan.org #111391]
+
  1.9729 [2016-02-13]
    - new constants
      [rt.cpan.org #111170]
diff --git a/dist/Time-HiRes/HiRes.pm b/dist/Time-HiRes/HiRes.pm
index 7ed96c2..75a3743 100644
--- a/dist/Time-HiRes/HiRes.pm
+++ b/dist/Time-HiRes/HiRes.pm
@@ -28,7 +28,7 @@ our @EXPORT_OK = qw (usleep sleep ualarm alarm gettimeofday time tv_interval
     stat lstat
    );

-our $VERSION = '1.9729';
+our $VERSION = '1.9730';
  our $XS_VERSION = $VERSION;
  $VERSION = eval $VERSION;

diff --git a/dist/Time-HiRes/Makefile.PL b/dist/Time-HiRes/Makefile.PL
index 89594e6..087ab79 100644
--- a/dist/Time-HiRes/Makefile.PL
+++ b/dist/Time-HiRes/Makefile.PL
@@ -150,7 +150,7 @@ __EOD__
       my $res = system($cccmd);
       $ok = defined($res) && $res == 0 && -s $tmp_exe && -x _;

- if ( $ok && exists $args{run} && $args{run}) {
+ if ( $ok && exists $args{run} && $args{run} && !$ENV{TIME_HIRES_DONT_RUN_PROBES} ) {
    my $tmp_exe =
        File::Spec->catfile(File::Spec->curdir, $tmp_exe);
    my @run = $tmp_exe;

--
Perl5 Master Repository

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupperl5-changes @
categoriesperl
postedFeb 17, '16 at 2:47p
activeFeb 17, '16 at 2:47p
posts1
users1
websiteperl.org

1 user in discussion

Jarkko Hietaniemi: 1 post

People

Translate

site design / logo © 2017 Grokbase