https://github.com/cran/tgp
Raw File
Tip revision: dc1ea80208b635d5d33ca670cb8a150315647a21 authored by Robert B. Gramacy on 08 April 2011, 13:50:15 UTC
version 2.4-2
Tip revision: dc1ea80
Makevars
# un-comment the -DPARALLEL in order to get the pthreads parallel 
# implementation (you may also have to appropriate pthreads flags 
# to PKG_LIBS for your operating system)

# comment out the (3) lines below in order to enable ATLAS (step 1)
PKG_CFLAGS = -DRPRINT
PKG_CXXFLAGS = -DRPRINT #-DPARALLEL
PKG_LIBS = ${LAPACK_LIBS} ${BLAS_LIBS} ${FLIBS} #-pthread
LDFLAGS = -L/usr/lib -L/usr/lib/R/lib -L/usr/local/lib

# Uncomment and modify the (3) lines below to enable ATLAS (steps 1 & 2)
#PKG_CXXFLAGS = -DRPRINT #-DPARALLEL
#PKG_CFLAGS = -DRPRINT -I/cse/grads/rbgramacy/atlas/OSX_PPCG5AltiVec_2/include
#PKG_LIBS = -L/cse/grads/rbgramacy/atlas/OSX_PPCG5AltiVec_2/lib -llapack -lcblas -latlas
back to top