Fix entrypoint branch selection
This commit is contained in:
parent
58b1168787
commit
00dc22eb0e
|
@ -7,7 +7,7 @@ Use normal build for your own usage. The tools here are used to copy how Intel/S
|
|||
|
||||
## Usage
|
||||
* `$ ./do-build-as-silicom.sh [commit]`
|
||||
* Creates CentOS 6.10 container with GCC 4.4.2-7 on it, and builds IES from commit (default _master_). Re-run to build new changes.
|
||||
* Creates CentOS 6.10 container with GCC 4.4.2-7 on it, and builds IES from commit (default _origin/master_). Re-run to build new changes.
|
||||
* Alternatively you can build via GCC 4.4.4-10, but it has slight differences. Do this via `$ GCC_VERSION=4.4.4-10.el6 ./do-build-as-silicom.sh`
|
||||
* `$ ./do-binary-diff.sh`
|
||||
* Creates elf_diff container, and diffs produced build on first step. Grabs known Silicom _.so_
|
||||
|
|
|
@ -5,7 +5,10 @@ set -e
|
|||
git clone http://git.gammaspectra.live/Sillycom/IES.git working_src
|
||||
|
||||
pushd working_src
|
||||
git reset --hard "${1}"
|
||||
|
||||
if [[ "${1}" != "" ]]; then
|
||||
git reset --hard "${1}"
|
||||
fi
|
||||
|
||||
./autogen.sh
|
||||
|
||||
|
|
Loading…
Reference in a new issue