[quote="junrushao1994, post:9, topic:843"]
```
set(USE_LLVM "/usr/bin/llvm-config-8 --ignore-libllvm")
```
[/quote]

FWIW, this seems to be what's needed to get this ignored test working in the 
Rust bindings:

(in rust/tvm/src/python.rs)
```rust
    #[ignore]
    #[test]
    fn test_run() -> Result<()> {
        load().unwrap();
        Ok(())
    }
}
```

This is significant. Without this fix, a large part of the Rust bindings won't 
work (specifically, actually compiling and running code from Rust won't work!)

I'm not sure if this is known already, or where it would be good to document 
this fact. cc @jroesch 

Sorry to bump an old thread, but this seems important enough to mention. THANK 
YOU SO MUCH @junrushao1994 !!!! Great sleuthing on this :male_detective:





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/python-debugger-segfaults-with-tvm/843/18)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/39adf87919bbef9299e7ca7bc21522be91c7435bd5735aecc2e47deb8822aa7b).

Reply via email to