subread: build on ARM. (#12400)
This commit is contained in:
parent
5116312ca2
commit
d752ef38c9
1 changed files with 14 additions and 0 deletions
|
@ -30,6 +30,20 @@ def build(self, spec, prefix):
|
||||||
'CC_EXEC = {0}'.format(spack_cc),
|
'CC_EXEC = {0}'.format(spack_cc),
|
||||||
'Makefile.Linux'
|
'Makefile.Linux'
|
||||||
)
|
)
|
||||||
|
if spec.satisfies('target=aarch64'):
|
||||||
|
filter_file('-mtune=core2', '', 'Makefile.Linux')
|
||||||
|
if spec.satisfies('@1.6.2:1.6.4'):
|
||||||
|
filter_file(
|
||||||
|
'-mtune=core2',
|
||||||
|
'',
|
||||||
|
'longread-one/Makefile'
|
||||||
|
)
|
||||||
|
elif spec.satisfies('@1.6.0'):
|
||||||
|
filter_file(
|
||||||
|
'-mtune=core2',
|
||||||
|
'',
|
||||||
|
'longread-mapping/Makefile'
|
||||||
|
)
|
||||||
make('-f', 'Makefile.Linux')
|
make('-f', 'Makefile.Linux')
|
||||||
elif plat.startswith('darwin'):
|
elif plat.startswith('darwin'):
|
||||||
make('-f', 'Makefile.MacOS')
|
make('-f', 'Makefile.MacOS')
|
||||||
|
|
Loading…
Reference in a new issue