README.md: add how to checkout to specific branch or version

Change-Id: Ie727c266d576e601f4901e2f84b98c07ff49aa24
This commit is contained in:
Masamichi Takagi
2020-06-11 18:43:34 -04:00
parent f34373d1c0
commit 232bc9c44b

View File

@ -101,9 +101,19 @@ Clone the source code:
~~~~
mkdir -p ~/src/ihk+mckernel/
cd ~/src/ihk+mckernel/
git clone --recursive https://github.com/RIKEN-SysSoft/mckernel.git
git clone --recursive -b development https://github.com/RIKEN-SysSoft/mckernel.git
~~~~
(Optional) Checkout to the specific branch or version:
~~~~
cd mckernel
git checkout <pathspec>
git submodule update
~~~~
Foe example, if you want to try the development branch, use "development" as the pathspec. If you want to try the prerelease version 1.7.0-0.2, use "1.7.0-0.2".
###### 4.1 Install with cmake
Configure and compile: