Remove cmocka since we don't need it anymore

This commit is contained in:
lazymio 2021-10-06 12:52:20 +02:00
parent b24240118f
commit c9c685af51
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873
1 changed files with 0 additions and 12 deletions

View File

@ -1,12 +0,0 @@
#!/bin/sh -ex
mkdir -p cmocka
#wget https://cmocka.org/files/1.1/cmocka-1.1.0.tar.xz -O /tmp/cmocka-1.1.0.tar.xz
wget --no-check-certificate https://cmocka.org/files/1.1/cmocka-1.1.1.tar.xz -P /tmp/
tar -xf /tmp/cmocka-1.1.1.tar.xz -C /tmp
cd cmocka && cmake -DUNIT_TESTING=On /tmp/cmocka-1.1.1 && make && make test
# cmake builds an so instead of a dll in mingw/msys
if [[ ! -z $MSYSTEM ]]; then
cp src/cmocka.so src/cmocka.dll
fi
# cmocka does not include headers in build
cp -R /tmp/cmocka-1.1.1/include/ .