Revert "[Builtins] Downgrade duplicate source file warning from a fatal error to a warning."

This reverts commit dc748816e2.

Now that 8ea148dc0c has landed it should
be safe to turning the warning back into a fatal error.
This commit is contained in:
Dan Liew 2019-10-30 16:21:46 -07:00
parent 8ea148dc0c
commit 23a33d450b
1 changed files with 1 additions and 3 deletions

View File

@ -111,9 +111,7 @@ for builtin_source_feature in builtins_source_features:
builtins_source_feature_duplicates.append(builtin_source_feature) builtins_source_feature_duplicates.append(builtin_source_feature)
if len(builtins_source_feature_duplicates) > 0: if len(builtins_source_feature_duplicates) > 0:
# FIXME(dliew): There's a bug in the build system for powerpc where two definitions of the same lit_config.fatal(
# function are present in the library. So just downgrade this to a warning until this is fixed.
lit_config.warning(
'builtins_source_features contains duplicates: {}'.format( 'builtins_source_features contains duplicates: {}'.format(
builtins_source_feature_duplicates) builtins_source_feature_duplicates)
) )