From 7f3c75f2b3b1be567481885d8fa26081008a2c89 Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Thu, 12 May 2022 20:16:15 -0700 Subject: [PATCH] Fixed build_locally.py to allow building debug build --- scripts/build_locally.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/build_locally.py b/scripts/build_locally.py index 0486fe53a9..2f5098044f 100644 --- a/scripts/build_locally.py +++ b/scripts/build_locally.py @@ -49,10 +49,9 @@ def run( "--cmake-executable=" + cmake_executable, ] cmake_args += [ + "--build-type=" + build_type, + "--generator=" + build_system, "--", - "-G", - build_system, - "-DCMAKE_BUILD_TYPE=" + build_type, "-DCMAKE_C_COMPILER:PATH=" + c_compiler, "-DCMAKE_CXX_COMPILER:PATH=" + cxx_compiler, "-DDPCTL_ENABLE_L0_PROGRAM_CREATION=" + ("ON" if level_zero else "OFF"),