On Mon, Aug 24, 2015 at 09:57:05AM -0700, Zhian Kamvar wrote: > The way several packages have implemented OpenMP is to wrap it in > pre-compiler statements i.e.: > > // Include openMP if the compiler supports it > #ifdef _OPENMP > #include <omp.h> > #endif > > This way, all compilers can build the code and those that have OpenMP > (even modified versions of clang: https://clang-omp.github.io/) can do > so in a parallel fashion.
Yes, of course, but you're missing the point of my enquiry. My question is whether it is possible for CRAN to build and distribute openmp enabled binaries. -- Joshua N. Pritikin Department of Psychology University of Virginia 485 McCormick Rd, Gilmer Hall Room 102 Charlottesville, VA 22904 http://people.virginia.edu/~jnp3bc ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel