Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame^] | 1 | From d85cc45e0ddeda68adf594dead715964cb32d0e7 Mon Sep 17 00:00:00 2001 |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 2 | From: Qing He <qing.he@intel.com> |
| 3 | Date: Tue, 31 Aug 2010 22:51:58 +0800 |
| 4 | Subject: [PATCH] valgrind: fix perl scripts |
| 5 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 6 | this is a temporary patch to workaround cross compilation. |
| 7 | otherwise @PERL@ will be replaced to perl-native binary, |
| 8 | this creates unusable scripts and fails FILERDEPENDS mechanism |
| 9 | (esp. rpm) |
| 10 | |
| 11 | a better fix would need: |
| 12 | 1. configure.ac should differentiate PERL and HOSTPERL |
| 13 | 2. optionally remove ${STAGING_DIR} in #! line before do_install |
| 14 | |
| 15 | 8/31/2010 - created by Qing He <qing.he@intel.com> |
| 16 | |
| 17 | Upstream-Status: Inappropriate [configuration] |
| 18 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 19 | Signed-off-by: Maxin B. John <maxin.john@intel.com> |
| 20 | --- |
| 21 | cachegrind/cg_annotate.in | 2 +- |
| 22 | cachegrind/cg_diff.in | 2 +- |
| 23 | massif/ms_print.in | 2 +- |
| 24 | perf/vg_perf.in | 2 +- |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame^] | 25 | tests/vg_regtest.in | 2 +- |
| 26 | 5 files changed, 5 insertions(+), 5 deletions(-) |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 27 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 28 | diff --git a/cachegrind/cg_annotate.in b/cachegrind/cg_annotate.in |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame^] | 29 | index fea114b..5e814fd 100644 |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 30 | --- a/cachegrind/cg_annotate.in |
| 31 | +++ b/cachegrind/cg_annotate.in |
| 32 | @@ -1,4 +1,4 @@ |
| 33 | -#! @PERL@ |
| 34 | +#! /usr/bin/perl |
| 35 | |
| 36 | ##--------------------------------------------------------------------## |
| 37 | ##--- Cachegrind's annotator. cg_annotate.in ---## |
| 38 | diff --git a/cachegrind/cg_diff.in b/cachegrind/cg_diff.in |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame^] | 39 | index 9d9258e..d0f0ec7 100755 |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 40 | --- a/cachegrind/cg_diff.in |
| 41 | +++ b/cachegrind/cg_diff.in |
| 42 | @@ -1,4 +1,4 @@ |
| 43 | -#! @PERL@ |
| 44 | +#! /usr/bin/perl |
| 45 | |
| 46 | ##--------------------------------------------------------------------## |
| 47 | ##--- Cachegrind's differencer. cg_diff.in ---## |
| 48 | diff --git a/massif/ms_print.in b/massif/ms_print.in |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame^] | 49 | index a206ce4..df1bc31 100755 |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 50 | --- a/massif/ms_print.in |
| 51 | +++ b/massif/ms_print.in |
| 52 | @@ -1,4 +1,4 @@ |
| 53 | -#! @PERL@ |
| 54 | +#! /usr/bin/perl |
| 55 | |
| 56 | ##--------------------------------------------------------------------## |
| 57 | ##--- Massif's results printer ms_print.in ---## |
| 58 | diff --git a/perf/vg_perf.in b/perf/vg_perf.in |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame^] | 59 | index 90ee1d2..c585096 100644 |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 60 | --- a/perf/vg_perf.in |
| 61 | +++ b/perf/vg_perf.in |
| 62 | @@ -1,4 +1,4 @@ |
| 63 | -#! @PERL@ |
| 64 | +#! /usr/bin/perl |
| 65 | ##--------------------------------------------------------------------## |
| 66 | ##--- Valgrind performance testing script vg_perf ---## |
| 67 | ##--------------------------------------------------------------------## |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 68 | diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame^] | 69 | index 0fe6341..1b45eb7 100755 |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 70 | --- a/tests/vg_regtest.in |
| 71 | +++ b/tests/vg_regtest.in |
| 72 | @@ -1,4 +1,4 @@ |
| 73 | -#! @PERL@ |
| 74 | +#! /usr/bin/perl |
| 75 | ##--------------------------------------------------------------------## |
| 76 | ##--- Valgrind regression testing script vg_regtest ---## |
| 77 | ##--------------------------------------------------------------------## |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame^] | 78 | -- |
| 79 | 2.29.2 |
| 80 | |