Skip to content

Commit

Permalink
Bump LLVM version requirements (#11)
Browse files Browse the repository at this point in the history
* Bump LLVM version requirements

* Fix Travis tests
  • Loading branch information
denzp authored May 4, 2018
1 parent f7f0c68 commit 61de72f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 26 deletions.
23 changes: 7 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,23 @@ cache: cargo

matrix:
include:
- os: linux
rust: stable
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0
packages:
- g++-6
- llvm-5.0-dev

- os: linux
rust: nightly
env:
- LLVM_SYS_60_PREFIX="/usr/lib/llvm-6.0"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0
- llvm-toolchain-trusty-6.0
packages:
- g++-6
- llvm-5.0-dev
- llvm-6.0-dev

- os: osx
rust: stable
rust: nightly
env:
- MATRIX_EVAL="brew install llvm && export LLVM_SYS_50_PREFIX=/usr/local/opt/llvm"
- LLVM_SYS_60_PREFIX="/usr/local/opt/llvm"
- MATRIX_EVAL="brew install llvm"

before_install:
- eval "${MATRIX_EVAL}"
Expand Down
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ptx-linker"
version = "0.5.1"
version = "0.6.0"
description = "NVPTX modules linker"
authors = ["Denys Zariaiev <denys.zariaiev@gmail.com>"]
repository = "https://github.com/denzp/rust-ptx-linker"
Expand All @@ -20,14 +20,17 @@ path = "src/application/main.rs"
name = "ptx_linker"

[dependencies]
llvm-sys = "50"
log = "0.3"
fern = "0.4"
colored = "1.5"
error-chain = "0.10"
ar = "0.5"
clap = { version = "2.31", features = ["yaml", "suggestions", "color"] }

[dependencies.llvm-sys]
version = "60"
features = ["strict-versioning"]

[dev-dependencies]
difference = "1.0"
tempdir = "0.3"
Expand Down

0 comments on commit 61de72f

Please sign in to comment.