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:
fe78e0f
)
Stop timing C++ demo bindings run cause OSX is, as usual, garbage
author
Matt Corallo
<git@bluematt.me>
Fri, 13 Jan 2023 03:34:59 +0000
(
03:34
+0000)
committer
Matt Corallo
<git@bluematt.me>
Fri, 13 Jan 2023 03:34:59 +0000
(
03:34
+0000)
genbindings.sh
patch
|
blob
|
history
diff --git
a/genbindings.sh
b/genbindings.sh
index d1b67580d1a4fcb850db9dcb5fbd5bbfb9ab8613..234af2946fdc99630c78065464a8072dc02fe7ba 100755
(executable)
--- a/
genbindings.sh
+++ b/
genbindings.sh
@@
-338,7
+338,7
@@
if [ "$2" = "true" ]; then
strip ./a.out
echo " C++ Bin size and runtime w/o optimization:"
ls -lha a.out
strip ./a.out
echo " C++ Bin size and runtime w/o optimization:"
ls -lha a.out
-
time
./a.out > /dev/null
+ ./a.out > /dev/null
fi
# Then, check with memory sanitizer, if we're on Linux and have rustc nightly
fi
# Then, check with memory sanitizer, if we're on Linux and have rustc nightly
@@
-492,7
+492,7
@@
fi
strip ./a.out
echo "C++ Bin size and runtime with only RL (LTO) optimized:"
ls -lha a.out
strip ./a.out
echo "C++ Bin size and runtime with only RL (LTO) optimized:"
ls -lha a.out
-
time
./a.out > /dev/null
+./a.out > /dev/null
if [ "$CLANGPP" != "" ]; then
# If we can use cross-language LTO, use it for building C dependencies (i.e. libsecp256k1) as well
if [ "$CLANGPP" != "" ]; then
# If we can use cross-language LTO, use it for building C dependencies (i.e. libsecp256k1) as well
@@
-564,7
+564,7
@@
if [ "$CLANGPP" != "" -a "$LLD" != "" ]; then
strip ./a.out
echo "C++ Bin size and runtime with cross-language LTO:"
ls -lha a.out
strip ./a.out
echo "C++ Bin size and runtime with cross-language LTO:"
ls -lha a.out
-
time
./a.out > /dev/null
+ ./a.out > /dev/null
fi
fi
else
fi
fi
else