Skip to content

Commit

Permalink
libcuda should be part of cuda-stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Oct 12, 2017
1 parent f1b3f32 commit 44fa357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cuda-toolfile.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ mkdir -p %{i}/etc/scram.d
cat << \EOF_TOOLFILE >%{i}/etc/scram.d/cuda-stubs.xml
<tool name="cuda-stubs" version="@TOOL_VERSION@">
<info url="https://developer.nvidia.com/cuda-toolkit"/>
<lib name="cuda"/>
<client>
<environment name="CUDA_STUBS_BASE" default="@TOOL_ROOT@"/>
<environment name="LIBDIR" default="$CUDA_STUBS_BASE/lib64/stubs"/>
Expand All @@ -22,7 +23,6 @@ cat << \EOF_TOOLFILE >%{i}/etc/scram.d/cuda.xml
<tool name="cuda" version="@TOOL_VERSION@">
<info url="https://developer.nvidia.com/cuda-toolkit"/>
<use name="cuda-stubs"/>
<lib name="cuda"/>
<lib name="cudart"/>
<lib name="nppc"/>
<lib name="nvToolsExt"/>
Expand Down

0 comments on commit 44fa357

Please sign in to comment.