llvm: various updates (#10427)
* llvm: Bump version to 7.0.1 * llvm: Added perl-data-dumper build dependency for openmp * llvm: Enable exception handling and RTTI Useful to have turned on in general with RTTI but also necessary to workaround some lldb stability issues with some versions of libstdc++.
This commit is contained in:
parent
3b1fb7d9ff
commit
6535eae5c7
@ -66,6 +66,9 @@ class Llvm(CMakePackage):
|
|||||||
depends_on('python')
|
depends_on('python')
|
||||||
depends_on('py-lit', type=('build', 'run'))
|
depends_on('py-lit', type=('build', 'run'))
|
||||||
|
|
||||||
|
# openmp dependencies
|
||||||
|
depends_on('perl-data-dumper', type=('build'))
|
||||||
|
|
||||||
# lldb dependencies
|
# lldb dependencies
|
||||||
depends_on('ncurses', when='+lldb')
|
depends_on('ncurses', when='+lldb')
|
||||||
depends_on('swig', when='+lldb')
|
depends_on('swig', when='+lldb')
|
||||||
@ -163,6 +166,22 @@ class Llvm(CMakePackage):
|
|||||||
'libunwind': 'http://llvm.org/svn/llvm-project/libunwind/trunk',
|
'libunwind': 'http://llvm.org/svn/llvm-project/libunwind/trunk',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'version': '7.0.1',
|
||||||
|
'md5': '79f1256f97d52a054da8660706deb5f6',
|
||||||
|
'resources': {
|
||||||
|
'compiler-rt': '697b70141ae7cc854e4fbde1a07b7287',
|
||||||
|
'openmp': 'd7d05ac0109df51a47099cba08cb43ec',
|
||||||
|
'polly': '287d7391438b5285265fede3b08e1e29',
|
||||||
|
'libcxx': 'aa9202ebb2aef2078fccfa24b3b1eed1',
|
||||||
|
'libcxxabi': 'c82a187e95744d15c040108bc2b8868f',
|
||||||
|
'cfe': '8583c9fb2af0ce61a7154fd9125363c1',
|
||||||
|
'clang-tools-extra': 'f0a94f63cc3d717f8f6662e0bf9c7330',
|
||||||
|
'lldb': '9ea3dc5cb9a1d9e390652d42ef1ccf41',
|
||||||
|
'lld': '9162cde32887cd33facead766645ef1f',
|
||||||
|
'libunwind': 'fe8c801dd79e087a6fa8d039390a47d0'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'version': '7.0.0',
|
'version': '7.0.0',
|
||||||
'md5': 'e0140354db83cdeb8668531b431398f0',
|
'md5': 'e0140354db83cdeb8668531b431398f0',
|
||||||
@ -563,6 +582,8 @@ def cmake_args(self):
|
|||||||
|
|
||||||
cmake_args = [
|
cmake_args = [
|
||||||
'-DLLVM_REQUIRES_RTTI:BOOL=ON',
|
'-DLLVM_REQUIRES_RTTI:BOOL=ON',
|
||||||
|
'-DLLVM_ENABLE_RTTI:BOOL=ON',
|
||||||
|
'-DLLVM_ENABLE_EH:BOOL=ON',
|
||||||
'-DCLANG_DEFAULT_OPENMP_RUNTIME:STRING=libomp',
|
'-DCLANG_DEFAULT_OPENMP_RUNTIME:STRING=libomp',
|
||||||
'-DPYTHON_EXECUTABLE:PATH={0}'.format(spec['python'].command.path),
|
'-DPYTHON_EXECUTABLE:PATH={0}'.format(spec['python'].command.path),
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user