summaryrefslogtreecommitdiffstats
path: root/taskcluster/scripts/misc/repack-llvm-symbolizer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'taskcluster/scripts/misc/repack-llvm-symbolizer.sh')
-rwxr-xr-xtaskcluster/scripts/misc/repack-llvm-symbolizer.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/taskcluster/scripts/misc/repack-llvm-symbolizer.sh b/taskcluster/scripts/misc/repack-llvm-symbolizer.sh
new file mode 100755
index 0000000000..cba49db5e8
--- /dev/null
+++ b/taskcluster/scripts/misc/repack-llvm-symbolizer.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+set -x -e -v
+
+# This script is creating an artifact containing llvm-symbolizer.
+
+mkdir llvm-symbolizer
+cp $MOZ_FETCHES_DIR/clang/bin/llvm-symbolizer* llvm-symbolizer/
+
+tar -cf - llvm-symbolizer | python3 $GECKO_PATH/taskcluster/scripts/misc/zstdpy > llvm-symbolizer.tar.zst
+
+mkdir -p $UPLOAD_DIR
+mv llvm-symbolizer.tar.zst $UPLOAD_DIR