mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-09-08 01:03:41 +08:00
b713eae9f8
old-commit-hash: d7f0b402a878b185dbf65d0a7819f5959dd9b8c2
10 lines
286 B
Python
10 lines
286 B
Python
# pylint: skip-file
|
|
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 selfdrive.can.packer_impl import CANPacker
|
|
assert CANPacker
|