This is an archive of the discontinued LLVM Phabricator instance.

[lit] Allow setting parallelism groups to None
ClosedPublic

Authored by yln on Feb 15 2019, 1:57 PM.

Details

Summary

Check that we do not crash if a parallelism group is explicitly set to
None. Permits usage of the following pattern.

[lit.common.cfg]

lit_config.parallelism_groups['my_group'] = None
if <condition>:
  lit_config.parallelism_groups['my_group'] = 3

[project/lit.cfg]

config.parallelism_group = 'my_group'

Diff Detail

Repository
rL LLVM

Event Timeline

yln created this revision.Feb 15 2019, 1:57 PM
rnk accepted this revision.Feb 25 2019, 6:39 PM

lgtm

This revision is now accepted and ready to land.Feb 25 2019, 6:39 PM
This revision was automatically updated to reflect the committed changes.