diff --git a/cmake/toolchain/heptools-rootext.cmake b/cmake/toolchain/heptools-rootext.cmake index 8d0def4a4d5ca7fe12814c4e4b2cfb6055b49cd6..4ef15ca5f4020f7a6af19c103c567b54ccf06c9c 100644 --- a/cmake/toolchain/heptools-rootext.cmake +++ b/cmake/toolchain/heptools-rootext.cmake @@ -95,6 +95,7 @@ LCG_external_package(pyxml 0.8.4p1 LCG_external_package(QMtest 2.4.1 ) LCG_external_package(Qt 4.8.4 qt ) LCG_external_package(qwt 6.0.1 ) +LCG_external_package(R 3.2.0 ) if(${LCG_OS}${LCG_OSVERS} STREQUAL slc6) LCG_external_package(sas 0.1.3 ) diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 7bb4671ff5d2689ca5af99fbe0289b586f59d057..907140b3ce96d56b8470e629df9536179782f968 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -894,3 +894,12 @@ LCGPackage_Add( DEPENDS Python ) +#---R----------------------------------------------------------------------------------------------------- +LCGPackage_Add( + R + URL http://stat.ethz.ch/CRAN/src/base/R-3/R-${R_native_version}.tar.gz +CONFIGURE_COMMAND ./configure --prefix=<INSTALL_DIR> + CXX=${CMAKE_CXX_COMPILER} CC=${CMAKE_C_COMPILER} + BUILD_IN_SOURCE 1 +) +