Skip to content

mk: Fix reconfiguring top-level ./configure #26381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 21, 2015

Conversation

alexcrichton
Copy link
Member

In #26252 support was added to have prettier paths printed out on failure by not
passing the full path to the source file to the compiler, but instead just a
small relative path. To preserve this relative path across configurations, the
SREL variable was used for reconfiguring, but if SREL is empty then it will
attempt to run the command configure which is distinct from running
./configure (e.g. doesn't run the local script).

This commit modifies the SREL value to re-run the configure script by setting
it to ./ in the case where SREL is empty.

In rust-lang#26252 support was added to have prettier paths printed out on failure by not
passing the full path to the source file to the compiler, but instead just a
small relative path. To preserve this relative path across configurations, the
`SREL` variable was used for reconfiguring, but if `SREL` is empty then it will
attempt to run the command `configure` which is distinct from running
`./configure` (e.g. doesn't run the local script).

This commit modifies the `SREL` value to re-run the configure script by setting
it to `./` in the case where `SREL` is empty.
@alexcrichton
Copy link
Member Author

r? @brson

@rust-highfive rust-highfive assigned brson and unassigned huonw Jun 18, 2015
@rust-highfive
Copy link
Contributor

r? @huonw

(rust_highfive has picked a reviewer for you, use r? to override)

@brson
Copy link
Contributor

brson commented Jun 18, 2015

@bors r+

@bors
Copy link
Collaborator

bors commented Jun 18, 2015

📌 Commit 2e63604 has been approved by brson

@bors
Copy link
Collaborator

bors commented Jun 20, 2015

⌛ Testing commit 2e63604 with merge 4b6213a...

@bors
Copy link
Collaborator

bors commented Jun 20, 2015

💔 Test failed - auto-linux-32-opt

@alexcrichton
Copy link
Member Author

@bors: retry

On Fri, Jun 19, 2015 at 8:51 PM, bors [email protected] wrote:

[image: 💔] Test failed - auto-linux-32-opt
http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/5433


Reply to this email directly or view it on GitHub
#26381 (comment).

@bors
Copy link
Collaborator

bors commented Jun 20, 2015

⌛ Testing commit 2e63604 with merge 9ad0063...

bors added a commit that referenced this pull request Jun 20, 2015
In #26252 support was added to have prettier paths printed out on failure by not
passing the full path to the source file to the compiler, but instead just a
small relative path. To preserve this relative path across configurations, the
`SREL` variable was used for reconfiguring, but if `SREL` is empty then it will
attempt to run the command `configure` which is distinct from running
`./configure` (e.g. doesn't run the local script).

This commit modifies the `SREL` value to re-run the configure script by setting
it to `./` in the case where `SREL` is empty.
@bors bors merged commit 2e63604 into rust-lang:master Jun 21, 2015
@bluss
Copy link
Member

bluss commented Jun 21, 2015

Thank you for fixing this!

@alexcrichton alexcrichton deleted the fix-srel branch July 10, 2015 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants