File: paths.patch

package info (click to toggle)
nvidia-cuda-samples 12.5~dfsg-1
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 313,280 kB
  • sloc: cpp: 82,052; makefile: 56,205; xml: 15,391; ansic: 8,630; sh: 105; python: 74
file content (17 lines) | stat: -rw-r--r-- 509 bytes parent folder | download | duplicates (3)
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