Skip to content
Snippets Groups Projects
Unverified Commit d77f388a authored by Toyohisa Kameyama's avatar Toyohisa Kameyama Committed by GitHub
Browse files

yorick: avoid hang to fputest on aarch64. (#17865)

parent cb676eab
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,6 @@ ...@@ -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): ...@@ -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.+',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment