Skip to content
Snippets Groups Projects
Commit b12d5aec authored by Levi Baber's avatar Levi Baber Committed by Adam J. Stewart
Browse files

r: add memory profiling variant (#8717)

* r: add memory profiling variant

* r: change memory_profiling to underscores
parent 06418a3d
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,8 @@ class R(AutotoolsPackage): ...@@ -62,6 +62,8 @@ class R(AutotoolsPackage):
description='Links to externally installed BLAS/LAPACK') description='Links to externally installed BLAS/LAPACK')
variant('X', default=False, variant('X', default=False,
description='Enable X11 support (call configure --with-x)') description='Enable X11 support (call configure --with-x)')
variant('memory_profiling', default=False,
description='Enable memory profiling')
# Virtual dependencies # Virtual dependencies
depends_on('blas', when='+external-lapack') depends_on('blas', when='+external-lapack')
...@@ -128,6 +130,9 @@ def configure_args(self): ...@@ -128,6 +130,9 @@ def configure_args(self):
else: else:
config_args.append('--without-x') config_args.append('--without-x')
if '+memory_profiling' in spec:
config_args.append('--enable-memory-profiling')
return config_args return config_args
@run_after('install') @run_after('install')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment