Skip to content

configure should make sure that LLVM FileCheck exists #27621

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

Closed
sylvestre opened this issue Aug 9, 2015 · 4 comments
Closed

configure should make sure that LLVM FileCheck exists #27621

sylvestre opened this issue Aug 9, 2015 · 4 comments

Comments

@sylvestre
Copy link
Contributor

Trying to package rust 1.2 into Debian & Ubuntu, I get the following test failures:

running 4 tests
test [codegen] codegen/coercions.rs ... FAILED
test [codegen] codegen/stores.rs ... FAILED
test [codegen] codegen/loads.rs ... FAILED
test [codegen] codegen/function-arguments.rs ... FAILED

failures:

---- [codegen] codegen/coercions.rs stdout ----
    thread '[codegen] codegen/coercions.rs' panicked at 'failed to exec `/usr/lib/llvm-3.6/bin/FileCheck`', src/libcore/option.rs:330


---- [codegen] codegen/stores.rs stdout ----
    thread '[codegen] codegen/stores.rs' panicked at 'failed to exec `/usr/lib/llvm-3.6/bin/FileCheck`', src/libcore/option.rs:330


---- [codegen] codegen/loads.rs stdout ----
    thread '[codegen] codegen/loads.rs' panicked at 'failed to exec `/usr/lib/llvm-3.6/bin/FileCheck`', src/libcore/option.rs:330


---- [codegen] codegen/function-arguments.rs stdout ----
    thread '[codegen] codegen/function-arguments.rs' panicked at 'failed to exec `/usr/lib/llvm-3.6/bin/FileCheck`', src/libcore/option.rs:330



failures:
    [codegen] codegen/coercions.rs
    [codegen] codegen/function-arguments.rs
    [codegen] codegen/loads.rs
    [codegen] codegen/stores.rs

test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured

thread '<main>' panicked at 'Some tests failed', /home/sylvestre/dev/debian/rustc.git/src/compiletest/compiletest.rs:252

I am using Debian LLVM 3.6.1 packages (version 3.6.1-1)

@dotdash
Copy link
Contributor

dotdash commented Aug 9, 2015

FileCheck is in the llvm-3.6.-tools package.

I wonder whether we want a check in configure that makes FileCheck a requirement or one that disables the respective tests if it is not available.

@sylvestre sylvestre changed the title 4 tests in codegen fails with 1.2 and LLVM 3.6.1 configure should make sure that LLVM FileCheck exists Aug 10, 2015
@sylvestre
Copy link
Contributor Author

That was indeed the issue. I installed it and I have issue 27628 now.

sylvestre added a commit to sylvestre/rust that referenced this issue Aug 10, 2015
@alexcrichton
Copy link
Member

Addressed in #27630

@Zoxc
Copy link
Contributor

Zoxc commented Mar 24, 2016

These test should be optional until LLVM has a way to install FileCheck

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

No branches or pull requests

4 participants