projects
/
ldk-c-bindings
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
95615c7
)
Dont try to run valgrind on ppcel64 (it barfs on secp256k1)
author
Matt Corallo
<git@bluematt.me>
Tue, 29 Mar 2022 18:35:33 +0000
(18:35 +0000)
committer
Matt Corallo
<git@bluematt.me>
Tue, 29 Mar 2022 18:35:33 +0000
(18:35 +0000)
genbindings.sh
patch
|
blob
|
history
diff --git
a/genbindings.sh
b/genbindings.sh
index 9cc35ad69abbd54ce292b6dcc19fb08a63a1b326..6be4e7432295e588eaf6944337b19e5a32b6e17a 100755
(executable)
--- 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
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
valgrind --error-exitcode=4 --memcheck:leak-check=full --show-leak-kinds=all ./a.out
echo
else