diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/openssl/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/openssl/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openssl/package.py b/var/spack/repos/builtin/packages/openssl/package.py index 0b3632727f..7dd5fc7cf9 100644 --- a/var/spack/repos/builtin/packages/openssl/package.py +++ b/var/spack/repos/builtin/packages/openssl/package.py @@ -112,6 +112,11 @@ class Openssl(Package): # Uses Fake Autotools, should subclass Package 'aarch64' in spack.architecture.sys_type(): options.append('no-asm') + # The default glibc provided by CentOS 7 does not provide proper + # atomic support when using the NVIDIA compilers + if self.spec.satisfies('%nvhpc os=centos7'): + options.append('-D__STDC_NO_ATOMICS__') + config = Executable('./config') config('--prefix=%s' % prefix, '--openssldir=%s' % join_path(prefix, 'etc', 'openssl'), |