mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-04 16:41:43 +00:00

This is an ongoing series of commits that are reformatting our Python code. Reformatting is done with `black`. If you end up having problems merging this commit because you have made changes to a python file, the best way to handle that is to run git checkout --ours <yourfile> and then reformat it with black. If you run into any problems, post to discourse about it and we will try to help. RFC Thread below: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style Reviewed By: #libc, kwk, Mordante Differential Revision: https://reviews.llvm.org/D150763
12 lines
488 B
Python
12 lines
488 B
Python
# All the Lit configuration is handled in the site configs -- this file is only
|
|
# left as a canary to catch invocations of Lit that do not go through llvm-lit.
|
|
#
|
|
# Invocations that go through llvm-lit will automatically use the right Lit
|
|
# site configuration inside the build directory.
|
|
|
|
lit_config.fatal(
|
|
"You seem to be running Lit directly -- you should be running Lit through "
|
|
"<build>/bin/llvm-lit, which will ensure that the right Lit configuration "
|
|
"file is used."
|
|
)
|