Skip to content

Commit

Permalink
added instructions for installing clang, since it may not be present …
Browse files Browse the repository at this point in the history
…in a clean install of raspbian
  • Loading branch information
jweisz committed Dec 10, 2016
1 parent 95dc9b9 commit bd02337
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Our Swift program will communicate over a socket with a Node.js server which use

## Prerequisites

Before using this recipe, you need to install the Swift 3.0 runtime for your Raspberry Pi.
Before using this recipe, you need to install the Swift 3.0 runtime for your Raspberry Pi, as well as the `clang` toolchain.

### Install Swift-3.0

Expand All @@ -40,6 +40,12 @@ Test to see what version of `swift` you have.
Swift version 3.0-dev (LLVM 545d4be6ac, Clang 968470f170, Swift ac8b5bd472)
Target: armv7--linux-gnueabihf

### Install clang

Installing clang is required for Swift to be able to invoke the `llvm` linker.

$ sudo apt-get install -y clang

## Build

Now that `swift-3.0` is installed, let’s build the Swift client application.
Expand Down

0 comments on commit bd02337

Please sign in to comment.