From b559f63d6e28a6e09719d340e262b423c54eee60 Mon Sep 17 00:00:00 2001 From: George Hotz Date: Sun, 1 Dec 2019 14:47:05 -0800 Subject: [PATCH] remove more make --- can/packer.py | 3 --- can/packer_impl.pyx | 1 - 2 files changed, 4 deletions(-) diff --git a/can/packer.py b/can/packer.py index 95a4e138..d812af6d 100644 --- a/can/packer.py +++ b/can/packer.py @@ -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 diff --git a/can/packer_impl.pyx b/can/packer_impl.pyx index d7c6119b..7869b359 100644 --- a/can/packer_impl.pyx +++ b/can/packer_impl.pyx @@ -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 = dlsym(libdbc, 'canpack_init')