[petsc-dev] --with-shared-libraries=1 is a happy camper if it ends up using a static linker

Barry Smith bsmith at mcs.anl.gov
Fri Apr 22 11:24:45 CDT 2016


  Thanks!

> On Apr 22, 2016, at 12:27 AM, Satish Balay <balay at mcs.anl.gov> wrote:
> 
> Pushed https://bitbucket.org/petsc/petsc/commits/016c41562d0c66f2a2a067d47ae42d9f8caaa289
> 
> Satish
> 
> On Thu, 21 Apr 2016, Barry Smith wrote:
> 
>> 
>>   Hmm,  when someone explicitly sets --with-shared-libraries=1  I think they would be rather upset if configure ends up using ar and static libraries because it could not find options to build shared libraries.
>> 
>>    Yet that is what happens now!
>> 
>>   Could someone add support so that if a user specifically requests  --with-shared-libraries=1 configure barfs with a nice error message if it cannot find any? 
>> 
>>    I think it is a trivial code change but does require the snippet go in exactly the right place which I cannot determine 
>> 
>>   Thanks
>> 
>>    Barry
>> 
>> 
> 




More information about the petsc-dev mailing list