summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/libatomic-ops/package.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/libatomic-ops/package.py b/var/spack/repos/builtin/packages/libatomic-ops/package.py
index 0167fbcb33..74f95079e1 100644
--- a/var/spack/repos/builtin/packages/libatomic-ops/package.py
+++ b/var/spack/repos/builtin/packages/libatomic-ops/package.py
@@ -25,7 +25,7 @@
from spack import *
-class LibatomicOps(Package):
+class LibatomicOps(AutotoolsPackage):
"""This package provides semi-portable access to hardware-provided
atomic memory update operations on a number architectures."""
@@ -34,9 +34,5 @@ class LibatomicOps(Package):
version('7.4.4', '426d804baae12c372967a6d183e25af2')
- def install(self, spec, prefix):
- configure('--prefix={0}'.format(prefix),
- '--enable-shared')
-
- make()
- make('install')
+ def configure_args(self):
+ return ['--enable-shared']