From: Matt Corallo Date: Tue, 29 Mar 2022 18:35:33 +0000 (+0000) Subject: Dont try to run valgrind on ppcel64 (it barfs on secp256k1) X-Git-Tag: v0.0.106.0~2^2~8 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=8121215ca69a8a5330c51fbb011d49be7f41938d;p=ldk-c-bindings Dont try to run valgrind on ppcel64 (it barfs on secp256k1) --- diff --git a/genbindings.sh b/genbindings.sh index 9cc35ad..6be4e74 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -305,7 +305,7 @@ fi gcc $LOCAL_CFLAGS -fPIC -std=c99 -Wall -g -pthread -I../ldk-net ../ldk-net/ldk_net.c -c -o ldk_net.o if [ "$2" = "true" ]; then g++ $LOCAL_CFLAGS -std=c++11 -Wall -g -pthread -DREAL_NET -I../ldk-net ldk_net.o demo.cpp target/debug/libldk.a -ldl -lm - if [ -x "`which valgrind`" ]; then + if [ -x "`which valgrind`" -a "$(uname -m)" != "ppc64le" ]; then valgrind --error-exitcode=4 --memcheck:leak-check=full --show-leak-kinds=all ./a.out echo else