summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNichols A. Romero <naromero77@users.noreply.github.com>2020-10-14 13:44:22 -0500
committerGitHub <noreply@github.com>2020-10-14 13:44:22 -0500
commit71d2ce7403609053471b5b6d43a5ec45aeb5d329 (patch)
tree47825506b89bb882ecf54f79428edfd670ab66f9
parent72f431b67b4d0e7d7c48bf99518df8591f3b5fbd (diff)
downloadspack-71d2ce7403609053471b5b6d43a5ec45aeb5d329.tar.gz
spack-71d2ce7403609053471b5b6d43a5ec45aeb5d329.tar.bz2
spack-71d2ce7403609053471b5b6d43a5ec45aeb5d329.tar.xz
spack-71d2ce7403609053471b5b6d43a5ec45aeb5d329.zip
Removing f18 package. (#19307)
-rw-r--r--var/spack/repos/builtin/packages/f18/package.py59
1 files changed, 0 insertions, 59 deletions
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