Skip to content

Commit

Permalink
velvet: remove -m64 on aarch64. (spack#11984)
Browse files Browse the repository at this point in the history
  • Loading branch information
Toyohisa Kameyama authored and adamjstewart committed Jul 12, 2019
1 parent ff728bd commit ea9ac3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions var/spack/repos/builtin/packages/velvet/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ class Velvet(MakefilePackage):

depends_on('zlib')

def edit(self, spec, prefix):
if spec.satisfies('target=aarch64'):
makefile = FileFilter('Makefile')
makefile.filter('-m64', '')

def install(self, spec, prefix):
mkdirp(prefix.bin)
install('velvetg', prefix.bin)
Expand Down

0 comments on commit ea9ac3e

Please sign in to comment.