Skip to content

Commit

Permalink
Merge pull request #9633 from valsdav/IB/CMSSW_15_0_X/master
Browse files Browse the repository at this point in the history
Added FORCE_LINK to pytorch custom ops libraries
  • Loading branch information
smuzaffar authored Jan 27, 2025
2 parents b03511f + 8bffe3b commit 0005e15
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scram-project-build.file
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ BuildRequires: dwz
%endif

%if "%{?configtag:set}" != "set"
%define configtag V09-07-04
%define configtag V09-07-05
%endif

%if "%{?buildarch:set}" != "set"
Expand Down
3 changes: 2 additions & 1 deletion scram-tools.file/tools/pytorch-cluster/pytorch-cluster.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool name="pytorch-cluster" version="@TOOL_VERSION@" revision="1">
<tool name="pytorch-cluster" version="@TOOL_VERSION@" revision="2">
<client>
<environment name="PYTORCH_CLUSTER_BASE" default="@TOOL_ROOT@"/>
<environment name="INCLUDE" default="$PYTORCH_CLUSTER_BASE/include"/>
Expand All @@ -7,4 +7,5 @@
</client>
<use name="pytorch"/>
<lib name="torchcluster"/>
<flags FORCE_LINK="1"/>
</tool>
3 changes: 2 additions & 1 deletion scram-tools.file/tools/pytorch-scatter/pytorch-scatter.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool name="pytorch-scatter" version="@TOOL_VERSION@" revision="1">
<tool name="pytorch-scatter" version="@TOOL_VERSION@" revision="2">
<client>
<environment name="PYTORCH_SCATTER_BASE" default="@TOOL_ROOT@"/>
<environment name="INCLUDE" default="$PYTORCH_SCATTER_BASE/include"/>
Expand All @@ -7,4 +7,5 @@
</client>
<use name="pytorch"/>
<lib name="torchscatter"/>
<flags FORCE_LINK="1"/>
</tool>
3 changes: 2 additions & 1 deletion scram-tools.file/tools/pytorch-sparse/pytorch-sparse.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool name="pytorch-sparse" version="@TOOL_VERSION@" revision="1">
<tool name="pytorch-sparse" version="@TOOL_VERSION@" revision="2">
<client>
<environment name="PYTORCH_SPARSE_BASE" default="@TOOL_ROOT@"/>
<environment name="INCLUDE" default="$PYTORCH_SPARSE_BASE/include"/>
Expand All @@ -7,4 +7,5 @@
</client>
<use name="pytorch"/>
<lib name="torchsparse"/>
<flags FORCE_LINK="1"/>
</tool>

0 comments on commit 0005e15

Please sign in to comment.