hdf5: fix macOS build by not using numactl (#5458)

This commit is contained in:
Denis Davydov
2017-09-24 06:34:00 +02:00
committed by Christoph Junghans
parent 40777e44e2
commit 8db69de258

View File

@@ -24,6 +24,7 @@
##############################################################################
from spack import *
import shutil
import sys
class Hdf5(AutotoolsPackage):
@@ -65,7 +66,9 @@ class Hdf5(AutotoolsPackage):
description='Produce position-independent code (for shared libs)')
depends_on('mpi', when='+mpi')
depends_on('numactl', when='+mpi+fortran')
# numactl does not currently build on darwin
if sys.platform != 'darwin':
depends_on('numactl', when='+mpi+fortran')
depends_on('szip', when='+szip')
depends_on('zlib@1.1.2:')