rusi/test/thirdparty/tinycc.sh

18 lines
316 B
Bash
Raw Normal View History

#!/bin/bash
repo='https://github.com/TinyCC/tinycc.git'
. test/thirdparty/common
dir=$(basename -s .git $repo)
set -e -x
mkdir -p thirdparty
cd thirdparty
[ -d $dir ] || git clone $repo
cd $dir
git reset --hard df67d8617b7d1d03a480a28f9f901848ffbfb7ec
./configure --cc=$chibicc
$make clean
$make
$make CC=cc test