Skip to content

Commit ecfc317

Browse files
authored
FIX: no dpc if windows debug (#1767)
1 parent ef1fa89 commit ecfc317

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@
8585
trues = ["true", "True", "TRUE", "1", "t", "T", "y", "Y", "Yes", "yes", "YES"]
8686
no_dist = True if "NO_DIST" in os.environ and os.environ["NO_DIST"] in trues else False
8787
no_stream = "NO_STREAM" in os.environ and os.environ["NO_STREAM"] in trues
88+
debug_build = os.getenv("DEBUG_BUILD") == "1"
8889
mpi_root = None if no_dist else os.environ["MPIROOT"]
89-
dpcpp = shutil.which("icpx") is not None
90+
dpcpp = shutil.which("icpx") is not None and not (IS_WIN and debug_build)
9091

9192
use_parameters_lib = (not IS_WIN) and (ONEDAL_VERSION >= 20240000)
9293

0 commit comments

Comments
 (0)