@@ -132,32 +132,40 @@ jobs:
132
132
133
133
- job : bdist_wheel_dpnp_local_win
134
134
displayName : bdist_wheel_dpnp_local_win
135
+ timeoutInMinutes : 120
135
136
pool :
136
137
vmImage : ' windows-2019' # 'vs2017-win2016'
137
138
steps :
139
+ - script : set PYTHONUNBUFFERED=1
140
+ displayName : make output unbuffered
141
+
142
+ - powershell : Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
143
+ displayName : Add conda to PATH
144
+
138
145
- script : |
139
146
call scripts\install_system_deps_win.bat
140
- call scripts\install_cmake_win.bat
147
+ displayName: Install Intel ONE API
148
+ timeoutInMinutes: 60
149
+
150
+ - script : |
151
+ call activate
152
+ conda install -y conda-build numpy cython pytest hypothesis
153
+ displayName: Install extra conda packages
141
154
155
+ - script : |
156
+ call activate
157
+ call scripts\install_cmake_win.bat
142
158
echo ========================= Intel OneAPI setvars ===============================
143
- # call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat" intel64 vs2019
144
159
set "ONEAPI_ROOT=C:\Program Files (x86)\Intel\oneAPI\"
145
-
146
- echo =================== conda install conda-build ===========================
147
- :: call scripts\install_python_deps.sh
148
- conda install -y conda-build -c "%ONEAPI_ROOT%\conda_channel"
149
-
150
- call scripts\build_deps_dpctl_win.bat
151
- echo =================== build DPNP bdist_wheel package ===========================
152
- :: cmake -G Ninja ..
153
- :: cmake --build . --target install -- -v
154
- :: python setup.py build_clib
155
- :: python setup.py build_ext --inplace
160
+ call "%ONEAPI_ROOT%\compiler\latest\env\vars.bat"
161
+ call "%ONEAPI_ROOT%\dpl\latest\env\vars.bat"
162
+ call "%ONEAPI_ROOT%\tbb\latest\env\vars.bat"
163
+ echo =================== build DPNP wheel package ===========================
156
164
python setup.py bdist_wheel
157
- dir
158
- :: - publish: dist
159
- :: artifact: 'package_$(Agent.JobName)_$(Agent.OS)'
160
- :: displayName: bdist_wheel_local_win
165
+ displayName: build_bdist_wheel
166
+ - publish : dist
167
+ artifact : ' package_$(Agent.JobName)_$(Agent.OS)'
168
+ displayName : bdist_wheel_local_win_package
161
169
162
170
# test python ./setup.py bdist_wheel command with dpctl
163
171
- job : wheel_dpnp_dpctl_lin
0 commit comments