Skip to content

Commit 7f3c75f

Browse files
Fixed build_locally.py to allow building debug build
1 parent af7d746 commit 7f3c75f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/build_locally.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,9 @@ def run(
4949
"--cmake-executable=" + cmake_executable,
5050
]
5151
cmake_args += [
52+
"--build-type=" + build_type,
53+
"--generator=" + build_system,
5254
"--",
53-
"-G",
54-
build_system,
55-
"-DCMAKE_BUILD_TYPE=" + build_type,
5655
"-DCMAKE_C_COMPILER:PATH=" + c_compiler,
5756
"-DCMAKE_CXX_COMPILER:PATH=" + cxx_compiler,
5857
"-DDPCTL_ENABLE_L0_PROGRAM_CREATION=" + ("ON" if level_zero else "OFF"),

0 commit comments

Comments
 (0)