forked from ninja-build/ninja
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit '5a78423193c48cae4800eb1ec44b62d14ae03920' into master
This is a merge of upstream master up until this dep file parsing change, which will need more verification given our depfiles: ninja-build#1039 The biggest change in this merge is probably the use of 64-bit timestamps. * commit '5a78423193c48cae4800eb1ec44b62d14ae03920': (80 commits) Add OSX build on travis (ninja-build#1502) Fit --help output into 80 columns and move verbose up, fix ninja-build#1500 Improve error message when Python wasn't found for the browse tool Explain why there's no browse tool, fix ninja-build#1478 HACKING: use `Python` for the project HACKING: fix some whitespace nits Fix rendering of code block, fix ninja-build#955 Make -j 0 run unlimited parallel builds, fix ninja-build#1309 Enable ANSI escape sequences on Windows 10 terminals Add --verbose as an alternative spelling for -v, fix ninja-build#1310 Add unit test for ninja-build#1491 Allow disabling of escape code stripping, fix ninja-build#1475 subprocess-win32: add hint on ERROR_INVALID_PARAMETER Win32Fatal: support a "hint" for the error manual: mention the "invalid parameter" case util: don't add ellipses width when deciding if they're necessary Verify GetFullPathName return value Make output_test.py independent of the environment Fix older VS compatibility issues and PDB files generation issue. (ninja-build#1435) Fix parsing some special chars in depfiles ... Change-Id: I315385cecc748ff351614792a9921ec87e5f4cf3
- Loading branch information
Showing
52 changed files
with
824 additions
and
347 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,3 +32,6 @@ TAGS | |
# Ninja output | ||
.ninja_deps | ||
.ninja_log | ||
|
||
# Visual Studio Code project files | ||
/.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
matrix: | ||
include: | ||
- os: linux | ||
compiler: gcc | ||
- os: linux | ||
compiler: clang | ||
- os: osx | ||
sudo: false | ||
language: cpp | ||
compiler: | ||
- gcc | ||
- clang | ||
script: ./configure.py --bootstrap && ./ninja all && ./ninja_test --gtest_filter=-SubprocessTest.SetWithLots && ./misc/ninja_syntax_test.py | ||
script: | ||
- ./configure.py --bootstrap | ||
- ./ninja all | ||
- ./ninja_test --gtest_filter=-SubprocessTest.SetWithLots | ||
- ./misc/ninja_syntax_test.py | ||
- ./misc/output_test.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
version: 1.0.{build} | ||
image: Visual Studio 2017 | ||
|
||
environment: | ||
CLICOLOR_FORCE: 1 | ||
CHERE_INVOKING: 1 # Tell Bash to inherit the current working directory | ||
matrix: | ||
- MSYSTEM: MINGW64 | ||
- MSYSTEM: MSVC | ||
|
||
for: | ||
- | ||
matrix: | ||
only: | ||
- MSYSTEM: MINGW64 | ||
build_script: | ||
ps: "C:\\msys64\\usr\\bin\\bash -lc @\"\n | ||
pacman -S --quiet --noconfirm --needed re2c 2>&1\n | ||
sed -i 's|cmd /c $ar cqs $out.tmp $in && move /Y $out.tmp $out|$ar crs $out $in|g' configure.py\n | ||
./configure.py --bootstrap --platform mingw 2>&1\n | ||
./ninja all\n | ||
./ninja_test 2>&1\n | ||
./misc/ninja_syntax_test.py 2>&1\n\"@" | ||
- | ||
matrix: | ||
only: | ||
- MSYSTEM: MSVC | ||
build_script: | ||
- cmd: >- | ||
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" | ||
python configure.py --bootstrap | ||
ninja.bootstrap.exe all | ||
ninja_test | ||
python misc/ninja_syntax_test.py | ||
test: off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.