mirror of
https://github.com/ziglang/zig.git
synced 2024-12-04 19:09:32 +00:00
13 lines
201 B
Bash
Executable File
13 lines
201 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -x
|
|
set -e
|
|
|
|
mkdir build
|
|
cd build
|
|
cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm@6/ -DCMAKE_INSTALL_PREFIX=$(pwd)
|
|
make VERBOSE=1
|
|
make install
|
|
|
|
./zig build --build-file ../build.zig test
|