= Différents liens et documents étudiés * [https://svnweb.cern.ch/trac/gaudi/browser/Gaudi/branches/GAUDI/GAUDI_cmake la branche de gaudi pour le support de CMake] * [https://svnweb.cern.ch/trac/gaudi/browser/Gaudi/branches/GAUDI/GAUDI_cmake/cmake cmake en détails] * [https://svnweb.cern.ch/trac/gaudi/browser/Gaudi/branches/GAUDI/GAUDI_cmake/cmake/genCMake.py genCMake.py] * [https://bitbucket.org/binet/waffle/src l'équivalent avec waf] * [https://bitbucket.org/binet/waffle/src/tip/wafflelib/gen-wscript.py gen-wscript.py] * [https://bitbucket.org/binet/waffle/src/tip/wafflelib/waffle.py#cl-472 waf-shell (qui permet de recuperer le bon environnement] * [https://twiki.cern.ch/twiki/bin/viewauth/Atlas/AtlasCMTReview2010 le wiki de la cmt revue 2010] = Outils de build et articles généraux * [http://lwn.net/Articles/188693/ article] * [http://www.scons.org/wiki/SconsVsOtherBuildTools SconsVsOtherBuildTools] * [http://freshmeat.net/articles/make-alternatives make-alternatives] * [http://psycle.svn.sourceforge.net/viewvc/psycle/branches/bohan/wonderbuild/benchmarks/gen-bench benchmark] * [http://psycle.svn.sourceforge.net/viewvc/psycle/branches/bohan/wonderbuild/benchmarks/time.xml résultats de benchmark] * [http://code.google.com/p/waf/wiki/WafAndOtherBuildSystems WafAndOtherBuildSystems] * [http://code.google.com/p/waf/ waf] = Docs pour CMake * [http://florian-goujeon.developpez.com/cours/cmake/initiation/ initiation à CMake] * [http://www.siteduzero.com/tutoriel-3-256838-introduction-aux-systemes-de-construction-logicielle-avec-cmake.html introduction à CMake] = Génération d'un ensemble de packages pour le benchmark {{{ rm -rf /tmp/build mkdir /tmp/build # 50 100 15 5 # 5 5 5 5 libs=50 classes=100 internal=15 external=5 bench.py /tmp/build ${libs} ${classes} ${internal} ${external} n=`expr ${libs} - 1` cd /tmp/build/lib${n}/cmt/ ec cmt broadcast cmt make }}} == résultat du bench {{{ cmt broadcast gmake cmt broadcast gmake -j # 228.016u 129.847s 3:36.46 165.3% 0+0k 0+0io 0pf+0w }}} avec tbroadcast: {{{ python2.6 /afs/cern.ch/sw/contrib/CMT/tbroadcast/v2.0.9/scripts/tbroadcast "cmt make -j" ./build.csh >& build.log 59.91s user 96.96s system 32% cpu 8:07.09 total 209.107u 120.217s 2:57.63 185.3% 0+0k 0+0io 0pf+0w }}}