summaryrefslogtreecommitdiff
path: root/mesonbuild/mconf.py
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2020-08-03 12:15:48 -0400
committerJohn Ericson <git@JohnEricson.me>2020-08-03 12:18:31 -0400
commita9ce824a8ae8148c4643bcc1f9197157897f943f (patch)
tree95244b7fb6af3d9930c78fa6db25825a8b8866dc /mesonbuild/mconf.py
parent70edf82c6c77902cd64f44848302bbac92d611d8 (diff)
downloadmeson-remove-parse_cmd_line_options.tar.gz
Remove uneeded `parse_cmd_line_options`remove-parse_cmd_line_options
The new way of doing things, thanks to @dcbaker, is making it so `Environment` combines the command line options and config files, and then coredata and just ingestion 1 source of raw data to initialize the actual options. This dramatically simplifies things by making information flow through one path not many. `parse_cmd_line_options` is a vestige of the old way of coredata having to crawl over a bunch of different sources of information and repeatedly parse them, and is no longer needed.
Diffstat (limited to 'mesonbuild/mconf.py')
-rw-r--r--mesonbuild/mconf.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py
index f0703559b..b2bc1049c 100644
--- a/mesonbuild/mconf.py
+++ b/mesonbuild/mconf.py
@@ -243,7 +243,6 @@ class Conf:
print_default_values_warning()
def run(options):
- coredata.parse_cmd_line_options(options)
builddir = os.path.abspath(os.path.realpath(options.builddir))
c = None
try: