wiki:bgp
Last modified 9 years ago Last modified on 10/22/10 13:38:57

General BG/P Porting notes

CMake projects

  • Get a version of CMake newer than July, 2010 (currently--10/22/2010--this means the development version).
  • Build it:
    ./bootstrap --prefix=path
    gmake 
    gmake install
    
  • Use the -DCMAKE_TOOLCHAIN_FILE option when crosscompiling CMake projects, e.g.:
    cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_PREFIX/share/cmake-2.8/Modules/Platform/BlueGeneP-static-XL-CXX.cmake
    
  • Here are all available toolchain files (as of 10/22/2010):
    BlueGeneL.cmake
    BlueGeneP-base.cmake
    BlueGeneP-dynamic-GNU-C.cmake
    BlueGeneP-dynamic-GNU-CXX.cmake
    BlueGeneP-dynamic-GNU-Fortran.cmake
    BlueGeneP-dynamic-XL-C.cmake
    BlueGeneP-dynamic-XL-CXX.cmake
    BlueGeneP-dynamic-XL-Fortran.cmake
    BlueGeneP-dynamic.cmake
    BlueGeneP-static-GNU-C.cmake
    BlueGeneP-static-GNU-CXX.cmake
    BlueGeneP-static-GNU-Fortran.cmake
    BlueGeneP-static-XL-C.cmake
    BlueGeneP-static-XL-CXX.cmake
    BlueGeneP-static-XL-Fortran.cmake
    BlueGeneP-static.cmake