Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Commit

Permalink
Quality: Update LLVM.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Nov 1, 2016
1 parent 448c8c8 commit 0612ef2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ os:
notifications:
irc: "chat.freenode.net#taguavm"

sudo: false

addons:
apt:
packages:
Expand All @@ -54,17 +52,18 @@ env:
before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo sh -c "add-apt-repository -y ppa:ubuntu-toolchain-r/test";
sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.6 main' >> /etc/apt/sources.list";
wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -;
sudo sh -c "ls /etc/apt/";
sudo sh -c "echo 'deb http://apt.llvm.org/jessie/ llvm-toolchain-jessie-3.9 main' >> /etc/apt/sources.list";
sudo sh -c "echo 'deb-src http://apt.llvm.org/jessie/ llvm-toolchain-jessie-3.9 main' >> /etc/apt/sources.list";
wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -;
fi
install:
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get update -qq;
sudo apt-get install -qq llvm-3.6 libllvm3.6 libllvm3.6-dbg cmake libedit-dev;
export PATH="/usr/lib/llvm-3.6/bin:$PATH";
sudo apt-get install -qq llvm-3.9 libllvm3.9 libllvm3.9-dbg cmake libedit-dev;
export PATH="/usr/lib/llvm-3.9/bin:$PATH";
fi
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ codegen-units = 1

[dependencies]
libc = "~0.2.7"
llvm-sys = "~0.2.1"
llvm-sys = "~0.3.9"
tagua-parser = {git = "https://github.com/tagua-vm/parser", rev = "master"}
2 changes: 1 addition & 1 deletion source/vm/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ impl Engine {
&mut engine_ref,
module.to_ref(),
&mut engine_options,
engine_options_size as u64,
engine_options_size as usize,
&mut engine_error
);
}
Expand Down

0 comments on commit 0612ef2

Please sign in to comment.