Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / src / cudaSolvers / Allwmake
blob72d78c87cdd4eb384e1f2b7e2763e51edaed29aa
1 #!/bin/bash
2 cd ${0%/*} || exit 1 # run from this directory
4 if [ -f $CUDA_BIN_DIR/nvcc ]
5 then
6 if [ -z $CUDA_IGNORE ]
7 then
8 echo "Found nvcc -- enabling CUDA support."
9 wmake libso
10 else
11 echo "Found nvcc but \$CUDA_IGNORE set -- not enabling CUDA support."
13 else
14 echo "No nvcc - CUDA not available."
17 # ----------------------------------------------------------------- end-of-file