From 58c9ca9519492af35649b68fd2759d05d524c762 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 26 Jan 2023 20:49:13 +0530 Subject: [PATCH] ... --- setup/build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/build.py b/setup/build.py index b545e46ce7..6d8cbf45e1 100644 --- a/setup/build.py +++ b/setup/build.py @@ -300,6 +300,7 @@ class Build(Command): help='Build with sanitization support. Run with LD_PRELOAD=$(gcc -print-file-name=libasan.so)') def dump_db(self, name, db): + os.makedirs('build', exist_ok=True) try: with open(f'build/{name}_commands.json', 'w') as f: json.dump(db, f, indent=2)