minimd: allow building on aarch64 (#18951)

This commit is contained in:
t-nojiri 2020-09-25 15:49:50 +09:00 committed by GitHub
parent a9c9501a47
commit 78b304c0c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,10 @@ def edit(self, spec, prefix):
self.version.up_to(2))) self.version.up_to(2)))
inner_tar.extractall() inner_tar.extractall()
if spec.target.family == 'aarch64':
makefile = FileFilter('miniMD_ref/Makefile.openmpi')
makefile.filter('-mavx', '')
def install(self, spec, prefix): def install(self, spec, prefix):
# Manual Installation # Manual Installation
mkdirp(prefix.bin) mkdirp(prefix.bin)