mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-11-14 19:43:52 +08:00
d1f7265156
date: 2026-11-07T15:35:24
master commit: 3d8f211d4b
14 lines
266 B
Python
14 lines
266 B
Python
import os
|
|
|
|
env = Environment(
|
|
COMPILATIONDB_USE_ABSPATH=True,
|
|
tools=["default", "compilation_db"],
|
|
)
|
|
|
|
SetOption('num_jobs', max(1, int((os.cpu_count() or 1)-1)))
|
|
|
|
env.CompilationDatabase("compile_commands.json")
|
|
|
|
# panda fw & test files
|
|
SConscript('SConscript')
|