[petsc-dev] DESTDIR
Satish Balay
balay at mcs.anl.gov
Fri Apr 23 11:27:45 CDT 2010
On Fri, 23 Apr 2010, Sean Farley wrote:
> >
> > Essentially, yes. The advantage of actually using pkgconfig is that
> > autoconf, cmake, and others already have support for it.
>
>
> True.
>
> Actually, I'm almost done (once DESTDIR gets supported) with implementing a
> Portfile for PETSc in MacPorts (which has the ability to have multiple
> versions of packages installed), if anyone uses a mac and is interested in
> that.
One Issue [which might be mac specific] with DESTDIR is: 'make
install' does 'make shared' at the dest dir.
I'm assuming - one of the reasons for this is: .dylib on Macs hardcode
some location info. If so - DESTDIR won't work on Mac [with
sharedlibs?]. If not - there is no need to do 'make shared' during
'make install'? [Barry?]
Also --download-petsc4py does the petsc4py build during 'make install'
- we just have to make sure this continues to work with DESTDIR..
Satish
More information about the petsc-dev
mailing list