Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Commit

Permalink
remove more make
Browse files Browse the repository at this point in the history
  • Loading branch information
geohot committed Dec 1, 2019
1 parent d092949 commit b559f63
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions can/packer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion can/packer_impl.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit b559f63

Please sign in to comment.