remove more make
This commit is contained in:
parent
d09294966f
commit
b559f63d6e
|
@ -2,8 +2,5 @@
|
|||
import os
|
||||
import subprocess
|
||||
|
||||
can_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
subprocess.check_call(["make", "-j3", "packer_impl.so"], cwd=can_dir) # don't use all the cores to avoid overheating
|
||||
|
||||
from opendbc.can.packer_impl import CANPacker
|
||||
assert CANPacker
|
||||
|
|
|
@ -71,7 +71,6 @@ cdef class CANPacker():
|
|||
can_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
libdbc_fn = os.path.join(can_dir, "libdbc.so")
|
||||
libdbc_fn = str(libdbc_fn).encode('utf8')
|
||||
subprocess.check_call(["make"], cwd=can_dir)
|
||||
|
||||
cdef void *libdbc = dlopen(libdbc_fn, RTLD_LAZY)
|
||||
self.canpack_init = <canpack_init_func>dlsym(libdbc, 'canpack_init')
|
||||
|
|
Loading…
Reference in New Issue