llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[llvm-lit] Ulimit command not found in lit internal shell

Open Harini0924 opened this issue 2 years ago • 0 comments

The LLVM's lit internal shell fails to find the ulimit command and fails to set resource limits. Error displayed:

# executed command: ulimit -s 1000
# .---command stderr------------
# | 'ulimit': command not found
# `-----------------------------
# error: command failed with exit status: 127

Files with failure:

  • [x] compiler-rt/test/asan/TestCases/Linux/allocator_oom_test.cpp
  • [x] compiler-rt/test/asan/TestCases/Posix/deep_call_stack.cpp
  • [x] compiler-rt/test/fuzzer/merge-posix.test
  • [x] compiler-rt/test/fuzzer/ulimit.test
  • [x] compiler-rt/test/hwasan/TestCases/print-memory-usage.c
  • [x] compiler-rt/test/msan/Linux/reexec_unlimited_stack.cpp

Harini0924 avatar Aug 07 '24 22:08 Harini0924