comparison tool_dependencies.xml @ 12:4091cf3b81e5 draft

Uploaded
author jankanis
date Mon, 26 May 2014 05:11:04 -0400
parents bad79cc1a7b1
children 9dbfc4fcef0a
comparison
equal deleted inserted replaced
11:bad79cc1a7b1 12:4091cf3b81e5
29 <package name="gdbm" version="1.11" /> 29 <package name="gdbm" version="1.11" />
30 </repository> 30 </repository>
31 </action> 31 </action>
32 32
33 <action type="shell_command"> 33 <action type="shell_command">
34 # The python build system doesn't check CPATH / C(PLUS)_INCLUDE_PATH which is set by the depended-upon 34 # The python build system doesn't check CPATH / C(PLUS)_INCLUDE_PATH which is set by the depended-upon
35 # tool definitions for these sources, but it does check CPPFLAGS / LDFLAGS 35 # tool definitions for these sources, but it does check CPPFLAGS / LDFLAGS
36 export CPPFLAGS="$CPPFLAGS -I$SQLITE_ROOT_DIR/lib -I$GDBM_ROOT_PATH/lib -I$OPENSSL_ROOT_DIR/lib" 36 # Currently not whitespace-safe, but galaxy itself isn't whitespace-safe either so it doesn't matter (yet)
37 export LDFLAGS="$LDFLAGS -L$SQLITE_ROOT_DIR/include -L$GDBM_ROOT_PATH/include -L$OPENSSL_ROOT_DIR/include" 37 oldifs="$IFS"
38 # Clear variables that may be used in Galaxy's extenal python 2 environment 38 IFS=:
39 unset PYTHONPATH 39 for p in $CPLUS_INCLUDE_PATH
40 unset PYTHONHOME 40 do
41 ./configure --prefix=$INSTALL_DIR --with-ensurepip --enable-loadable-sqlite-extensions \ 41 CPPFLAGS="$CPPFLAGS -I$p"
42 &amp;&amp; make \ 42 done
43 &amp;&amp; make install 43 for p in $LD_LIBRARY_PATH
44 </action> 44 do
45 LDFLAGS="$LDFLAGS -L$p/lib"
46 done
47 IFS="$oldifs"
48 export CPPFLAGS
49 export LDFLAGS
50
51 # Clear variables that may be used in Galaxy's extenal python 2 environment
52 unset PYTHONPATH
53 unset PYTHONHOME
54
55 ./configure --prefix="$INSTALL_DIR" --with-ensurepip --enable-loadable-sqlite-extensions \
56 &amp;&amp; make \
57 &amp;&amp; make install
58 </action>
45 59
46 <action type="set_environment"> 60 <action type="set_environment">
47 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> 61 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
48 <!-- empty PYTHONPATH, otherwise we will get Galaxy's Python 2 libraries in the Python 3 path --> 62 <!-- empty PYTHONPATH, otherwise we will get Galaxy's Python 2 libraries in the Python 3 path -->
49 <environment_variable action="set_to" name="PYTHONPATH" /> 63 <environment_variable action="set_to" name="PYTHONPATH" />