Code Monkey home page Code Monkey logo

iron-llvm's People

Contributors

jauhien avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

iron-llvm's Issues

Linker error in `cargo test`

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 withccfailed: 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.

Error when building project depending on iron-llvm

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.