mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 08:33:06 +00:00
fix build for travis osx
This commit is contained in:
parent
b8ee3a8143
commit
6e5edc79ec
@ -4,7 +4,16 @@ set -x
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm@5/ -DCMAKE_INSTALL_PREFIX=$(pwd) -DZIG_LIBC_LIB_DIR=$(dirname $($CC -print-file-name=crt1.o)) -DZIG_LIBC_INCLUDE_DIR=$(echo -n | $CC -E -x c - -v 2>&1 | grep -B1 "End of search list." | head -n1 | cut -c 2- | sed "s/ .*//") -DZIG_LIBC_STATIC_LIB_DIR=$(dirname $($CC -print-file-name=crtbegin.o))
|
||||
cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm@5/ -DCMAKE_INSTALL_PREFIX=$(pwd) -DZIG_LIBC_INCLUDE_DIR=/usr/include
|
||||
make VERBOSE=1
|
||||
make install
|
||||
./zig build --build-file ../build.zig test -Dwith-lldb
|
||||
|
||||
./zig build --build-file ../build.zig test-behavior --verbose
|
||||
./zig build --build-file ../build.zig test-std --verbose
|
||||
./zig build --build-file ../build.zig test-compiler-rt --verbose
|
||||
./zig build --build-file ../build.zig test-compare-output --verbose
|
||||
./zig build --build-file ../build.zig test-build-examples --verbose
|
||||
./zig build --build-file ../build.zig test-compile-errors --verbose
|
||||
./zig build --build-file ../build.zig test-asm-link --verbose
|
||||
./zig build --build-file ../build.zig test-debug-safety --verbose
|
||||
./zig build --build-file ../build.zig test-parsec --verbose
|
||||
|
Loading…
Reference in New Issue
Block a user