Skip to content

CMake: AMReX_INSTALL#1831

Merged
mic84 merged 1 commit intoAMReX-Codes:developmentfrom
ax3l:topic-amrexInstall
Mar 2, 2021
Merged

CMake: AMReX_INSTALL#1831
mic84 merged 1 commit intoAMReX-Codes:developmentfrom
ax3l:topic-amrexInstall

Conversation

@ax3l
Copy link
Copy Markdown
Member

@ax3l ax3l commented Mar 2, 2021

Summary

Add an AMReX_INSTALL option that controls install() generation.

Such options are typically used in superbuilds by dependent projects to supress the install of AMReX headers, helpers and libs, e.g. if AMReX is fully consumed as private dependency.

Additional background

I want to simplify the WarpX conda-forge install logic, and we currently vendor AMReX in a superbuild with CMake fetch content.

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • are described in the proposed changes to the AMReX documentation, if appropriate

Add an `AMReX_INSTALL` option that controls `install()` generation.

Such options are typically used in superbuilds by dependent projects
to supress the install of AMReX headers, helpers and libs, e.g. if
AMReX is fully consumed as private dependency.
@ax3l ax3l added the install label Mar 2, 2021
@ax3l ax3l requested review from mic84 and sayerhs March 2, 2021 06:27
@mic84 mic84 merged commit 28fd2ee into AMReX-Codes:development Mar 2, 2021
@ax3l ax3l deleted the topic-amrexInstall branch March 2, 2021 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants