[petsc-dev] How do I build a shared library for exodus?

Jed Brown jed at jedbrown.org
Wed Jan 22 11:41:17 CST 2014


Satish Balay <balay at mcs.anl.gov> writes:

> If upstream recommends cmake - perhaps we should stick to that? We
> already have a bunch of packages that require cmake.

I find it an annoyance, but working around upstream-tested build process
is not a good use of time.

> Perhaps upstream exodus tarball should support sharedlibrary/static
> library as a build option? elemental.py appears to have the followig
> code commented..
>
> if self.sharedLibraries.useShared:
>   args.append('-DSHARE_LIBRARIES=ON')          

This is a typo, should be -DSHARED_LIBRARIES=ON.

For exodus, it's the cmake-standard -DBUILD_SHARED_LIBS=ON.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140122/484a9558/attachment.sig>


More information about the petsc-dev mailing list