about summary refs log tree commit diff homepage
path: root/scripts/build/v-stp.inc
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/v-stp.inc')
-rw-r--r--scripts/build/v-stp.inc9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/build/v-stp.inc b/scripts/build/v-stp.inc
index 0885a3d1..17a84acc 100644
--- a/scripts/build/v-stp.inc
+++ b/scripts/build/v-stp.inc
@@ -5,4 +5,11 @@ required_variables_stp=(
 )
 
 # On which artifacts does STP depend on
-artifact_dependency_stp=("sanitizer")
\ No newline at end of file
+artifact_dependency_stp=("sanitizer")
+
+artifact_dependency_stp() {
+  echo "sanitizer"
+  if [[ "${SANITIZER_BUILD:-}" == "memory" ]]; then
+    echo "llvm"
+  fi
+}
\ No newline at end of file