You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
3.7 KiB

13 years ago
13 years ago
  1. CMake >= 2.8.11
  2. CMake is required as it is used to generate the Makefiles or Projects/Solutions required to build StoRM.
  3. Compiler:
  4. A C++11 compliant compiler is required to build StoRM. It is tested and known to work with the following compilers:
  5. - GCC 4.9.1
  6. - Clang 3.5.0
  7. - Microsoft Visual Studio 2013
  8. Other versions or compilers might work, but are not tested.
  9. The following Compilers are known NOT to work: Microsoft Visual Studio versions older than 2013, GCC versions 4.7 and older.
  10. Prerequisites:
  11. Boost >= 1.56
  12. Build using the Boost Build system, for x64 use "bjam address-model=64" or "bjam.exe address-model=64 --build-type=complete"
  13. You may use --toolset to specify the compiler, for ex. msvc-10.0, intel11.1, etc
  14. Doxygen
  15. Set DOXYGEN_EXECUTABLE to your doxygen executable, e.g. "C:/Program Files/doxygen/bin/doxygen.exe"
  16. GTest >= 1.7.0
  17. GTest is included in the StoRM Sources under /resources/3rdparty/gtest-1.7.0 and builds automatically alongside StoRM
  18. CUDD >= 2.5.0
  19. CUDD is included in the StoRM Sources under /resources/3rdparty/cudd-2.5.0 and builds automatically alongside StoRM.
  20. Its Sourced where heavily modified as to incorporate newer Versions of Boost, changes in C++ (TR1 to C++11) and
  21. to remove components only available under UNIX.
  22. Log4CPlus >= 1.1.2
  23. Log4CPlus is included in the StoRM Sources under /resources/3rdparty/log4cplus-1.1.3-rc1 and builds automatically alongside StoRM.
  24. Its Sourced where slightly modified as to incorporate Unicode handling under Win32, Clang compatability and shared/static build options.
  25. Eigen >= 3.2.1
  26. Eigen is included in the StoRM Sources under /resources/3rdparty/eigen and builds automatically alongside StoRM.
  27. GMM >= 4.2
  28. GMM is included in the StoRM Sources under /resources/3rdparty/gmm-4.2 and builds automatically alongside StoRM.
  29. LTL2DStar >= 0.5.1
  30. LTL2DStar is included in the StoRM Sources under /resources/3rdparty/ltl2dstar-0.5.1 and builds automatically alongside StoRM.
  31. Its Sourced where heavily modified as to incorporate changes in C++ (TR1 to C++11) and
  32. to remove components only available under UNIX.
  33. Optional:
  34. Gurobi >= 5.6.2
  35. Specify the path to the gurobi root dir using -DGUROBI_ROOT=/your/path/to/gurobi
  36. Z3 >= 4.3.2
  37. Specify the path to the z3 root dir using -DZ3_ROOT=/your/path/to/z3
  38. MathSAT >= 5.2.11
  39. Specify the path to the mathsat root dir using -DMSAT_ROOT=/your/path/to/mathsat
  40. MPIR >= 2.7.0
  41. MSVC only and only if linked with MathSAT
  42. Specify the path to the gmp-include directory -DGMP_INCLUDE_DIR=/your/path/to/mathsat
  43. Specify the path to the mpir.lib directory -DGMP_MPIR_LIBRARY=/your/path/to/mpir.lib
  44. Specify the path to the mpirxx.lib directory -DGMP_MPIRXX_LIBRARY=/your/path/to/mpirxx.lib
  45. GMP
  46. clang and gcc only and inly if linked with MathSAT
  47. CUDA Toolkit >= 6.5
  48. Specify the path to the cuda toolkit root dir using -DCUDA_ROOT=/your/path/to/cuda
  49. CUSP >= 0.4.0
  50. Only of built with CUDA Toolkit
  51. CUSP is included in the StoRM Sources as a git-submodule unter /resources/3rdparty/cusplibrary
  52. It is recommended to make an out-of-source build, meaning that the folder in which CMake generates its Cache, Makefiles and output files should not be the Project Root nor its Source Directory.
  53. A typical build layout is to create a folder "build" in the project root alongside the CMakeLists.txt file, change into this folder and execute "cmake .." as this will leave all source files untouched
  54. and makes cleaning up the build tree very easy.
  55. There are several options available for the CMake Script as to control behaviour and included components.
  56. If no error occured during the last CMake Configure round, press Generate.
  57. Now you can build StoRM using the generated project/makefiles in the Build folder you selected.