From 13f74603af820fe6d36646c769e47f30a211eaa6 Mon Sep 17 00:00:00 2001 From: BBBmau Date: Mon, 25 Nov 2024 20:12:31 -0800 Subject: [PATCH] use CacheDir in root SConstruct remove linker --- .gitignore | 1 + SConstruct | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 63e31bb543..72a8895f87 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ *.egg-info/ *.html uv.lock +.scons_cache/ opendbc/can/*.so opendbc/can/*.a diff --git a/SConstruct b/SConstruct index 3a1eeffdfd..ab65312a2f 100644 --- a/SConstruct +++ b/SConstruct @@ -4,6 +4,8 @@ import sysconfig import platform import numpy as np +CacheDir('.scons_cache') + arch = subprocess.check_output(["uname", "-m"], encoding='utf8').rstrip() if platform.system() == "Darwin": arch = "Darwin"