lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [lucy-commits] [28/54] [abbrv] git commit: refs/heads/sortex_ptr_only - Adjust setup_clownfish_env.sh for Perl build
Date Sat, 26 Apr 2014 23:11:58 GMT
Adjust setup_clownfish_env.sh for Perl build

Set PERL5LIB and C_INCLUDE_PATH (for XSBind.h).


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

Branch: refs/heads/sortex_ptr_only
Commit: 7329c7ee812384fc2c64f63ecfa4f9335a115f76
Parents: 4087b61
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Sat Mar 22 20:03:33 2014 +0100
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Tue Apr 15 20:54:45 2014 +0200

----------------------------------------------------------------------
 devel/bin/setup_clownfish_env.sh | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/7329c7ee/devel/bin/setup_clownfish_env.sh
----------------------------------------------------------------------
diff --git a/devel/bin/setup_clownfish_env.sh b/devel/bin/setup_clownfish_env.sh
index 9f47ad8..2ec107d 100644
--- a/devel/bin/setup_clownfish_env.sh
+++ b/devel/bin/setup_clownfish_env.sh
@@ -56,15 +56,19 @@ then
     return 1 2>/dev/null || exit 1
 fi
 
-compiler_dir=$src_dir/compiler/c
-runtime_dir=$src_dir/runtime/c
-core_dir=$src_dir/runtime/core
+compiler_dir=$src_dir/compiler
+runtime_dir=$src_dir/runtime
 
-export PATH=`add_to_path "$PATH" "$compiler_dir"`
-export LIBRARY_PATH=`add_to_path "$LIBRARY_PATH" "$runtime_dir"`
-export CLOWNFISH_INCLUDE=`add_to_path "$CLOWNFISH_INCLUDE" "$core_dir"`
+export PATH=`add_to_path "$PATH" "$compiler_dir/c"`
+export C_INCLUDE_PATH=`add_to_path "$C_INCLUDE_PATH" "$runtime_dir/perl/xs"`
+export LIBRARY_PATH=`add_to_path "$LIBRARY_PATH" "$runtime_dir/c"`
+export CLOWNFISH_INCLUDE=`add_to_path "$CLOWNFISH_INCLUDE" "$runtime_dir/core"`
+export PERL5LIB=`add_to_path "$PERL5LIB" "$compiler_dir/perl/blib/arch"`
+export PERL5LIB=`add_to_path "$PERL5LIB" "$compiler_dir/perl/blib/lib"`
+export PERL5LIB=`add_to_path "$PERL5LIB" "$runtime_dir/perl/blib/arch"`
+export PERL5LIB=`add_to_path "$PERL5LIB" "$runtime_dir/perl/blib/lib"`
 
 if [ `uname` != Darwin ]; then
-    export LD_LIBRARY_PATH=`add_to_path "$LD_LIBRARY_PATH" "$runtime_dir"`
+    export LD_LIBRARY_PATH=`add_to_path "$LD_LIBRARY_PATH" "$runtime_dir/c"`
 fi
 


Mime
View raw message