Changes between Version 13 and Version 14 of pm-switch


Ignore:
Timestamp:
Dec 20, 2010 9:41:05 AM (9 years ago)
Author:
stefan
Comment:

update docu on externals

Legend:

Unmodified
Added
Removed
Modified
  • pm-switch

    v13 v14  
    3333== Externals ==
    3434
    35 At the moment, one must use only "trunk" versions for externals, since only the trunk version are using the new build tools. Here is the current set of externals for !CoinAll:
     35Another change with the new setup is that it is now highly recommended to use release versions in your externals. To make this easy, there is a script called {{{set_externals}}} that is part of the build tools that will automatically set your externals. To use it, you maintain a "dependencies" file (usually called {{{Root/Dependencies}}}) as opposed to an "externals" file. The dependencies files will usually contain the stable versions on which a project depends in the same format as the current {{{Externals}}} file. When you run the command {{{set_externals Dependencies}}}, the dependencies files will be parsed and externals set to latest release versions automatically. Note that if your dependencies files contains trunk or specific release versions, these will be used instead, overriding the mechanism for using the latest release version. For example:
    3636
    3737{{{
    3838BuildTools        https://projects.coin-or.org/svn/BuildTools/stable/0.6
    39 ThirdParty/ASL    https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/trunk
    40 ThirdParty/Blas   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/trunk
    41 ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/trunk
    42 ThirdParty/Glpk   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Glpk/trunk
    43 ThirdParty/FilterSQP https://projects.coin-or.org/svn/BuildTools/ThirdParty/FilterSQP/trunk
    44 ThirdParty/HSL    https://projects.coin-or.org/svn/BuildTools/ThirdParty/HSL/trunk
    45 ThirdParty/Mumps  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Mumps/trunk
    46 ThirdParty/Metis  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Metis/trunk
    47 Data/Sample       https://projects.coin-or.org/svn/Data/trunk/Sample
    48 CoinUtils         https://projects.coin-or.org/svn/CoinUtils/trunk/CoinUtils
    49 Osi               https://projects.coin-or.org/svn/Osi/trunk/Osi
    50 Clp               https://projects.coin-or.org/svn/Clp/trunk/Clp
    51 DyLP              https://projects.coin-or.org/svn/DyLP/trunk/DyLP
    52 Vol               https://projects.coin-or.org/svn/Vol/trunk/Vol
    53 Cgl               https://projects.coin-or.org/svn/Cgl/trunk/Cgl
    54 SYMPHONY          https://projects.coin-or.org/svn/SYMPHONY/trunk/SYMPHONY
    55 Cbc               https://projects.coin-or.org/svn/Cbc/trunk/Cbc
    56 Ipopt             https://projects.coin-or.org/svn/Ipopt/trunk/Ipopt
    57 Alps              https://projects.coin-or.org/svn/CHiPPS/Alps/trunk/Alps
    58 Dip               https://projects.coin-or.org/svn/Dip/trunk/Dip
    59 }}}
    60 
    61 Another change with the new setup is that it is now highly recommended to use release versions in your externals (once they are there). To make this easy, there is a script called {{{set_externals}}} that is part of the build tools that will automatically set your externals. To use it, you maintain a "dependencies" file (usually called {{{Root/Dependencies}}}) as opposed to an "externals" file. The dependencies files will usually contain the stable versions on which a project depends in the same format as the current {{{Externals}}} file. When you run the command {{{set_externals Dependencies}}}, the dependencies files will be parsed and externals set to latest release versions automatically. Note that if your dependencies files contains trunk or specific release versions, these will be used instead, overriding the mechanism for using the latest release version. For example, here is the current Dependencies file for the trunk of Blis, which depends on the trunks of Alps and BiCePS.
    62 
    63 {{{
    64 BuildTools    https://projects.coin-or.org/svn/BuildTools/stable/0.5
    65 ThirdParty/Blas https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/stable/1.0
    66 ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/stable/1.0
    67 CoinUtils     https://projects.coin-or.org/svn/CoinUtils/stable/2.6/CoinUtils
    68 Clp           https://projects.coin-or.org/svn/Clp/stable/1.11/Clp
    69 Osi           https://projects.coin-or.org/svn/Osi/stable/0.102/Osi
    70 Cgl           https://projects.coin-or.org/svn/Cgl/stable/0.55/Cgl
    71 Alps          https://projects.coin-or.org/svn/CHiPPS/Alps/trunk/Alps
    72 Bcps          https://projects.coin-or.org/svn/CHiPPS/Bcps/trunk/Bcps
    73 Data/Sample   https://projects.coin-or.org/svn/Data/stable/1.0/Sample
     39Data/Sample       https://projects.coin-or.org/svn/Data/Sample/stable/1.1/
     40ThirdParty/ASL    https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/stable/1.1
     41ThirdParty/Blas   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/stable/1.1
     42ThirdParty/Glpk   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Glpk/stable/1.7
     43ThirdParty/HSL    https://projects.coin-or.org/svn/BuildTools/ThirdParty/HSL/stable/1.2
     44ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/stable/1.2
     45ThirdParty/Mumps  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Mumps/stable/1.3
     46CoinUtils         https://projects.coin-or.org/svn/CoinUtils/stable/2.7/CoinUtils
     47Cbc               https://projects.coin-or.org/svn/Cbc/stable/2.6/Cbc
     48Cgl               https://projects.coin-or.org/svn/Cgl/stable/0.56/Cgl
     49Clp               https://projects.coin-or.org/svn/Clp/stable/1.13/Clp
     50Osi               https://projects.coin-or.org/svn/Osi/stable/0.104/Osi
     51Vol               https://projects.coin-or.org/svn/Vol/stable/1.2/Vol
     52SYMPHONY          https://projects.coin-or.org/svn/SYMPHONY/stable/5.3/SYMPHONY
     53DyLP              https://projects.coin-or.org/svn/DyLP/stable/1.7/DyLP
     54Ipopt             https://projects.coin-or.org/svn/Ipopt/stable/3.9/Ipopt
     55Bonmin            https://projects.coin-or.org/svn/Bonmin/trunk/Bonmin
     56cppad             https://projects.coin-or.org/svn/CppAD/stable/20090303
    7457}}}
    7558