Update scotch package for int32 (#21728)
This commit is contained in:
parent
2019d1deb7
commit
201000daca
@ -102,12 +102,14 @@ def configure(self):
|
|||||||
'-DCOMMON_RANDOM_FIXED_SEED',
|
'-DCOMMON_RANDOM_FIXED_SEED',
|
||||||
'-DSCOTCH_DETERMINISTIC',
|
'-DSCOTCH_DETERMINISTIC',
|
||||||
'-DSCOTCH_RENAME',
|
'-DSCOTCH_RENAME',
|
||||||
'-DIDXSIZE64', # SCOTCH_Idx typedef: indices for addressing
|
|
||||||
]
|
]
|
||||||
|
|
||||||
# SCOTCH_Num typedef: size of integers in arguments
|
|
||||||
if '+int64' in self.spec:
|
if '+int64' in self.spec:
|
||||||
|
# SCOTCH_Num typedef: size of integers in arguments
|
||||||
cflags.append('-DINTSIZE64')
|
cflags.append('-DINTSIZE64')
|
||||||
|
cflags.append('-DIDXSIZE64') # SCOTCH_Idx typedef: indices for addressing
|
||||||
|
else:
|
||||||
|
cflags.append('-DIDXSIZE32') # SCOTCH_Idx typedef: indices for addressing
|
||||||
|
|
||||||
if self.spec.satisfies('platform=darwin'):
|
if self.spec.satisfies('platform=darwin'):
|
||||||
cflags.extend([
|
cflags.extend([
|
||||||
|
Loading…
Reference in New Issue
Block a user