Skip to content
Snippets Groups Projects
Commit b9679859 authored by Georges Da Costa's avatar Georges Da Costa
Browse files

Merge branch 'final_patch' into 'devel'

configure: no capability detection with `-u` flag

See merge request !8
parents 4d546b74 1dc25900
Branches
No related tags found
2 merge requests!9fix sensor example (doc),!8configure: no capability detection with `-u` flag
Pipeline #5717 failed
......@@ -130,8 +130,8 @@ detect_caps() {
if [ -e /usr/local/cuda/lib64 ] && [ -e /usr/local/cuda/include ]; then
hdr_whitelist="${hdr_whitelist}|nvidia_gpu"
NVML_LDFLAGS="-L/usr/local/cuda/lib64 -lnvidia-ml"
NVML_IFLAGS="-I/usr/local/cuda/include"
NVML_LDFLAGS='-L/usr/local/cuda/lib64 -lnvidia-ml'
NVML_IFLAGS='-I/usr/local/cuda/include'
fi
vendor=$(awk '/vendor_id/ {print $3; exit}' /proc/cpuinfo)
......@@ -160,9 +160,14 @@ case $1 in
NVML_LDFLAGS="-L/usr/local/cuda/lib64 -lnvidia-ml"
NVML_IFLAGS="-I/usr/local/cuda/include"
;;
--unique | -u)
unique=1
;;
esac
[ "$all" ] || detect_caps
if ! [ "$all" ] && ! [ "$unique" ]; then
detect_caps
fi
[ "$all" ] ||
while [ "$1" ]; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment