jauhien / iron-llvm Goto Github PK
View Code? Open in Web Editor NEWSafe Rust LLVM bindings
License: Apache License 2.0
Safe Rust LLVM bindings
License: Apache License 2.0
I'm not sure if this is an iron-llvm
or llvm-sys
issue, but I figured I'd ask here. I've got my crate building successfully, but when I run $ cargo test
, all my tests fail with error: linking with
ccfailed: exit code: 1
.
It dumps the complete list of arguments and then the following:
note: ld: warning: directory not found for option '-L/Users/hawk/Development/mnemosyne/core/.rust/lib/x86_64-apple-darwin'
ld: warning: directory not found for option '-L/Users/hawk/Development/mnemosyne/core/lib/x86_64-apple-darwin'
ld: library not found for -lLLVMLTO
I'd be happy to post the whole error message, but it's rather long. I have this issue both locally on my Macbook and on Travis (running Ubuntu 12.04) and I can provide any other system configuration information if necessary.
It's entirely possible that this is completely my fault, in which case, sorry for opening so many bug reports, but any help would be greatly appreciated.
I've been working with the librustc
LLVM bindings directly in a project, and have started attempting to rewrite the project to use iron-llvm
instead. However, when I add iron-llvm
to the Cargo.toml
dependencies as described in the README, I get the following error on builds:
$ cargo build
Updating git repository `https://github.com/jauhien/iron-llvm.git`
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling bitflags v0.3.2
Compiling semver v0.1.20
Compiling gcc v0.3.18
Compiling llvm-sys v0.2.1
Compiling cmake v0.1.7
Compiling iron_llvm v0.0.1 (https://github.com/jauhien/iron-llvm.git#7db73d72)
Build failed, waiting for other jobs to finish...
failed to run custom build command for `llvm-sys v0.2.1`
Process didn't exit successfully: `/Users/hawk/Development/mnemosyne/target/debug/build/llvm-sys-9bcc4041ad5d7b40/build-script-build` (exit code: 101)
--- stderr
thread '<main>' panicked at 'Couldn't execute llvm-config. Error: No such file or directory (os error 2)', /Users/hawk/.cargo/registry/src/github.com-0a35038f75765ae4/llvm-sys-0.2.1/build.rs:13
Hi :-),
I am looking for a safe LLVM bindings library. This one looks great. How do you compare with llvm-alt
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.