Skip to content

Fix makefile rules for generated llvmdeps.rs file #29397

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 3 commits into from
Nov 24, 2015

Conversation

dylanmckay
Copy link
Contributor

Previously the file was not regenrated upon modification of src/rustllvm or others.

Now it will be rebuilt if src/llvm or src/rustllvm is touched.

Also added *.rs rule to 'clean' rule so that it is removed upon 'make
clean'.

Fixes #28614.

Previously the file was not regenrated upon modification of src/rustllvm or others.

Now it will be rebuilt if `src/llvm` or `src/rustllvm` is touched.

Also added *.rs rule to 'clean' rule so that it is removed upon 'make
clean'.
@rust-highfive
Copy link
Contributor

r? @brson

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

@sanxiyn
Copy link
Member

sanxiyn commented Oct 27, 2015

Why should it be regenerated when src/rustllvm changes?

@alexcrichton
Copy link
Member

This script doesn't actually look at the LLVM source, so I don't think adding those targets as dependencies would fix the issue here, but the fix to make clean certainly looks suspect, perhaps only that's needed to fix the problem?

@brson
Copy link
Contributor

brson commented Nov 23, 2015

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Nov 23, 2015

📌 Commit 9c1dad7 has been approved by brson

Manishearth added a commit to Manishearth/rust that referenced this pull request Nov 24, 2015
Previously the file was not regenrated upon modification of `src/rustllvm` or others.

Now it will be rebuilt if `src/llvm` or `src/rustllvm` is touched.

Also added *.rs rule to 'clean' rule so that it is removed upon 'make
clean'.

Fixes rust-lang#28614.
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Nov 24, 2015
Previously the file was not regenrated upon modification of `src/rustllvm` or others.

Now it will be rebuilt if `src/llvm` or `src/rustllvm` is touched.

Also added *.rs rule to 'clean' rule so that it is removed upon 'make
clean'.

Fixes rust-lang#28614.
bors added a commit that referenced this pull request Nov 24, 2015
@bors bors merged commit 9c1dad7 into rust-lang:master Nov 24, 2015
@dylanmckay dylanmckay deleted the llvmdeps-deps branch October 6, 2016 07:01
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