From 71d2ce7403609053471b5b6d43a5ec45aeb5d329 Mon Sep 17 00:00:00 2001 From: "Nichols A. Romero" Date: Wed, 14 Oct 2020 13:44:22 -0500 Subject: Removing f18 package. (#19307) --- var/spack/repos/builtin/packages/f18/package.py | 59 ------------------------- 1 file changed, 59 deletions(-) delete mode 100644 var/spack/repos/builtin/packages/f18/package.py diff --git a/var/spack/repos/builtin/packages/f18/package.py b/var/spack/repos/builtin/packages/f18/package.py deleted file mode 100644 index 235210c142..0000000000 --- a/var/spack/repos/builtin/packages/f18/package.py +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2013-2020 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) - -from spack import * - - -class F18(CMakePackage): - """F18 is a front-end for Fortran intended to replace the existing front-end - in the Flang compiler""" - - # Package information - homepage = "https://github.com/flang-compiler/f18" - git = "https://github.com/flang-compiler/f18.git" - - version('master', branch='master') - - # Variants - variant('build_type', default='Release', - description='The build type to build', - values=('Debug', 'Release', 'RelWithDebInfo')) - - variant('fir', default='False', description='Build with support for FIR') - - # Dependencies - depends_on('cmake@3.9.0:', type='build') - depends_on('llvm+clang@9:', when='~fir') - depends_on('llvm+clang+mlir@10.0.1:', when='+fir') - - # Conflicts - compiler_warning = 'F18 requires a compiler with support for C++17' - # See https://en.wikipedia.org/wiki/Xcode#Latest_versions for a - # conversion table from LLVM versions to Apple's Clang - conflicts('%apple-clang@:10.1', msg=compiler_warning) - conflicts('%clang@:6', msg=compiler_warning) - conflicts('%gcc@:7.1', msg=compiler_warning) - conflicts('%intel', msg=compiler_warning) - conflicts('%pgi', msg=compiler_warning) - - def cmake_args(self): - spec = self.spec - args = ['-DLLVM_DIR=%s' % self.spec['llvm'].prefix.lib.cmake.llvm] - # Tests have linking errors with older compilers (before GCC 8.x). - # Don't build tests for now. - # https://bugs.llvm.org/show_bug.cgi?id=45463 - if self.run_tests: - args.append('-DFLANG_INCLUDE_TESTS:BOOL=ON') - else: - args.append('-DFLANG_INCLUDE_TESTS:BOOL=OFF') - - if '+fir' in spec: - args.append('-DLINK_WITH_FIR:BOOL=ON') - args.append( - '-DMLIR_DIR=%s' % self.spec['llvm'].prefix.lib.cmake.mlir) - else: - args.append('-DLINK_WITH_FIR:BOOL=OFF') - - return args -- cgit v1.2.3-60-g2f50