From 7d372dc5f68494e3f9c18b2e45559f1306f77128 Mon Sep 17 00:00:00 2001 From: Mark Meredith <mark.meredith@netl.doe.gov> Date: Thu, 20 Jun 2019 09:45:01 -0400 Subject: [PATCH] Clarify removal of AMREX_GIT_COMMIT_DEVELOP and AMREX_GIT_COMMIT_MASTER --- docs/source/BuildingCMake.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/source/BuildingCMake.rst b/docs/source/BuildingCMake.rst index 8c86ff3..9cf1873 100644 --- a/docs/source/BuildingCMake.rst +++ b/docs/source/BuildingCMake.rst @@ -167,17 +167,21 @@ AMReX development is outside the scope of this document. Run ``git status`` in the top-level MFix-Exa repo to see whether the AMReX submodule has new commits, modified files, or untracked files. -To update the AMReX submodule reference by MFiX-Exa: +The CMake variables ``AMREX_GIT_COMMIT_DEVELOP`` and +``AMREX_GIT_COMMIT_DEVELOP`` have been removed. Instead, to update the AMReX +submodule referenced by MFiX-Exa: .. code:: shell + > git -C subprojects/amrex checkout UPDATED_AMREX_COMMIT_SHA1 > git add subprojects/amrex > git commit -m 'Updating AMReX version' This will only update the AMReX SHA-1 referenced by MFiX-Exa. Uncommitted AMReX changes and untracked AMReX files under ``subprojects/amrex`` are not added by -``git add subprojects/amrex``. Change directories to ``subprojects/amrex`` and -commit any AMReX changes first before ``git add subprojects/amrex``. +``git add subprojects/amrex``. (To commit to the AMReX repo, change directories +to ``subprojects/amrex`` and run Git commands there, before ``git add +subprojects/amrex``.) .. note:: -- GitLab