[petsc-dev] remnants of pkg-config in BuildSystem?

Barry Smith bsmith at mcs.anl.gov
Wed Nov 7 17:25:48 CST 2012


   Ok, pkg-config seems really really limited anyways, it basically lists the libraries and include paths so would be useful if packages provided it but there is no place for information about compilers/mpi/blas/etc used to build the libraries so is just not very informative for us. 

   Barry

On Nov 7, 2012, at 4:46 PM, Matthew Knepley <knepley at gmail.com> wrote:

> On Wed, Nov 7, 2012 at 5:24 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>> 
>>   In BuildSystem I find
>> 
>>   if hasattr(self, 'usePkgConfig') and 'with-'+self.package+'-pkg-config' in self.framework.argDB:
>>      self.framework.argDB['with-'+self.package] = 1
>>      self.usePkgConfig()
>> 
>> and
>> 
>>    if hasattr(self, 'usePkgConfig'):
>>      help.addArgument(self.PACKAGE, '-with-'+self.package+'-pkg-config=<dir>', nargs.ArgDir(None, None, 'Indicate the root directory of the '+self.name+' installation'))
>> 
>> not signs of any implemented usePkgConfig()
>> 
>>   Am I missing something or are these just plans that never came to fruition?
> 
> I think I implemented more on my machine for FEniCS SCons but decided
> it was not the right thing. So yes, you are right.
> 
>   Matt
> 
>>   Thanks
>> 
>>    Barry
>> 
> 
> 
> 
> --
> What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which
> their experiments lead.
> -- Norbert Wiener




More information about the petsc-dev mailing list