Fixed closing comments on cuda file headers; reversed Allwmake logic
[foam-extend-3.0.git] / src / cudaSolvers / Allwmake
blob095b3108d8e632888e3a14373bfdd801f95cbd3c
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."
12 fi
13 else
14 echo "No nvcc - CUDA not available."
17 # ----------------------------------------------------------------- end-of-file