Skip to content

Commit

Permalink
Round off texts [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed Apr 28, 2017
1 parent b2d94d9 commit d99ae78
Showing 1 changed file with 3 additions and 44 deletions.
47 changes: 3 additions & 44 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,50 +31,9 @@ Less complex builds:

## Most recent package or trunk?

### Most recent `clang` package available
The trunk is the most recent (and thus unstable) `clang` version. This repository shows how to install and use it.

This is `clang` 3.8 (as of 2017-04-27).
The most recent `clang` package available is used in this example: [travis_qmake_clang_cpp14](https://www.github.com/richelbilderbeek/travis_qmake_clang_cpp14)

Use the following `install` part in `travis.yml`:

```
language: cpp
dist: trusty
sudo: required
compiler: clang
env: COMPILER_NAME=clang CXX=clang++-3.8 CC=clang-3.8
addons:
apt:
packages:
- clang-3.8
sources: *sources
install:
# clang, version 3.8
- sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.8 90
- sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.8 90
# STL
- sudo apt-get install -y libc++-dev libc++abi-dev
```

### trunk

Use the following `install` part in `travis.yml`:

```
install:
# clang, trunk, from http://llvm.org/docs/LibFuzzer.html#id14
- mkdir TMP_CLANG
- cd TMP_CLANG
- git clone https://chromium.googlesource.com/chromium/src/tools/clang
- cd ..
- TMP_CLANG/clang/scripts/update.py
- ln -s ./third_party/llvm-build/Release+Asserts/bin/clang
- ln -s ./third_party/llvm-build/Release+Asserts/bin/clang++
# STL
- sudo apt-get install -y libc++-dev libc++abi-dev
```

## Troubleshooting
Both versions can successfully compile the code in this example.

0 comments on commit d99ae78

Please sign in to comment.