]> git.bitcoin.ninja Git - ldk-c-bindings/commitdiff
Dont try to run valgrind on ppcel64 (it barfs on secp256k1)
authorMatt Corallo <git@bluematt.me>
Tue, 29 Mar 2022 18:35:33 +0000 (18:35 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 29 Mar 2022 18:35:33 +0000 (18:35 +0000)
genbindings.sh

index 9cc35ad69abbd54ce292b6dcc19fb08a63a1b326..6be4e7432295e588eaf6944337b19e5a32b6e17a 100755 (executable)
@@ -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