remove more make

This commit is contained in:
George Hotz 2019-12-01 14:47:05 -08:00
parent d09294966f
commit b559f63d6e
2 changed files with 0 additions and 4 deletions

View File

@ -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

View File

@ -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')