about summary refs log tree commit diff
path: root/src/bootstrap/configure.py
AgeCommit message (Collapse)AuthorLines
2017-10-10Rollup merge of #45180 - 0xAX:fix-help-message-in-configure.py, ↵Steve Klabnik-6/+1
r=Mark-Simulacrum Fix path to x.py in bootstrap/configure.py script We may see a help message in the end of the output of the ./configure script: ``` $ ./configure configure: processing command line configure: configure: build.configure-args := [] configure: configure: writing `config.toml` in current directory configure: configure: run `python ./src/bootstrap/x.py --help` configure: ``` but the `x.py` script is actually in the rust root directory and executing of such help string will give us error: ``` $ python ./src/bootstrap/x.py --help python: can't open file './src/bootstrap/x.py': [Errno 2] No such file or directory ``` This patch fixes path to the x.py script in the output of the ./configure
2017-10-11Fix path to x.py in configure.py scriptAlexander Kuleshov-6/+1
We may see a help message in the end of the output of the ./configure script: $ ./configure configure: processing command line configure: configure: build.configure-args := [] configure: configure: writing `config.toml` in current directory configure: configure: run `python ./src/bootstrap/x.py --help` configure: but the x.py script is actually in the rust root directory and executing of such help string will give us error: $ python ./src/bootstrap/x.py --help python: can't open file './src/bootstrap/x.py': [Errno 2] No such file or directory This patch fixes path to the x.py script in the output of the ./configure
2017-10-10Rollup merge of #45116 - johnthagen:typo-fix, r=alexcrichtonkennytm-1/+1
Fix typos
2017-10-09cleanup: rustc doesn't use an external archiverVadim Petrochenkov-2/+1
2017-10-10Rollup merge of #45118 - johnthagen:fix-section-key-name, r=alexcrichtonkennytm-1/+1
Fix variable name reference As best I can tell, this was a typo due to how similar it looks to the function above it. PyCharm found this as a unbound local variable.
2017-10-09Add __future__ imports to increase compatibility with Python 3. Derive ↵johnthagen-1/+2
Option from object to make it a new-style class for Python 3 compatibility.
2017-10-08Fix PEP8 style issues in bootstrap codejohnthagen-17/+31
2017-10-08Fix variable name referencejohnthagen-1/+1
2017-10-08Fix trying to raise a bare str as an exception. This has been deprecated ↵johnthagen-1/+1
since Python 2.5
2017-10-08Fix typo in commentjohnthagen-1/+1
2017-09-23add aarch64-unknown-linux-musl targetBen Cressey-0/+2
Signed-off-by: Ben Cressey <bcressey@amazon.com> Signed-off-by: Tom Kirchner <tjk@amazon.com>
2017-09-17Get the miri test suite to run inside the rustc dev environmentOliver Schneider-0/+1
2017-08-29allow value of key/value pair argument to set option be booleanJeremy Sorensen-2/+8
2017-08-27rustbuild: Rewrite the configure script in PythonAlex Crichton-0/+408
This commit rewrites our ancient `./configure` script from shell into Python. The impetus for this change is to remove `config.mk` which is just a vestige of the old makefile build system at this point. Instead all configuration is now solely done through `config.toml`. The python script allows us to more flexibly program (aka we can use loops easily) and create a `config.toml` which is based off `config.toml.example`. This way we can preserve comments and munge various values as we see fit. It is intended that the configure script here is a drop-in replacement for the previous configure script, no functional change is intended. Also note that the rationale for this is also because our build system requires Python, so having a python script a bit earlier shouldn't cause too many problems. Closes #40730