llvm-sys 80.3.1

Bindings to LLVM's C API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
image: ubuntu:xenial

pipelines:
  default:
    - step:
        script:
          - apt-get update && apt-get install -y curl file sudo mercurial xz-utils build-essential libffi-dev zlib1g-dev
          - echo deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-8 main >> /etc/apt/sources.list
          - curl https://apt.llvm.org/llvm-snapshot.gpg.key| apt-key add -
          - apt-get update && apt-get install -y llvm-8 llvm-8-dev
          - curl https://sh.rustup.rs -sSf | CARGO_HOME=$HOME/rust sh -s -- -y
          - PATH=$PATH:~/rust/bin LLVM_SYS_80_PREFIX=/usr/lib/llvm-8 LLVM_SYS_80_FFI_WORKAROUND=1 cargo test
          - ./target/debug/examples/jit-function