about summary refs log tree commit diff homepage
path: root/scripts/build
diff options
context:
space:
mode:
authorMartin Nowack <m.nowack@imperial.ac.uk>2019-04-04 11:14:47 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2019-04-08 22:05:33 +0100
commit0a052d65e68b9f9736ce2f3ce5cae23c489243a7 (patch)
tree921a30141ef789e33da7f2b516006b800bf46ec8 /scripts/build
parent91e9b418a97af0dd25c868bf5e6392d5e98405c9 (diff)
downloadklee-0a052d65e68b9f9736ce2f3ce5cae23c489243a7.tar.gz
Propagate correct version of metasmt to build script
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/p-metasmt.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build/p-metasmt.inc b/scripts/build/p-metasmt.inc
index a0b973a4..7ba2d471 100644
--- a/scripts/build/p-metasmt.inc
+++ b/scripts/build/p-metasmt.inc
@@ -6,12 +6,13 @@ setup_build_variables_metasmt() {
 }
 
 download_metasmt() {
+  source "${DIR}/common-functions"
   # Clone
-  git clone --single-branch --depth 1 https://github.com/hoangmle/metaSMT.git "${METASMT_SRC_PATH}"
+  git_clone_or_update https://github.com/hoangmle/metaSMT.git "${METASMT_SRC_PATH}" "${METASMT_VERSION}"
   cd "${METASMT_SRC_PATH}"
   git submodule update --init
   # Bootstrap
-  git clone https://github.com/agra-uni-bremen/dependencies.git
+  git_clone_or_update https://github.com/agra-uni-bremen/dependencies.git "${METASMT_SRC_PATH}/dependencies" "development"
 }
 
 build_metasmt() {