Skip to content
Snippets Groups Projects
Commit 36be1caf authored by Axel Naumann's avatar Axel Naumann
Browse files

[cling] Bring `vanilla-cling` lit feature back:

it is needed for test/Autoloading/AutoForwarding.C.
parent 0f992081
No related branches found
No related tags found
No related merge requests found
......@@ -123,6 +123,11 @@ if platform.system() not in ['Windows'] or lit_config.getBashPath() != '':
if platform.system() not in ['Windows']:
config.available_features.add('not_system-windows')
# ROOT adds features that "heal" some of cling's tests; need to detect
# vanilla vs cling-as-part-of-ROOT. The latter has no `lib/UserInterface/textinput/`:
if os.path.isdir(os.path.join(config.cling_src_root, 'lib', 'UserInterface', 'textinput')):
config.available_features.add('vanilla-cling')
libcudart_path = lit.util.which('libcudart.so', config.environment.get('LD_LIBRARY_PATH',''))
if libcudart_path is not None:
config.available_features.add('cuda-runtime')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment