summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2022-09-22 09:29:39 +0200
committerDiana Picus <diana.picus@linaro.org>2022-10-06 09:29:57 +0200
commit534705216d7a795934be82cc0e38b9e26a3856dc (patch)
treefc565e141711a3de23ade672e7e126dbf466a582
parenta0be59396b09e6328a001fe032824140868545ca (diff)
tcwg-llvm-release.sh: Increase file descriptors limit
At the moment we're getting errors along the lines of: "./test-release.sh: cannot make pipe for command substitution: Too many open files" Try to set a higher limit using ulimit (I think the current limit is 1024, so we're trying 65536 instead). Change-Id: I177a183385fa062d519a8df6ecdff139cdfe14fa
-rwxr-xr-xtcwg-llvm-release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-llvm-release.sh b/tcwg-llvm-release.sh
index 1213f672..be5d14ac 100755
--- a/tcwg-llvm-release.sh
+++ b/tcwg-llvm-release.sh
@@ -206,7 +206,7 @@ SCRIPT_URL=https://raw.githubusercontent.com/llvm/llvm-project/$RELEASE_TAG/llvm
# - we want to push the binary public on success or failre
result=0
(
- cd "$WORKSPACE" && LC_ALL=C ./$RELEASE_SCRIPT $RELCALL $RCCALL -triple $TARGET -j$BUILDJOBS $OPENMP $MLIR $FLANG $USENINJA -configure-flags "$EXTRA_CONFIG_ARGS" |& tee "$LOGBASE-release.$LOGEXT"
+ cd "$WORKSPACE" && ulimit -n 65536 && LC_ALL=C ./$RELEASE_SCRIPT $RELCALL $RCCALL -triple $TARGET -j$BUILDJOBS $OPENMP $MLIR $FLANG $USENINJA -configure-flags "$EXTRA_CONFIG_ARGS" |& tee "$LOGBASE-release.$LOGEXT"
) &
wait $! || result=$?