Skip to content

Commit 574f20f

Browse files
committed
fix: Disable building of Colvars CUDA files in VMD
VMD's configure script is weird: it has a ton of variables to hold for CUDA source files for various components, but only "$cuda_cu" is actually defined and used.
1 parent 1de097c commit 574f20f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

devel-tools/generate-vmd-makefile.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Generate the file colvars_files.pl used by VMD (i.e. a poor person's version of a dependency file)
44

55
if [ ! -f "${1}" ] ; then
6-
echo "Usage: ${0} [... source files ...] [... header files ...] [... CUDA source files ...]" >& 2
6+
echo "Usage: ${0} [... source files ...] [... header files ...]" >& 2
77
exit 1
88
fi
99

@@ -18,10 +18,11 @@ for file in "${files[@]}" ; do
1818
elif [ "${file%.h}" != "${file}" ] ; then
1919
header_files+=("${file}")
2020
elif [ "${file%.cu}" != "${file}" ] ; then
21-
cuda_files+=("${file}")
21+
echo "Error: building of Colvars CUDA files with VMD is not supported yet" >&2
22+
# cuda_files+=("${file}")
2223
else
23-
echo "Error: file ${file} has an unsupported extennsion" >&2
24-
exit 1
24+
echo "Error: file ${file} has an unsupported extension" >&2
25+
exit 1
2526
fi
2627
done
2728

0 commit comments

Comments
 (0)