hdf5: fix macOS build by not using numactl (#5458)
This commit is contained in:
parent
40777e44e2
commit
8db69de258
@ -24,6 +24,7 @@
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
from spack import *
|
from spack import *
|
||||||
import shutil
|
import shutil
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
class Hdf5(AutotoolsPackage):
|
class Hdf5(AutotoolsPackage):
|
||||||
@ -65,6 +66,8 @@ class Hdf5(AutotoolsPackage):
|
|||||||
description='Produce position-independent code (for shared libs)')
|
description='Produce position-independent code (for shared libs)')
|
||||||
|
|
||||||
depends_on('mpi', when='+mpi')
|
depends_on('mpi', when='+mpi')
|
||||||
|
# numactl does not currently build on darwin
|
||||||
|
if sys.platform != 'darwin':
|
||||||
depends_on('numactl', when='+mpi+fortran')
|
depends_on('numactl', when='+mpi+fortran')
|
||||||
depends_on('szip', when='+szip')
|
depends_on('szip', when='+szip')
|
||||||
depends_on('zlib@1.1.2:')
|
depends_on('zlib@1.1.2:')
|
||||||
|
Loading…
Reference in New Issue
Block a user