authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-09-16 10:49:43-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-09-16 10:49:43-07:00
log80d8515e3a9aa1edf2549a190e8e4d495d8028ca
treef2027a08bfef29c6098f81ab0dbb35ace50b2193
parent95941c4e7021588f224f0559c6f66de3a205b972

ci: disable git autocrlf

See also commit 2c8495b4bb261d440bc6d1a6b0415a64c8d99222

2 files changed, 7 insertions(+), 4 deletions(-)

BRANCH_TODO+2
......@@ -1,4 +1,6 @@
11 * glibc .so files
2 - without stage1 c++ code integration it should fail with a better error message
3 instead of lld not getting the object file on the linker line for some reason.
24 - stage1 C++ code integration
35 - ok file
46 * use hex for cache hash file paths
ci/azure/windows_mingw_script+5-4
......@@ -7,6 +7,11 @@ pacman --noconfirm --needed -S git base-devel mingw-w64-x86_64-toolchain mingw-w
77
88git config core.abbrev 9
99
10# Git is wrong for autocrlf being enabled by default on Windows.
11# git is mangling files on Windows by default.
12# This is the second bug I've tracked down to being caused by autocrlf.
13git config core.autocrlf false
14
1015ZIGBUILDDIR="$(pwd)/build"
1116PREFIX="$ZIGBUILDDIR/dist"
1217CMAKEFLAGS="-DCMAKE_COLOR_MAKEFILE=OFF -DCMAKE_INSTALL_PREFIX=$PREFIX -DZIG_STATIC=ON"
......@@ -18,8 +23,4 @@ cmake .. -G 'MSYS Makefiles' -DCMAKE_BUILD_TYPE=RelWithDebInfo $CMAKEFLAGS -DCMA
1823
1924make -j$(nproc) install
2025
21# I saw a failure due to `git diff` being > 400 KB instead of empty as expected so this is to debug it.
22git status
23git diff | head -n100
24
2526./zig build test-behavior -Dskip-non-native -Dskip-release