I have a problem running "make check[-all]" under msys.
The command fails with:
make check all failed with:
make[2]: Leaving directory `/usr/home/Ruben/llvm/tools/clang/test'
( ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -v 1024000 ; \
/m/development/source/llvm/utils/lit/lit.py -s -v .
/usr/home/Ruben/llvm/test/../tools/clang/test )
/bin/sh: line 0: ulimit: cpu time: cannot modify limit: Invalid argument
/bin/sh: line 0: ulimit: data seg size: cannot modify limit: Invalid argument
/bin/sh: line 0: ulimit: -m: invalid option
ulimit: usage: ulimit [-SHacdfilmnpqstuvx] [limit]
/bin/sh: line 0: ulimit: virtual memory: cannot modify limit: Invalid argument
lit.py: TestingConfig.py:53: fatal: unable to load config from
'/m/development/source/llvm/test/lit.cfg'
make[1]: *** [check-local-all] Error 2
I noticed test/Makefile contains various workarounds for these options
on different platforms. Perhaps MSYS warrants some more changes? I
don't know how I could detect MSYS though (it would be a combination
of $HOST_OS==mingw and the presence of sh in PATH.
Thanks,
Ruben