[petsc-dev] Running dsymutil in GNU make build
Jed Brown
jedbrown at mcs.anl.gov
Mon Nov 4 07:44:41 CST 2013
Lisandro Dalcin <dalcinl at gmail.com> writes:
> Do you like moving the execution of dsymutil from
> $PETSC_DIR/conf/rules to $PETSC_DIR/gmakefile shared lib targets? The
> rationale is to not run dsymutil with the shared libs are up to date.
>
> diff --git a/conf/rules b/conf/rules
> index 1ac6fe0..6bf2421 100644
> --- a/conf/rules
> +++ b/conf/rules
> @@ -105,9 +105,6 @@ gnumake: chk_makej
> @echo "Building PETSc using GNU Make with ${MAKE_NP} build threads"
> @echo "=========================================="
> @cd ${PETSC_DIR} && ${OMAKE_PRINTDIR} -f gmakefile -j ${MAKE_NP} V=${V}
> - @if [ "${BUILDSHAREDLIB}" = "yes" -a "${DSYMUTIL}" != "true" ]; then \
> - echo "Running ${DSYMUTIL} on ${SHLIBS}";\
> - for LIBNAME in ${SHLIBS}; do ${DSYMUTIL}
> ${INSTALL_LIB_DIR}/$$LIBNAME.${SL_LINKER_SUFFIX}; done; fi
Looks like you pasted into gmail, ruining the formatting. I like
running it per library rather than as a separate step.
-------------- 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/20131104/f655bcfc/attachment.sig>
More information about the petsc-dev
mailing list