name = 'R' version = '3.1.1' versionsuffix = '-default-mt' homepage = 'http://www.r-project.org/' description = """R is a free software environment for statistical local_computing and graphics.""" toolchain = {'name': 'ictce', 'version': '6.2.5'} # turn on -fpmodel=precise and -O3 # 'openmp' is enabled in R by default toolchainopts = {'precise': True, 'opt': True} sources = [SOURCE_TAR_GZ] source_urls = ['http://cran.us.r-project.org/src/base/R-%(version_major)s'] # use multi-thread BLAS/LAPACK preconfigopts = 'BLAS_LIBS="$LIBBLAS_MT" LAPACK_LIBS="$LIBLAPACK_MT"' configopts = "--with-lapack --with-blas --with-pic --enable-threads --with-x=no --enable-R-shlib" dependencies = [ ('libreadline', '6.3'), ('ncurses', '5.9'), ('libpng', '1.6.12'), # for plotting in R ('libjpeg-turbo', '1.3.1'), # for plotting in R # Java bindings are built if Java is found, might as well provide it ('Java', '1.7.0_60', '', True), ] sanity_check_paths = { 'files': [ 'bin/%s' % x for x in [ 'R', 'Rscript']] + [ 'lib64/R/include/%s' % x for x in [ 'Rconfig.h', 'Rdefines.h', 'Rembedded.h', 'R.h', 'Rinterface.h', 'Rinternals.h', 'Rmath.h', 'Rversion.h', 'S.h']] + [ 'lib64/R/modules/%s' % x for x in [ 'internet.%s' % SHLIB_EXT, 'lapack.%s' % SHLIB_EXT, 'vfonts.%s' % SHLIB_EXT]] + [ 'lib64/R/lib/libR.%s' % SHLIB_EXT], 'dirs': []} exts_list = [ # default libraries, only here to sanity check their presence 'base', 'boot', 'class', 'cluster', 'codetools', 'local_compiler', 'datasets', 'foreign', 'graphics', 'grDevices', 'grid', 'KernSmooth', 'lattice', 'MASS', 'Matrix', 'methods', 'mgcv', 'nlme', 'nnet', 'parallel', 'rpart', 'spatial', 'splines', 'stats', 'stats4', 'survival', 'tcltk', 'tools', 'translations', 'utils', ] moduleclass = 'lang'