StarSs: allow optional variable GIT_REPO
This commit is contained in:
parent
3a2c12e37c
commit
947c58fd2e
1 changed files with 7 additions and 1 deletions
|
@ -30,6 +30,12 @@ else
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# you *may* also specigy a git repository
|
||||||
|
if [ -z ${GIT_REPO} ]; then
|
||||||
|
GIT_REPO=hlrs-gitolite:hlrs-text
|
||||||
|
fi
|
||||||
|
echo "Getting source for repository $GIT_REPO"
|
||||||
|
|
||||||
COMPILER=gnu-4.5
|
COMPILER=gnu-4.5
|
||||||
if [ ${TARGET} = "hermit_cray" ]; then
|
if [ ${TARGET} = "hermit_cray" ]; then
|
||||||
COMPILER=cray
|
COMPILER=cray
|
||||||
|
@ -73,7 +79,7 @@ fi
|
||||||
cd ${WORK_DIR}
|
cd ${WORK_DIR}
|
||||||
|
|
||||||
if [ ${TARGET} = "laki" ]; then
|
if [ ${TARGET} = "laki" ]; then
|
||||||
git clone hlrs-gitolite:hlrs-text
|
git clone ${GIT_REPO} hlrs-text
|
||||||
cd hlrs-text
|
cd hlrs-text
|
||||||
git checkout -b ayudame origin/ayudame
|
git checkout -b ayudame origin/ayudame
|
||||||
cd ProgModel/SMPSs_repository/starss
|
cd ProgModel/SMPSs_repository/starss
|
||||||
|
|
Loading…
Reference in a new issue