File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
docs/src/paradox/obtaining-bindgen Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 3
3
Building ` scala-native-bindgen ` requires the following tools and libraries:
4
4
5
5
- [ CMake] version 3.9 or higher
6
+ - [ GNU Make]
6
7
- [ LLVM] and [ Clang] version 5.0 or 6.0.
7
8
- [ nlohmann/json] version 3.1.2 or higher
8
9
9
10
``` sh
10
11
# On apt-based systems
11
- apt install cmake clang-$LLVM_VERSION libclang-$LLVM_VERSION -dev llvm-$LLVM_VERSION -dev
12
+ apt install cmake make clang-6.0 libclang-6.0-dev llvm-6.0-dev \
13
+ nlohmann-json-dev
12
14
13
15
# With `brew`
14
- brew install cmake llvm@6
16
+ brew tap nlohmann/json
17
+ brew install cmake llvm@6 nlohmann_json
15
18
```
16
19
17
20
To run the tests you also need the required Scala Native libraries.
@@ -50,6 +53,7 @@ sbt test
50
53
```
51
54
52
55
[ CMake ] : https://cmake.org/
56
+ [ GNU Make ] : https://www.gnu.org/software/make/
53
57
[ LLVM ] : https://llvm.org/
54
58
[ Clang ] : https://clang.llvm.org/
55
59
[ Scala Native setup guide ] : http://www.scala-native.org/en/latest/user/setup.html
You can’t perform that action at this time.
0 commit comments