[Rcpp-devel] RcppParallel on Solaris

Romain François romain at r-enthusiasts.com
Mon Apr 13 14:08:34 CEST 2015


> Le 13 avr. 2015 à 14:03, JJ Allaire <jj.allaire at gmail.com> a écrit :
> 
> That's excellent!!!! I just updated the branch to reflect this change
> and also successfully ran the tests on the Solaris config that you
> provided me access to.
> 
> I'll have to take a closer look at the warnings. One other issue that
> needs to be resolved prior to the next submission to CRAN revolves
> around pedantic warnings on Debian testing that prohibit "long long"
> (used by both TinyThread and TBB). The easy workaround is
> SystemRequirements: C++11 however this will mean that package won't
> compile on pre-Mavericks Macs (~30% of all Macs) nor RedHat/CentOS
> systems. Perhaps I can modify TinyThread and TBB to no longer use
> "long long" but I'll need to do this very carefully.

FWIW tbb with C++11, in particular lambdas is awesome


> On Sun, Apr 12, 2015 at 10:30 PM, Gábor Csárdi <csardi.gabor at gmail.com> wrote:
>> Hi JJ & all,
>> 
>> I had some time, had an idea, and made it to work. The problem was that TBB
>> was not compiled with the same flags as R and the rest of the R package, so
>> just had to find what is the difference that is incompatible.
>> 
>> It is simple, you need to compile TBB with -library=stlport4
>> So if you change line 34 in SunOS.suncc.inc  to
>> 
>> CPLUS = CC -library=stlport4
>> 
>> then it compiles and installs fine. What's even better, the tests run fine,
>> too. They spit out a lot of compiler warnings, but they all pass.
>> 
>> Best,
>> Gabor
>> 
>> On Wed, Apr 8, 2015 at 11:38 AM, Gábor Csárdi <csardi.gabor at gmail.com>
>> wrote:
>>> 
>>> Ok, the server seems to work. JJ, I'll send you a private email. If anyone
>>> wants access, please email me in private.
>>> 
>>> Remember that this is just a mac mini, so it might not be super fast. It
>>> seems fast enough for a single user, though.
>>> 
>>> Gabor
>>> 
>>> On Tue, Apr 7, 2015 at 7:17 PM, Gábor Csárdi <csardi.gabor at gmail.com>
>>> wrote:
>>>> 
>>>> On Tue, Apr 7, 2015 at 6:50 PM, Jeroen Ooms <jeroenooms at gmail.com> wrote:
>>>> [...]
>>>>> 
>>>>> So that's why I thought they probably use GCC for packages that don't
>>>>> work with Solaris Studio.
>>>> 
>>>> 
>>>> I see. That would indeed make sense. G.
>>>> 
>>> 
>> 
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel



More information about the Rcpp-devel mailing list