File: paths.patch

package info (click to toggle)
nvidia-cuda-samples 12.4.1~dfsg-1
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 313,216 kB
  • sloc: cpp: 82,042; makefile: 53,971; xml: 15,381; ansic: 8,630; sh: 91; python: 74
file content (17 lines) | stat: -rw-r--r-- 509 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Andreas Beckmann <anbe@debian.org>
Description: adjust paths for the Debian layout of nvidia-cuda-toolkit
Forwarded: not-needed

--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,10 @@
 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
+
+export CUDA_PATH	?= /usr
+export CUDA_SEARCH_PATH	?= /usr/lib/*/stubs
+
 ###############################################################################
 #
 # CUDA Samples