[petsc-dev] defaulting gnu compilers on Apple

Barry Smith bsmith at mcs.anl.gov
Wed Oct 30 16:26:32 CDT 2013


On Oct 30, 2013, at 4:19 PM, Satish Balay <balay at mcs.anl.gov> wrote:

> unless everyone is using xcode5 - I think gcc/g++ is a safer default.

   Then you need a check in the logic because gcc/g++ is not a good default with Xcode >= 5. 

   You could try clang first and get that it is Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)  or better.

   Barry


    
> 
> Satish
> 
> On Wed, 30 Oct 2013, Barry Smith wrote:
> 
>> 
>>   Satish,
>> 
>>     I think ./configure still defaults to using gcc/g++ on Apple if just run. Can you please change this in petsc-dev to default to the clang compilers clang and clang++
>> 
>>   Thanks
>> 
>>   Barry
>> 
>> 
> 




More information about the petsc-dev mailing list