annotate tool_dependencies.xml @ 4:f27d2f8761ae draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
author iuc
date Tue, 16 Feb 2016 16:57:05 -0500
parents 0538fd672119
children c0a66ce2a119
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
1 <?xml version="1.0"?>
0
597c0e54eded initial upload
iuc
parents:
diff changeset
2 <tool_dependency>
1
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
3 <package name="atlas" version="3.10.2">
0
597c0e54eded initial upload
iuc
parents:
diff changeset
4 <install version="1.0">
1
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
5 <actions_group>
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
6 <actions architecture="x86_64" os="linux">
4
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
7 <action type="download_by_url" sha256sum="c36a9edf352aa3652ae2c3cccf752351e12291c1d018da842093f9dc70fa2da3">
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
8 https://depot.galaxyproject.org/software/atlas/atlas_3.10.2_linux_x64.tar.gz
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
9 </action>
1
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
10 <action type="move_directory_files">
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
11 <source_directory>.</source_directory>
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
12 <destination_directory>$INSTALL_DIR</destination_directory>
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
13 </action>
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
14 <action type="set_environment">
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
15 <environment_variable action="set_to" name="ATLAS_LIB_DIR">$INSTALL_DIR/lib</environment_variable>
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
16 <environment_variable action="set_to" name="ATLAS_INCLUDE_DIR">$INSTALL_DIR/include</environment_variable>
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
17 <environment_variable action="set_to" name="ATLAS_BLAS_LIB_DIR">$INSTALL_DIR/lib/atlas</environment_variable>
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
18 <environment_variable action="set_to" name="ATLAS_LAPACK_LIB_DIR">$INSTALL_DIR/lib/atlas</environment_variable>
4
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
19 <environment_variable action="set_to" name="ATLAS">$INSTALL_DIR</environment_variable>
1
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
20 <environment_variable action="set_to" name="ATLAS_ROOT_PATH">$INSTALL_DIR</environment_variable>
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
21 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
3
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
22 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/atlas</environment_variable>
1
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
23 </action>
3
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
24 <action type="shell_command"><![CDATA[
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
25 command -v gfortran || return 0
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
26 BUNDLED_LGF_CANON=$INSTALL_DIR/lib/libgfortran.so.3.0.0 &&
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
27 BUNDLED_LGF_VERS=`objdump -p $BUNDLED_LGF_CANON | grep GFORTRAN_1 | sed -r 's/.*GFORTRAN_1\.([0-9])+/\1/' | sort -n | tail -1` &&
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
28 echo 'program test; end program test' > test.f90 &&
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
29 gfortran -o test test.f90 &&
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
30 LGF=`ldd test | grep libgfortran | awk '{print $3}'` &&
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
31 LGF_CANON=`readlink -f $LGF` &&
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
32 LGF_VERS=`objdump -p $LGF_CANON | grep GFORTRAN_1 | sed -r 's/.*GFORTRAN_1\.([0-9])+/\1/' | sort -n | tail -1` &&
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
33 if [ $LGF_VERS -gt $BUNDLED_LGF_VERS ]; then
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
34 cp -p $BUNDLED_LGF_CANON ${BUNDLED_LGF_CANON}.bundled &&
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
35 cp -p $LGF_CANON $BUNDLED_LGF_CANON
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
36 fi
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
37 ]]></action>
1
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
38 </actions>
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
39 <actions architecture="x86_64" os="darwin">
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
40 <!-- NOOP: On OS X we will use Apple's vecLib -->
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
41 </actions>
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
42 <actions>
4
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
43 <action type="download_file" sha256sum="3aab139b118bf3fcdb4956fbd71676158d713ab0d3bccb2ae1dc3769db22102f">
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
44 https://depot.galaxyproject.org/software/atlas/atlas_3.10.2+gx0_src_all.tar.bz2
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
45 </action>
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
46 <action type="download_file" sha256sum="9ad8f0d3f3fb5521db49f2dd716463b8fb2b6bc9dc386a9956b8c6144f726352">
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
47 https://depot.galaxyproject.org/software/lapack/lapack_3.5.0_src_all.tar.gz
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
48 </action>
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
49 <action type="download_file" sha256sum="adbe462b179a2d626cd229cddcb08e39ae2f2544eccf80ab617790b307667146">
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
50 https://depot.galaxyproject.org/software/atlas/atlas_patch-blas-lapack-1.0_src_all.diff
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
51 </action>
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
52 <action type="download_file" sha256sum="95862478f7d276f948a58c583acd2935ada9ad3bb55944a303d94e161e202d89">
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
53 https://depot.galaxyproject.org/software/atlas/atlas_patch-shared-lib-1.0_src_all.diff
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
54 </action>
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
55 <action type="download_file" sha256sum="f805600c46719f74752e9026e1461d084a385ba67838364a81c36cdfb69cad82">
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
56 https://depot.galaxyproject.org/software/atlas/atlas_patch-cpu-throttle-1.0_src_all.diff
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
57 </action>
f27d2f8761ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_atlas_3_10 commit 09872476567320942381c809c574e99d4b090bea-dirty
iuc
parents: 3
diff changeset
58 <action type="shell_command">tar -jxvf atlas_3.10.2+gx0_src_all.tar.bz2</action>
1
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
59 <!-- a 64-bit architecture is assumed for compilation -->
3
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
60 <action type="shell_command"><![CDATA[
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
61 cd ATLAS &&
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
62 mkdir ATLAS/build &&
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
63 patch -p1 </host/static_full_blas_lapack.diff &&
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
64 patch -p1 </host/shared_libraries.diff &&
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
65 patch -p1 </host/cpu-throttling-check.diff &&
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
66 cd build &&
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
67 ../configure --prefix="$INSTALL_DIR" -D c -DWALL -b 64 -Fa alg '-fPIC' --with-netlib-lapack-tarfile=../../lapack-3.5.0.tgz -v 2 -t 0 -Si cputhrchk 0 &&
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
68 make &&
1
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
69 make install
3
0538fd672119 Uploaded
iuc
parents: 2
diff changeset
70 ]]></action>
1
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
71 <action type="set_environment">
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
72 <environment_variable action="set_to" name="ATLAS_LIB_DIR">$INSTALL_DIR/lib</environment_variable>
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
73 <environment_variable action="set_to" name="ATLAS_INCLUDE_DIR">$INSTALL_DIR/include</environment_variable>
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
74 <environment_variable action="set_to" name="ATLAS_BLAS_LIB_DIR">$INSTALL_DIR/lib/atlas</environment_variable>
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
75 <environment_variable action="set_to" name="ATLAS_LAPACK_LIB_DIR">$INSTALL_DIR/lib/atlas</environment_variable>
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
76 <environment_variable action="set_to" name="ATLAS_ROOT_PATH">$INSTALL_DIR</environment_variable>
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
77 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
2
b36c9ee883e9 Uploaded
bgruening
parents: 1
diff changeset
78 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/atlas</environment_variable>
1
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
79 </action>
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
80 </actions>
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
81 </actions_group>
0
597c0e54eded initial upload
iuc
parents:
diff changeset
82 </install>
1
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
83 <readme>Compiling ATLAS requires a C and Fortran compiler (typically gcc and gfortran). The base ATLAS installation path can be is exported as ATLAS_ROOT_PATH, libraries as ATLAS_LIB_DIR, and headers as ATLAS_INCLUDE_DIR.
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
84 This ATLAS build includes patches from the Debian ATLAS packages which enable additional features:
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
85 1. Shared versions of the standard ATLAS libraries are built in addition to the static versions
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
86 2. Full BLAS and LAPACK libraries are built, which can be found in the ATLAS_BLAS_LIB_DIR and ATLAS_LAPACK_LIB_DIR directories
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
87 This package also includes a bundled libgfortran and export LD_LIBRARY_PATH=$ATLAS_LIB_DIR so that any dependent packages which link to ATLAS will be able to resolve all necessary libraries at runtime.
37ff27ea37ed Uploaded
iuc
parents: 0
diff changeset
88 On Mac OS X, this package is a dummy package - BLAS and LAPACK libraries are already provided in Apple's vecLib.
0
597c0e54eded initial upload
iuc
parents:
diff changeset
89 </readme>
597c0e54eded initial upload
iuc
parents:
diff changeset
90 </package>
597c0e54eded initial upload
iuc
parents:
diff changeset
91 </tool_dependency>