]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Add tcmalloc test target.
authorDarren Tucker <dtucker@dtucker.net>
Tue, 12 Oct 2021 11:55:51 +0000 (22:55 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Tue, 12 Oct 2021 12:01:40 +0000 (23:01 +1100)
.github/configs
.github/setup_ci.sh
.github/workflows/c-cpp.yml

index d87a159ed34e010aa6a461562a8be08e2a0ce0df..0a1480d5e1d1183dc86421174b3eaa02f89a03d0 100755 (executable)
@@ -40,6 +40,9 @@ case "$config" in
     hardenedmalloc)
        CONFIGFLAGS="--with-ldflags=-lhardened_malloc"
        ;;
+    tcmalloc)
+       CONFIGFLAGS="--with-ldflags=-ltcmalloc"
+       ;;
     kerberos5)
        CONFIGFLAGS="--with-kerberos5"
        ;;
index df4bd97f18f2d32efb1b757e0ea188f527e5a680..c80bd38d462cf8fe824e07f7db7aa12053215f02 100755 (executable)
@@ -50,7 +50,10 @@ for TARGET in $TARGETS; do
         ;;
     hardenedmalloc)
         INSTALL_HARDENED_MALLOC=yes
-       ;;
+        ;;
+    tcmalloc)
+        PACKAGES="$PACKAGES libgoogle-perftools-dev"
+        ;;
     openssl-noec)
        INSTALL_OPENSSL=OpenSSL_1_1_1k
        SSLCONFOPTS="no-ec"
index 3ea466a7afe7cd5bf177e7eaec4227014a2d3a31..530922f8090e8f9735cedad06443e4ed1bbce04c 100644 (file)
@@ -37,6 +37,7 @@ jobs:
           - { os: ubuntu-20.04, configs: pam }
           - { os: ubuntu-20.04, configs: kitchensink }
           - { os: ubuntu-20.04, configs: hardenedmalloc }
+          - { os: ubuntu-20.04, configs: tcmalloc }
           - { os: ubuntu-latest, configs: libressl-master }
           - { os: ubuntu-latest, configs: libressl-2.2.9 }
           - { os: ubuntu-latest, configs: libressl-2.8.3 }