Skip to content

Changes

Started 6 mo 1 day ago
Took 45 min on macOS-Intel

Summary

  1. m4/issm_options.m4: new ISSM_ENABLE_AD macro (–enable-ad support) (commit: 76d01cc) (details)
Commit 76d01cc48be97dcda3f77f4c6d030fb7cadfe38c by justinkinjun.hew
m4/issm_options.m4: new ISSM_ENABLE_AD macro (–enable-ad support)

* Adds ISSM_ENABLE_AD to handle --enable-ad plus --with-{codi,medi}pack-dir.
* Macro embeds CoDiPack/MediPack include-dirs, lib-dirs and -lcodi/-lmedi
  into AM_CPPFLAGS, AM_LDFLAGS, LIBS so no Makefile.am edits are needed.
* Automatically drops PETSc when AD is on, defines ISSM_USE_AD, and exposes
  AM_CONDITIONAL(USE_AD).
* configure.ac now simply calls ISSM_ENABLE_AD after ISSM_OPTIONS.

Moves all AD logic out of configure.ac and keeps option handling in the
shared macro library.

added enable AD into configure.ac
(commit: 76d01cc)
The file was modifiedconfigure.ac (diff)
The file was modifiedm4/issm_options.m4 (diff)