File tree Expand file tree Collapse file tree 2 files changed +2
-33
lines changed Expand file tree Collapse file tree 2 files changed +2
-33
lines changed Original file line number Diff line number Diff line change 8989
9090use_parameters_lib = (not IS_WIN ) and (ONEDAL_VERSION >= 20240000 )
9191
92- try :
93- import dpctl
94-
95- dpctl_available = dpctl .__version__ >= "0.14"
96- except ImportError :
97- import importlib .util
98-
99- try :
100- dpctl_include = os .path .join (
101- importlib .util .find_spec ("dpctl" ).submodule_search_locations [0 ], "include"
102- )
103- dpctl_available = dpctl_include is not None
104- except AttributeError :
105- dpctl_available = False
106-
107- build_distribute = dpcpp and dpctl_available and not no_dist and IS_LIN
108-
92+ build_distribute = dpcpp and not no_dist and IS_LIN
10993
11094daal_lib_dir = lib_dir if (IS_MAC or os .path .isdir (lib_dir )) else os .path .dirname (lib_dir )
11195ONEDAL_LIBDIRS = [daal_lib_dir ]
Original file line number Diff line number Diff line change 5454no_dist = True if "NO_DIST" in os .environ and os .environ ["NO_DIST" ] in trues else False
5555dpcpp = shutil .which ("icpx" ) is not None
5656
57- try :
58- import dpctl
59-
60- dpctl_available = dpctl .__version__ >= "0.14"
61- except ImportError :
62- import importlib .util
63-
64- try :
65- dpctl_include = os .path .join (
66- importlib .util .find_spec ("dpctl" ).submodule_search_locations [0 ], "include"
67- )
68- dpctl_available = dpctl_include is not None
69- except AttributeError :
70- dpctl_available = False
71-
72- build_distribute = dpcpp and dpctl_available and not no_dist and IS_LIN
57+ build_distribute = dpcpp and not no_dist and IS_LIN
7358
7459ONEDAL_VERSION = get_onedal_version (dal_root )
7560
You can’t perform that action at this time.
0 commit comments