Vendors libjpeg-turbo 3.1.0 as a static library for openpilot, following the same pattern as zstd/ncurses/zeromq. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
335 B
Python
11 lines
335 B
Python
import os
|
|
|
|
DIR = os.path.join(os.path.dirname(__file__), "install")
|
|
LIB_DIR = os.path.join(DIR, "lib")
|
|
INCLUDE_DIR = os.path.join(DIR, "include")
|
|
|
|
|
|
def smoketest():
|
|
assert os.path.isfile(os.path.join(LIB_DIR, "libjpeg.a")), "libjpeg.a not found"
|
|
assert os.path.isfile(os.path.join(INCLUDE_DIR, "jpeglib.h")), "jpeglib.h not found"
|