File tree 2 files changed +13
-0
lines changed
2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ APT := $(or \
22
22
$(shell command -v apt-get 2>/dev/null) \
23
23
)
24
24
APT_ARGS := --no-install-recommends -y
25
+ UBUNTU_VERSION := $(shell source /etc/os-release && echo $$VERSION_ID)
25
26
26
27
PIP := $(or \
27
28
$(shell command -v pip3 2>/dev/null), \
@@ -122,6 +123,15 @@ install-ubuntu-deps::
122
123
tmux \
123
124
;
124
125
126
+ # Require GCC and G++ version >= 8
127
+ if [ "${UBUNTU_VERSION}" == "18.04" ]; then \
128
+ ${APT} install ${APT_ARGS} gcc-8 g++-8; \
129
+ if [ $$(readlink /usr/bin/g++) == "g++-7" ]; then \
130
+ ln -sf /usr/bin/g++-8 /usr/bin/g++ && \
131
+ ln -sf /usr/bin/gcc-8 /usr/bin/gcc; \
132
+ fi; \
133
+ fi
134
+
125
135
# Python ----------------------------------------------------------------------
126
136
.PHONY: install-python-deps
127
137
install-python-deps::
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ straightforward.
8
8
9
9
Currently, we only officially support Linux or `WSL `_.
10
10
11
+ The minimum required C++ standard is 17, which is provided by a minimum
12
+ GCC version of 8. This is available from Ubuntu 18.04.
13
+
11
14
Install Dependencies
12
15
--------------------
13
16
We provide automatic dependency installation for `Ubuntu `_ from 18.04 to 22.04
You can’t perform that action at this time.
0 commit comments