Skip to content

Commit cec18ab

Browse files
committed
Disable testTorchSimpleDnn for non-amd64 architectures
1 parent 707e9c6 commit cec18ab

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

PhysicsTools/PyTorch/test/BuildFile.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<use name="python_tools"/>
22

3-
<bin name="testTorchSimpleDnn" file="testRunner.cc,testTorchSimpleDnn.cc">
4-
<use name="pytorch"/>
5-
<use name="boost_filesystem"/>
6-
<use name="cppunit"/>
7-
</bin>
3+
<ifarch value="x86_64">
4+
<bin name="testTorchSimpleDnn" file="testRunner.cc,testTorchSimpleDnn.cc">
5+
<use name="pytorch"/>
6+
<use name="boost_filesystem"/>
7+
<use name="cppunit"/>
8+
</bin>
9+
</ifarch>
810

911
<iftool name="cuda">
1012
<bin name="testTorchSimpleDnnCUDA" file="testRunner.cc,testTorchSimpleDnnCUDA.cc">

0 commit comments

Comments
 (0)