Skip to content

Commit

Permalink
Merge pull request #41435 from smuzaffar/drop-numba
Browse files Browse the repository at this point in the history
drop numba and llvmlite tests
  • Loading branch information
cmsbuild authored Apr 27, 2023
2 parents aa759ef + 5fbbf47 commit ca7d759
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 42 deletions.
12 changes: 2 additions & 10 deletions PhysicsTools/PythonAnalysis/test/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,8 @@
<test name="test_root_PyMVA" command="rm -f tmp/test_PyMVA; mkdir tmp/test_PyMVA; cd tmp/test_PyMVA; cp $(LOCALTOP)/src/PhysicsTools/PythonAnalysis/test/test_PyMVA.cpp .; root -n -b -l -q test_PyMVA.cpp+">
<use name="rootpymva"/>
</test>
<iftool name="py2-numba">
<test name="testNumba" command="testNumba.py"/>
</iftool>
<iftool name="py2-llvmlite">
<test name="testLLVMLite" command="python3 -c 'import llvmlite'"/>
</iftool>
<iftool name="py2-numpy">
<test name="testNumPy" command="python3 -c 'import numpy'"/>
</iftool>
<iftool name="py2-cx-oracle">
<test name="testNumPy" command="python3 -c 'import numpy'"/>
<iftool name="py3-cx-oracle">
<test name="testCxOracle" command="python3 -c 'import cx_Oracle'"/>
</iftool>

Expand Down
30 changes: 0 additions & 30 deletions PhysicsTools/PythonAnalysis/test/testNumba.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import pickle
import networkx as nx
import numpy as np
#import numba
import os
import uproot
import uproot_methods
Expand Down Expand Up @@ -35,7 +34,6 @@
for p in pdgids:
map_pdgid_to_candid[p] = candid

#@numba.njit
def get_charge(pid):
abs_pid = abs(pid)
if pid == 130 or pid == 22 or pid == 1 or pid == 2:
Expand Down

0 comments on commit ca7d759

Please sign in to comment.