Re: [R-SIG-Mac] Apple Clang does support OpenMP (if libomp is available)

2019-06-06 Thread Simon Urbanek
Jon, some time ago Apple's clang has silently dropped -fopenmp so we were able to at least keep it in the flags even if it wasn't actually using it. Still, it was only dropping it, it wasn't actually generating any parallel code, so there was real point in using it. That's when we decided to

Re: [R-SIG-Mac] Apple Clang does support OpenMP (if libomp is available)

2019-06-06 Thread Jon Clayden
Hi James, > > Lack of OpenMP support in Apple’s build of Clang is cited as one reason for > > not using it in CRAN builds > > From R 3.4.x forward, OpenMP has been enabled in CRAN builds as the toolchain > is using a custom compiler. I’m aware of that, but this makes building packages from

Re: [R-SIG-Mac] Apple Clang does support OpenMP (if libomp is available)

2019-06-06 Thread Balamuta, James Joseph
Greetings and Salutations Jon, > Lack of OpenMP support in Apple’s build of Clang is cited as one reason for > not using it in CRAN builds From R 3.4.x forward, OpenMP has been enabled in CRAN builds as the toolchain is using a custom compiler. You can see this with regard to the work done to

[R-SIG-Mac] Apple Clang does support OpenMP (if libomp is available)

2019-06-06 Thread Jon Clayden
Dear all, Lack of OpenMP support in Apple’s build of Clang is cited as one reason for not using it in CRAN builds, but this is only partly true: after installing libomp from Homebrew, I have been adding “-Wp,-fopenmp” to CXXFLAGS and CFLAGS (and “-lomp” to LIBS) to my builds for a while, and

Re: [R-SIG-Mac] Warning on XCode / Command Line Tools 11

2019-06-06 Thread Prof Brian Ripley
On 06/06/2019 09:31, peter dalgaard wrote: FWIW, no updates are suggested for the source-building machine in my office, also running Mojave. (June 5 was Constitution Day and Election Day, so I have been away from the machine until now.) It stopping nagging me yesterday afternoon, so likely

Re: [R-SIG-Mac] Warning on XCode / Command Line Tools 11

2019-06-06 Thread peter dalgaard
FWIW, no updates are suggested for the source-building machine in my office, also running Mojave. (June 5 was Constitution Day and Election Day, so I have been away from the machine until now.) We do need to keep an eye on the tools though. My current setup is an -um- eclectic mix (*) of old