Skip to content

Commit

Permalink
Merge pull request easybuilders#3314 from bedroge/riscv_disable_quad_…
Browse files Browse the repository at this point in the history
…prec

auto-disable FFTW quad precision on RISC-V
  • Loading branch information
SebastianAchilles authored Apr 26, 2024
2 parents b6a05c9 + 7c4996a commit 6210331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/easyblocks/f/fftw.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
from easybuild.tools.build_log import EasyBuildError
from easybuild.tools.config import build_option
from easybuild.tools.modules import get_software_version
from easybuild.tools.systemtools import AARCH32, AARCH64, POWER, X86_64
from easybuild.tools.systemtools import AARCH32, AARCH64, POWER, RISCV32, RISCV64, X86_64
from easybuild.tools.systemtools import get_cpu_architecture, get_cpu_features, get_shared_lib_ext
from easybuild.tools.toolchain.compiler import OPTARCH_GENERIC
from easybuild.tools.utilities import nub
Expand Down Expand Up @@ -141,7 +141,7 @@ def __init__(self, *args, **kwargs):
setattr(self, flag, True)

# Auto-disable quad-precision on ARM and POWER, as it is unsupported
if self.cfg['with_quad_prec'] and cpu_arch in [AARCH32, AARCH64, POWER]:
if self.cfg['with_quad_prec'] and cpu_arch in [AARCH32, AARCH64, POWER, RISCV32, RISCV64]:
self.cfg['with_quad_prec'] = False
self.log.debug("Quad-precision automatically disabled; not supported on %s.", cpu_arch)

Expand Down

0 comments on commit 6210331

Please sign in to comment.