flang: fixed llvm dep (#5948)
* flang: fixed llvm dep * add support for llvm-5 * Update package.py * Update package.py
This commit is contained in:
parent
306f536138
commit
a05bbd7104
@ -35,10 +35,16 @@ class Flang(CMakePackage):
|
|||||||
version('develop', git='https://github.com/flang-compiler/flang', branch='master')
|
version('develop', git='https://github.com/flang-compiler/flang', branch='master')
|
||||||
|
|
||||||
depends_on(
|
depends_on(
|
||||||
"llvm+clang",
|
"llvm+clang@4.0.1,5.0.0",
|
||||||
patches=patch('https://github.com/llvm-mirror/clang/pull/33.diff',
|
patches=[
|
||||||
|
patch('https://github.com/llvm-mirror/clang/pull/33.diff',
|
||||||
sha256='e46d7ab305e5e95c51f4656d9b52058143cd85d859b312b3c80e93a02d54b4a5',
|
sha256='e46d7ab305e5e95c51f4656d9b52058143cd85d859b312b3c80e93a02d54b4a5',
|
||||||
when='@4.0.1', level=1, working_dir='tools/clang'))
|
when='@4.0.1', level=1, working_dir='tools/clang'),
|
||||||
|
patch('https://github.com/llvm-mirror/clang/pull/35.diff',
|
||||||
|
sha256='7f39555783993f78b75c380ca5ef167c1d8b88cc75c6542f6c94e0b6acfb7c5d',
|
||||||
|
when='@5.0', level=1, working_dir='tools/clang')
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
||||||
def cmake_args(self):
|
def cmake_args(self):
|
||||||
options = [
|
options = [
|
||||||
|
Loading…
Reference in New Issue
Block a user