summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsychocrypt <psychocryptHPC@gmail.com>2018-03-31 21:03:03 +0200
committerGitHub <noreply@github.com>2018-03-31 21:03:03 +0200
commit3c9949410a148edf2c971346d5f6c75c795c7170 (patch)
tree65a98cacd6564bacd5678c1917026c712f4b644a
parent2781b2401ce6790a3ca1924287cdef0970febc1b (diff)
parent5c7de8bb21953ebd187aa38e4cffa166a082b13a (diff)
downloadxmr-stak-3c9949410a148edf2c971346d5f6c75c795c7170.zip
xmr-stak-3c9949410a148edf2c971346d5f6c75c795c7170.tar.gz
Merge pull request #1195 from jleni/fix/gcc_cuda
instructions for new gcc versions
-rw-r--r--doc/compile_Linux.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/compile_Linux.md b/doc/compile_Linux.md
index 729f4d2..3eb4960 100644
--- a/doc/compile_Linux.md
+++ b/doc/compile_Linux.md
@@ -97,6 +97,13 @@
- g++ version 5.1 or higher is required for full C++11 support.
If you want to compile the binary without installing libraries / compiler or just compile binary for some other distribution, please check the [build_xmr-stak_docker.sh script](scripts/build_xmr-stak_docker/build_xmr-stak_docker.sh).
+- Some newer gcc versions are not supported by CUDA (e.g. Ubuntu 17.10). It will require installing gcc 5 but you can avoid changing defaults.
+
+In that case you can force CUDA to use an older compiler in the following way:
+```
+cmake -DCUDA_HOST_COMPILER=/usr/bin/gcc-5 ..
+```
+
### To do a generic and static build for a system without gcc 5.1+
```
cmake -DCMAKE_LINK_STATIC=ON -DXMR-STAK_COMPILE=generic .
OpenPOWER on IntegriCloud