From 4b6d6449b0fef911e7d62e5eaef6a9a5793b5e8b Mon Sep 17 00:00:00 2001 From: Tim Whisonant Date: Thu, 12 Jan 2023 17:41:35 +0000 Subject: [PATCH 1/2] install guide: add instrs for modern cmake Add instructions for building the latest version of cmake from source. This is required for older distros, eg RHEL8, where the version of cmake in the package manager is < 3.14. Signed-off-by: Tim Whisonant --- doc/src/install_guide/installation_guide.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/src/install_guide/installation_guide.md b/doc/src/install_guide/installation_guide.md index 7a20e5865e52..22d8ec98870e 100644 --- a/doc/src/install_guide/installation_guide.md +++ b/doc/src/install_guide/installation_guide.md @@ -126,6 +126,17 @@ Set the RHEL version and install packages. Set proxy name and port number # python3 -m pip install --user jsonschema virtualenv pudb pyyaml ``` +Install the latest version of cmake on top of the outdated cmake package from the package manager + +```console +# cd cmake-3.25.1/ +# ./bootstrap --prefix=/usr +# make +# make install +# which cmake +/usr/bin/cmake +``` + ### Create opae-sdk packages ### Download the OPAE-SDK source code from github. For example, download from Master branch. From 2df701981bf221c27360e56f8255e6f9bb9a9e1f Mon Sep 17 00:00:00 2001 From: Tim Whisonant Date: Thu, 12 Jan 2023 23:20:27 +0000 Subject: [PATCH 2/2] Add Kitware link. --- doc/src/install_guide/installation_guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/install_guide/installation_guide.md b/doc/src/install_guide/installation_guide.md index 22d8ec98870e..8b01c9213369 100644 --- a/doc/src/install_guide/installation_guide.md +++ b/doc/src/install_guide/installation_guide.md @@ -112,7 +112,7 @@ Register and enable Red Hat subscription to install any packages on the system. # subscription-manager register --proxy=PROXY --username=USER --password=PASSWORD --auto-attach ``` -Set the RHEL version and install packages. Set proxy name and port number +Set the RHEL version and install packages. Set proxy name and port number. ```console # subscription-manager release --set=8.2 --proxy proxy-name.com:port number @@ -126,7 +126,7 @@ Set the RHEL version and install packages. Set proxy name and port number # python3 -m pip install --user jsonschema virtualenv pudb pyyaml ``` -Install the latest version of cmake on top of the outdated cmake package from the package manager +Install the latest version of [cmake](https://github.com/Kitware) on top of the outdated cmake package from the package manager. ```console # cd cmake-3.25.1/