Skip to content

Commit

Permalink
FIX: no dpc if windows debug (#1767)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanglaser authored Mar 19, 2024
1 parent ef1fa89 commit ecfc317
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@
trues = ["true", "True", "TRUE", "1", "t", "T", "y", "Y", "Yes", "yes", "YES"]
no_dist = True if "NO_DIST" in os.environ and os.environ["NO_DIST"] in trues else False
no_stream = "NO_STREAM" in os.environ and os.environ["NO_STREAM"] in trues
debug_build = os.getenv("DEBUG_BUILD") == "1"
mpi_root = None if no_dist else os.environ["MPIROOT"]
dpcpp = shutil.which("icpx") is not None
dpcpp = shutil.which("icpx") is not None and not (IS_WIN and debug_build)

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

Expand Down

0 comments on commit ecfc317

Please sign in to comment.