Skip to content

Commit 38363bc

Browse files
committed
Rename flag keep-debug-symbols
1 parent a950552 commit 38363bc

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

easybuild/tools/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,9 @@ def mk_full_default_path(name, prefix=DEFAULT_PREFIX):
330330
'cleanup_builddir',
331331
'cleanup_easyconfigs',
332332
'cleanup_tmpdir',
333-
'default_debug_symbols',
334333
'extended_dry_run_ignore_errors',
335334
'fixed_installdir_naming_scheme',
335+
'keep_debug_symbols',
336336
'lib_lib64_symlink',
337337
'lib64_fallback_sanity_check',
338338
'lib64_lib_symlink',

easybuild/tools/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@ def override_options(self):
392392
'debug-lmod': ("Run Lmod modules tool commands in debug module", None, 'store_true', False),
393393
'default-opt-level': ("Specify default optimisation level", 'choice', 'store', DEFAULT_OPT_LEVEL,
394394
Compiler.COMPILER_OPT_FLAGS),
395-
'default-debug-symbols': ("Sets default value of debug toolchain option", None, 'store_true', True),
396395
'deprecated': ("Run pretending to be (future) version, to test removal of deprecated code.",
397396
None, 'store', None),
398397
'detect-loaded-modules': ("Detect loaded EasyBuild-generated modules, act accordingly; "
@@ -457,6 +456,7 @@ def override_options(self):
457456
'insecure-download': ("Don't check the server certificate against the available certificate authorities.",
458457
None, 'store_true', False),
459458
'install-latest-eb-release': ("Install latest known version of easybuild", None, 'store_true', False),
459+
'keep-debug-symbols': ("Sets default value of debug toolchain option", None, 'store_true', True),
460460
'lib-lib64-symlink': ("Automatically create symlinks for lib/ pointing to lib64/ if the former is missing",
461461
None, 'store_true', True),
462462
'lib64-fallback-sanity-check': ("Fallback in sanity check to lib64/ equivalent for missing libraries",

easybuild/tools/toolchain/compiler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# #
22
# Copyright 2012-2024 Ghent University
3+
34
#
45
# This file is part of EasyBuild,
56
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
@@ -82,7 +83,7 @@ class Compiler(Toolchain):
8283
'loose': (False, "Loose precision"),
8384
'veryloose': (False, "Very loose precision"),
8485
'verbose': (False, "Verbose output"),
85-
'debug': (None, "Enable or disables debug symbols"), # refers to default-debug-symbols build option by default
86+
'debug': (None, "Keep debug symbols"), # default value set by build option keep-debug-symbols
8687
'i8': (False, "Integers are 8 byte integers"), # fortran only -> no: MKL and icc give -DMKL_ILP64
8788
'r8': (False, "Real is 8 byte real"), # fortran only
8889
'unroll': (False, "Unroll loops"),

0 commit comments

Comments
 (0)