summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2023-11-13 11:33:40 +0100
committerGitHub <noreply@github.com>2023-11-13 11:33:40 +0100
commite6125061e183765505f9c4bf3ed578ea6f1e1b8d (patch)
tree2de97006b32c3caee1402b5386a1308054395106
parent491bd48897ba3732dac7de84591a8d99f406f5a6 (diff)
downloadspack-e6125061e183765505f9c4bf3ed578ea6f1e1b8d.tar.gz
spack-e6125061e183765505f9c4bf3ed578ea6f1e1b8d.tar.bz2
spack-e6125061e183765505f9c4bf3ed578ea6f1e1b8d.tar.xz
spack-e6125061e183765505f9c4bf3ed578ea6f1e1b8d.zip
Compiler.debug_flags: drop -gz (#40900)
That enables compression of the debug symbols, it doesn't toggle them on or off.
-rw-r--r--lib/spack/spack/compilers/aocc.py1
-rw-r--r--lib/spack/spack/compilers/clang.py1
-rw-r--r--lib/spack/spack/test/compilers/basics.py2
3 files changed, 0 insertions, 4 deletions
diff --git a/lib/spack/spack/compilers/aocc.py b/lib/spack/spack/compilers/aocc.py
index 326522c93c..33039bf07d 100644
--- a/lib/spack/spack/compilers/aocc.py
+++ b/lib/spack/spack/compilers/aocc.py
@@ -40,7 +40,6 @@ class Aocc(Compiler):
"-gdwarf-5",
"-gline-tables-only",
"-gmodules",
- "-gz",
"-g",
]
diff --git a/lib/spack/spack/compilers/clang.py b/lib/spack/spack/compilers/clang.py
index 71837bfe5e..5e63526df6 100644
--- a/lib/spack/spack/compilers/clang.py
+++ b/lib/spack/spack/compilers/clang.py
@@ -55,7 +55,6 @@ class Clang(Compiler):
"-gdwarf-5",
"-gline-tables-only",
"-gmodules",
- "-gz",
"-g",
]
diff --git a/lib/spack/spack/test/compilers/basics.py b/lib/spack/spack/test/compilers/basics.py
index 512defb195..910c9e87d9 100644
--- a/lib/spack/spack/test/compilers/basics.py
+++ b/lib/spack/spack/test/compilers/basics.py
@@ -422,7 +422,6 @@ def test_clang_flags():
"-gdwarf-5",
"-gline-tables-only",
"-gmodules",
- "-gz",
"-g",
],
"clang@3.3",
@@ -445,7 +444,6 @@ def test_aocc_flags():
"-gdwarf-5",
"-gline-tables-only",
"-gmodules",
- "-gz",
"-g",
],
"aocc@2.2.0",