Source code for spack.compilers.xl_r

# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

import os

import spack.compilers.xl


[docs] class XlR(spack.compilers.xl.Xl): # Subclasses use possible names of C compiler cc_names = ["xlc_r"] # Subclasses use possible names of C++ compiler cxx_names = ["xlC_r", "xlc++_r"] # Subclasses use possible names of Fortran 77 compiler f77_names = ["xlf_r"] # Subclasses use possible names of Fortran 90 compiler fc_names = ["xlf90_r", "xlf95_r", "xlf2003_r", "xlf2008_r"] # Named wrapper links within build_env_path link_paths = { "cc": os.path.join("xl_r", "xlc_r"), "cxx": os.path.join("xl_r", "xlc++_r"), "f77": os.path.join("xl_r", "xlf_r"), "fc": os.path.join("xl_r", "xlf90_r"), }