47c0ae5914
Assume that we have two linja processes running on a system where there is no ninja installed. Then, the first linja process downloads ninja from github. If the internet is slow, the second linja process can pick up the incomplete ninja binary and execute it, which causes an exception (i.e. "Malformed Mach-o file" error on OSX). An example build trace is at https://s3.amazonaws.com/archive.travis-ci.org/jobs/56366771/log.txt This commit fixes the problem by downloading ninja to a temporary directory and copy it to "lean/bin/ninja" when it's completed. |
||
---|---|---|
.. | ||
.gitignore | ||
leanemacs.bat.in | ||
leanemacs.in | ||
leantags | ||
linja.in | ||
test_leanemacs | ||
version |