You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: INSTALL.md
+16-16
Original file line number
Diff line number
Diff line change
@@ -58,27 +58,27 @@ To install Postgresql, follow instructions from the [Postgresql download page](h
58
58
## Build Dependencies
59
59
60
60
- c++ toolchain and headers that supports c++17
61
-
-`clang` >= 10.0
62
-
-`g++` >= 8.0
61
+
-`clang` >= 12.0
62
+
-`g++` >= 10.0
63
63
-`pkg-config`
64
64
-`bison` and `flex`
65
65
-`libpq-dev` unless you `./configure --disable-postgres` in the build step below.
66
66
- 64-bit system
67
-
-`clang-format-10` (for `make format` to work)
67
+
-`clang-format-12` (for `make format` to work)
68
68
-`perl`
69
69
-`libunwind-dev`
70
70
71
71
### Ubuntu
72
72
73
-
#### Ubuntu 18.04
73
+
#### Ubuntu 20.04
74
74
You can install the [test toolchain](#adding-the-test-toolchain) to build and run stellar-core with the latest version of the llvm toolchain.
75
75
76
76
Alternatively, if you want to just depend on stock Ubuntu, you will have to build with clang *and* have use `libc++` instead of `libstdc++` when compiling.
77
77
78
-
Ubuntu 18.04 has clang-10 available, that you can install with
78
+
Ubuntu 20.04 has clang-12 available, that you can install with
79
79
80
-
# install clang-10 toolchain
81
-
sudo apt-get install clang-10
80
+
# install clang-12 toolchain
81
+
sudo apt-get install clang-12
82
82
83
83
After installing packages, head to [building with clang and libc++](#building-with-clang-and-libc).
84
84
@@ -95,17 +95,17 @@ After installing packages, head to [building with clang and libc++](#building-wi
In order to make changes, you'll need to install the proper version of clang-format.
105
105
106
106
In order to install the llvm (clang) toolchain, you may have to follow instructions on https://apt.llvm.org/
107
107
108
-
sudo apt-get install clang-format-10
108
+
sudo apt-get install clang-format-12
109
109
110
110
### OS X
111
111
When building on OSX, here's some dependencies you'll need:
@@ -130,7 +130,7 @@ See [INSTALL-Windows.md](INSTALL-Windows.md)
130
130
-`git submodule init`
131
131
-`git submodule update`
132
132
- Type `./autogen.sh`.
133
-
- Type `./configure`*(If configure complains about compiler versions, try `CXX=clang-10 ./configure` or `CXX=g++-8 ./configure` or similar, depending on your compiler.)*
133
+
- Type `./configure`*(If configure complains about compiler versions, try `CXX=clang-12 ./configure` or `CXX=g++-10 ./configure` or similar, depending on your compiler.)*
134
134
- Type `make` or `make -j<N>` (where `<N>` is the number of parallel builds, a number less than the number of CPU cores available, e.g. `make -j3`)
135
135
- Type `make check` to run tests.
136
136
- Type `make install` to install.
@@ -141,15 +141,15 @@ On some systems, building with `libc++`, [LLVM's version of the standard library
141
141
142
142
NB: there are newer versions available of both clang and libc++, you will have to use the versions suited for your system.
143
143
144
-
You may need to install additional packages for this, for example, on Linux Ubuntu 18.04 LTS with clang-10:
144
+
You may need to install additional packages for this, for example, on Linux Ubuntu 20.04 LTS with clang-12:
0 commit comments