mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-03 06:03:42 +08:00
c49df9dc57
date: 2026-08-29T14:21:18
master commit: 1dd5a7c91d
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')
|