OLD | NEW |
---|---|
(Empty) | |
1 #!/bin/sh | |
2 | |
3 set -ex | |
4 | |
vapier
2016/04/11 15:09:17
i would restructure this code a bit up front:
se
Ted Mielczarek
2016/04/11 16:30:18
Okay. I'm not a big fan of overly-complex shell sc
| |
5 if test -n "$USE_CC"; then | |
6 export CC=$USE_CC | |
7 fi | |
8 if test -n "$USE_CXX"; then | |
9 export CXX=$USE_CXX | |
10 fi | |
11 | |
12 # Use -j4 for faster builds. Travis build machines under Docker | |
vapier
2016/04/11 15:09:17
i've never run into this problem. i do:
ncpus=$
Ted Mielczarek
2016/04/11 16:30:18
I tried something very similar:
https://github.com
| |
13 # have a lot of cores, but resource limits will kill the build | |
14 # if we try to use them all. | |
15 ./configure && make -j4 check | |
OLD | NEW |