[petsc-dev] Fwd: [ideas-xsdk] common configure/cmake arguments for XSDK packages ready for testing
Jed Brown
jed at jedbrown.org
Wed Dec 24 15:48:52 CST 2014
Barry Smith <bsmith at mcs.anl.gov> writes:
>> On Dec 24, 2014, at 12:26 PM, Jed Brown <jed at jedbrown.org> wrote:
>>
>> In this case, it might be more reliable to compare "cc --version".
>
> Presumably this is trivial with the gnumake stuff?
It's easy to run it and compare before proceeding with the build.
> And the mythical petsc-config could do any number of sanity checks each time it is run.
It might be desirable to have a
petsc-config verify CC=cc CFLAGS='-m32 -mcmodel=large' CXXFLAGS=-std=c++11 ...
that would check whether the given compiler configuration is
binary-compatible with the way PETSc was built. It should be reasonably
fast, but could actually run the compiler.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20141224/4eea683f/attachment.sig>
More information about the petsc-dev
mailing list