Mercurial > repos > iuc > package_lapack_3_4
comparison tool_dependencies.xml @ 1:73854db866e7 draft
Uploaded
| author | bgruening |
|---|---|
| date | Tue, 15 Oct 2013 12:37:19 -0400 |
| parents | 60957bd68fe2 |
| children | c62da294b82e |
comparison
equal
deleted
inserted
replaced
| 0:60957bd68fe2 | 1:73854db866e7 |
|---|---|
| 3 <install version="1.0"> | 3 <install version="1.0"> |
| 4 <actions> | 4 <actions> |
| 5 <!-- first action is always downloading --> | 5 <!-- first action is always downloading --> |
| 6 <action type="download_by_url">http://www.netlib.org/lapack/lapack-3.4.2.tgz</action> | 6 <action type="download_by_url">http://www.netlib.org/lapack/lapack-3.4.2.tgz</action> |
| 7 | 7 |
| 8 <action type="shell_command">sed 's/^OPTS\s.*/OPTS = -O2 -fPIC/g' INSTALL/make.inc.gfortran | sed 's/^NOOPT\s.*/OPTS = -O2 -fPIC/g' > make.inc</action> | |
| 9 <action type="shell_command">mkdir build</action> | 8 <action type="shell_command">mkdir build</action> |
| 10 <action type="shell_command">cd build && cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/lapack</action> | 9 <action type="shell_command"> |
| 10 cd build && | |
| 11 cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/lapack -DCMAKE_Fortran_FLAGS='-O2 -fPIC' | |
| 12 </action> | |
| 11 <action type="shell_command">cd build && make</action> | 13 <action type="shell_command">cd build && make</action> |
| 12 <action type="shell_command">cd build && make install</action> | 14 <action type="shell_command">cd build && make install</action> |
| 13 | 15 |
| 14 <action type="set_environment"> | 16 <action type="set_environment"> |
| 15 <environment_variable name="LAPACK_LIB_DIR" action="set_to">$INSTALL_DIR/lapack/lib</environment_variable> | 17 <environment_variable name="LAPACK_LIB_DIR" action="set_to">$INSTALL_DIR/lapack/lib</environment_variable> |
