yorick: avoid hang to fputest on aarch64. (#17865)
This commit is contained in:
parent
cb676eab0f
commit
d77f388a0d
1 changed files with 5 additions and 3 deletions
|
@ -4,7 +4,6 @@
|
||||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
|
||||||
from spack import *
|
from spack import *
|
||||||
import os
|
|
||||||
|
|
||||||
|
|
||||||
class Yorick(Package):
|
class Yorick(Package):
|
||||||
|
@ -35,9 +34,12 @@ def url_for_version(self, version):
|
||||||
url = "https://github.com/dhmunro/yorick/archive/y_{0}.tar.gz"
|
url = "https://github.com/dhmunro/yorick/archive/y_{0}.tar.gz"
|
||||||
return url.format(version.underscored)
|
return url.format(version.underscored)
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def setup_build_environment(self, env):
|
||||||
os.environ['FORTRAN_LINKAGE'] = '-Df_linkage'
|
env.set('FORTRAN_LINKAGE', '-Df_linkage')
|
||||||
|
if self.spec.satisfies('arch=aarch64:'):
|
||||||
|
env.set('FPU_IGNORE', '1')
|
||||||
|
|
||||||
|
def install(self, spec, prefix):
|
||||||
make("config")
|
make("config")
|
||||||
|
|
||||||
filter_file(r'^CC.+',
|
filter_file(r'^CC.+',
|
||||||
|
|
Loading…
Reference in a new issue