Skip to content

Commit

Permalink
BUILD/DEBIAN: Conditional CUDA support based on PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-Rivkin committed Feb 10, 2023
1 parent 6910a39 commit 584b069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/rules.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

CUDA_OPT = $(shell echo ${DEB_BUILD_PROFILES} | grep -qw cuda \
CUDA_OPT = $(shell echo ${PATH} | grep -qw cuda \
&& echo --with-cuda=/usr/local/cuda || echo --without-cuda)

%:
Expand Down

0 comments on commit 584b069

Please sign in to comment.