[openssh-commits] [openssh] 01/01: Add tcmalloc test target.

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Oct 12 23:01:56 AEDT 2021


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit d4b38144c02f3faa5271e5fb35df93507e06f1b4
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Tue Oct 12 22:55:51 2021 +1100

    Add tcmalloc test target.
---
 .github/configs             | 3 +++
 .github/setup_ci.sh         | 5 ++++-
 .github/workflows/c-cpp.yml | 1 +
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/.github/configs b/.github/configs
index d87a159e..0a1480d5 100755
--- a/.github/configs
+++ b/.github/configs
@@ -40,6 +40,9 @@ case "$config" in
     hardenedmalloc)
 	CONFIGFLAGS="--with-ldflags=-lhardened_malloc"
 	;;
+    tcmalloc)
+	CONFIGFLAGS="--with-ldflags=-ltcmalloc"
+	;;
     kerberos5)
 	CONFIGFLAGS="--with-kerberos5"
 	;;
diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh
index df4bd97f..c80bd38d 100755
--- a/.github/setup_ci.sh
+++ b/.github/setup_ci.sh
@@ -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"
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index 3ea466a7..530922f8 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -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 }

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list