dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit a72fd8fc3c0c6ac0b2f645693b27825bab329f83
parent 39245fe7861c7ff32a6a1df39404e259d058e3ff
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 31 Oct 2019 14:10:01 +0100

Add script to enable CUDA-compatible GCC version

Diffstat:
A.local/bin/gcc-8.3-enable | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/.local/bin/gcc-8.3-enable b/.local/bin/gcc-8.3-enable @@ -0,0 +1,7 @@ +#!/bin/sh +version=8.3.0 +if [ ! -d /usr/local/gcc-${version}/bin ]; then + echo "gcc version $version not found" + exit 1 +fi +export PATH=/usr/local/gcc-${version}/bin:$PATH