If you want to distributed such binaries, I would suggest using the 'drat' package to set up your own repo. I'm using it for beta versions of my packages and I find it very useful and easy to use. The latest version of 'drat' also supports binaries.
Or, vote with your feet and switch to Linux ;-). /M Op ma 24 aug. 2015 om 23:44 schreef Michael Neale <mcne...@mac.com>: > Yes, well, we have support for our own parallel build of an OS X version > of R package using OpenMP and gcc, but I don’t suppose that CRAN > maintainers would be interested in also supporting OS X in this fashion. > Supplying binaries seems the only option unless clang developers decide to > support OpenMP, which seems unlikely since Apple wants to promote its own > parallel computing tools. > > Michael Neale > mcne...@mac.com > > > > On Aug 24, 2015, at 3:38 PM, Mark van der Loo <mark.vander...@gmail.com> > wrote: > > > At least on linux, CRAN builds using openMP. I got a valgrind report once > [shame on me btw] showing that 9 (out of 10) threads were running examples. > > > So my best guess is that it will do the same for Windows since it also has > openMP support according to WRE[1]. I wouldn't know why not, except for > the reasons Dirk already mentioned. It will not do this for OS X since WRE > states clearly that > > OS X nowadays uses clang, and the Apple builds currently have no OpenMP > support. > > so if nobody has openMP support on OS X, for sure CRAN doesn't have it. > /M > > [1]https://cran.r-project.org/doc/manuals/R-exts.html#OpenMP-support > > > > Op ma 24 aug. 2015 om 19:04 schreef Joshua N Pritikin <jpriti...@pobox.com > >: > >> 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 >> > > [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel