Convert llvm Spackage to use the monorepo (#11392)

* [WIP] Convert llvm spackage to use the monorepo

* Correcting python dependencies

* Adding develop version for llvm monorepo

* Python 2.6 Fix

* Build Flang fork in a different root_cmakelists_dir

* Formatting Fix

* Including flang package changes

* Removing explicit llvm dependencies variants

* flake8 fix

* Updating patches and llvm+flang logic

* Updating env setup API

* Add top level git

* Conflicting flang variant with other variants
This commit is contained in:
Brian Homerding
2019-12-06 12:01:30 -06:00
committed by Adam J. Stewart
parent f069a3feda
commit 5e20bd86e4
5 changed files with 128 additions and 527 deletions

View File

@@ -20,15 +20,9 @@ class Flang(CMakePackage):
version('20180921', sha256='f33bd1f054e474f1e8a204bb6f78d42f8f6ecf7a894fdddc3999f7c272350784')
version('20180612', sha256='6af858bea013548e091371a97726ac784edbd4ff876222575eaae48a3c2920ed')
depends_on('llvm@flang-develop', when='@develop')
depends_on('llvm@flang-20180921', when='@20180921 target=x86_64:')
depends_on('llvm@flang-20180612', when='@20180612 target=x86_64:')
depends_on('llvm@flang-20180921', when='@20180921 target=aarch64:')
# LLVM version specific to OpenPOWER.
depends_on('llvm@flang-ppc64le-20180921', when='@20180921 target=ppc64le:')
depends_on('llvm@flang-ppc64le-20180612', when='@20180612 target=ppc64le:')
depends_on('llvm@develop+flang~gold~lldb~lld~compiler-rt~libcxx~polly~internal_unwind', when='@develop')
depends_on('llvm@7.0.1+flang~gold~lldb~lld~compiler-rt~libcxx~polly~internal_unwind', when='@20180921')
depends_on('llvm@6.0.0+flang~gold~lldb~lld~compiler-rt~libcxx~polly~internal_unwind', when='@20180612')
depends_on('pgmath@develop', when='@develop')
depends_on('pgmath@20180921', when='@20180921')