F18 Oct2019 Minor Update (#13192)
* Minor clean-up of package information. * Add variants, fix dependencies, and add conflicts for compilers that do not support C++17. * Correct dependency type for CMake.
This commit is contained in:
parent
64bdc3251f
commit
ebb5ce4b69
@ -10,10 +10,24 @@ class F18(CMakePackage):
|
|||||||
"""F18 is a front-end for Fortran intended to replace the existing front-end
|
"""F18 is a front-end for Fortran intended to replace the existing front-end
|
||||||
in the Flang compiler"""
|
in the Flang compiler"""
|
||||||
|
|
||||||
|
# Package information
|
||||||
homepage = "https://github.com/flang-compiler/f18"
|
homepage = "https://github.com/flang-compiler/f18"
|
||||||
|
git = "https://github.com/flang-compiler/f18.git"
|
||||||
git = "https://github.com/flang-compiler/f18"
|
|
||||||
|
|
||||||
version('master', branch='master')
|
version('master', branch='master')
|
||||||
|
|
||||||
depends_on('llvm@6.0.0+clang', when='@master')
|
# Variants
|
||||||
|
variant('build_type', default='Release',
|
||||||
|
description='The build type to build',
|
||||||
|
values=('Debug', 'Release', 'RelWithDebInfo'))
|
||||||
|
|
||||||
|
# Dependencies
|
||||||
|
depends_on('cmake@3.9.0:', type='build')
|
||||||
|
depends_on('llvm+clang@7:')
|
||||||
|
|
||||||
|
# Conflicts
|
||||||
|
compiler_warning = 'F18 requires a compiler with support for C++17'
|
||||||
|
conflicts('%clang@:6', msg=compiler_warning)
|
||||||
|
conflicts('%gcc@:7.1', msg=compiler_warning)
|
||||||
|
conflicts('%intel', msg=compiler_warning)
|
||||||
|
conflicts('%pgi', msg=compiler_warning)
|
||||||
|
Loading…
Reference in New Issue
Block a user