Skip to content

Commit

Permalink
Add LIBDIR and INCLUDE for the CUPTI tools
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Jan 31, 2020
1 parent c3ee107 commit 15e4173
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cuda-toolfile.spec
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ cat << \EOF_TOOLFILE >%{i}/etc/scram.d/cupti.xml
<tool name="cupti" version="@TOOL_VERSION@">
<info url="https://docs.nvidia.com/cupti/Cupti/index.html"/>
<lib name="cupti"/>
<client>
<environment name="CUPTI_BASE" default="@TOOL_ROOT@"/>
<environment name="LIBDIR" default="$CUPTI_BASE/lib64"/>
<environment name="INCLUDE" default="$CUPTI_BASE/include"/>
</client>
</tool>
EOF_TOOLFILE

Expand All @@ -164,6 +169,11 @@ cat << \EOF_TOOLFILE >%{i}/etc/scram.d/nvperf.xml
<info url="https://docs.nvidia.com/cupti/Cupti/index.html"/>
<lib name="nvperf_host"/>
<lib name="nvperf_target"/>
<client>
<environment name="NVPERF_BASE" default="@TOOL_ROOT@"/>
<environment name="LIBDIR" default="$NVPERF_BASE/lib64"/>
<environment name="INCLUDE" default="$NVPERF_BASE/include"/>
</client>
</tool>
EOF_TOOLFILE

Expand Down

0 comments on commit 15e4173

Please sign in to comment.