]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: github: abandon asan matrix.py helper
authorIlya Shipitsin <chipitsine@gmail.com>
Fri, 2 Feb 2024 19:33:15 +0000 (20:33 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 7 Feb 2024 10:05:28 +0000 (11:05 +0100)
that helper was useful in days when we beleived that gcc and clang
require different flags. those days are gone.

.github/matrix.py

index dde5b441469e5d453d26a33abfbfd079a4435be7..1ad9534bd88df263ef448020c53c210de62833e5 100755 (executable)
@@ -86,14 +86,6 @@ def clean_compression(compression):
     return compression.replace("USE_", "").lower()
 
 
-def get_asan_flags(cc):
-    return [
-        "USE_OBSOLETE_LINKER=1",
-        'DEBUG_CFLAGS="-g -fsanitize=address"',
-        'LDFLAGS="-fsanitize=address"',
-        'CPU_CFLAGS.generic="-O1"',
-    ]
-
 def main(ref_name):
     print("Generating matrix for branch '{}'.".format(ref_name))
 
@@ -155,8 +147,11 @@ def main(ref_name):
                 "os": os,
                 "TARGET": TARGET,
                 "CC": CC,
-                "FLAGS": get_asan_flags(CC)
-                + [
+                "FLAGS": [
+                    "USE_OBSOLETE_LINKER=1",
+                    'DEBUG_CFLAGS="-g -fsanitize=address"',
+                    'LDFLAGS="-fsanitize=address"',
+                    'CPU_CFLAGS.generic="-O1"', 
                     "USE_ZLIB=1",
                     "USE_OT=1",
                     "OT_INC=${HOME}/opt-ot/include",