aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-08-05 18:12:46 +0200
committerSven Gothel <[email protected]>2022-08-05 18:12:46 +0200
commit6388e10dbd6bbb54043c67526b3f000c3b814f5b (patch)
treee8462736c3cb6f413426b86ec3d49098ebc46d33 /scripts
parenta4d14c2b0248454234caa0381bbc21fec91106be (diff)
Build: Adopt to jaulib changes, included io_util and byte_stream as-is (dropped Botan knobs, unified), add ByteOutStream_File
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build.sh2
-rw-r--r--scripts/valgrind.supp36
2 files changed, 38 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 68e6fd5..2d7686c 100644
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -45,6 +45,8 @@ buildit() {
cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/$dist_dir -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DTEST_WITH_SUDO=ON -DUSE_LIBCURL=ON ..
# cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/$dist_dir -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DTEST_WITH_SUDO=ON -DUSE_LIBCURL=ON -DUSE_LIBUNWIND=ON ..
# cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/$dist_dir -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DTEST_WITH_SUDO=ON -DUSE_LIBCURL=ON -DDEBUG=ON ..
+ # cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/$dist_dir -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DTEST_WITH_SUDO=ON -DDEBUG=ON ..
+ # cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/$dist_dir -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DTEST_WITH_SUDO=ON -DDEBUG=ON -DINSTRUMENTATION=ON ..
make -j $CPU_COUNT install
if [ $? -eq 0 ] ; then
diff --git a/scripts/valgrind.supp b/scripts/valgrind.supp
index 15e234f..13e69bd 100644
--- a/scripts/valgrind.supp
+++ b/scripts/valgrind.supp
@@ -179,3 +179,39 @@
#
+{
+ cipherpack_curl01
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:calloc
+ ...
+ obj:/usr/lib/x86_64-linux-gnu/libgnutls.so.30.29.1
+ ...
+ fun:_dl_init
+ ...
+}
+{
+ cipherpack_curl02
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:malloc
+ ...
+ obj:/usr/lib/x86_64-linux-gnu/libgnutls.so.30.29.1
+ ...
+ fun:_dl_init
+ ...
+}
+{
+ cipherpack_curl03
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:malloc
+ ...
+ obj:/usr/lib/x86_64-linux-gnu/libgcrypt.so.20.2.8
+ ...
+ fun:libssh2_init
+ ...
+ fun:_ZN10cipherpack11environmentC1Ev
+ ...
+}
+