You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2013/12/10 03:10:20 UTC

[lucy-commits] [2/3] git commit: refs/heads/master - Add staging dirs to @INC.

Add staging dirs to @INC.

Add the `blib` directories for both Clownfish and Perl XS builds for the
benchmark indexing script.


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/9ccb11c2
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/9ccb11c2
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/9ccb11c2

Branch: refs/heads/master
Commit: 9ccb11c26381d04771ce9ccaf83332d87bf37b03
Parents: e097e83
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Thu Dec 5 20:43:24 2013 -0800
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Thu Dec 5 20:48:13 2013 -0800

----------------------------------------------------------------------
 devel/benchmarks/indexers/lucy_indexer.plx | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/9ccb11c2/devel/benchmarks/indexers/lucy_indexer.plx
----------------------------------------------------------------------
diff --git a/devel/benchmarks/indexers/lucy_indexer.plx b/devel/benchmarks/indexers/lucy_indexer.plx
index 8ec1f0a..a309e65 100755
--- a/devel/benchmarks/indexers/lucy_indexer.plx
+++ b/devel/benchmarks/indexers/lucy_indexer.plx
@@ -18,8 +18,16 @@
 use strict;
 use warnings;
 
-use lib '../devel/benchmarks/indexers';
-use lib 'devel/benchmarks/indexers';
+use FindBin qw( $Bin );
+use lib $Bin;
+use lib "$Bin/../../clownfish/runtime/perl/blib/arch";
+use lib "$Bin/../../clownfish/runtime/perl/blib/lib";
+use lib "$Bin/../../../clownfish/runtime/perl/blib/arch";
+use lib "$Bin/../../../clownfish/runtime/perl/blib/lib";
+use lib "$Bin/../../../blib/arch";
+use lib "$Bin/../../../blib/lib";
+use lib "$Bin/../../../perl/blib/arch";
+use lib "$Bin/../../../perl/blib/lib";
 
 use Getopt::Long;
 use Cwd qw( getcwd );