[cfe-dev] running "make check" under msys

Ruben Van Boxem vanboxem.ruben at gmail.com
Fri Aug 5 04:53:30 PDT 2011


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



More information about the cfe-dev mailing list