File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,9 @@ jobs:
212
212
call "%ONEAPI_ROOT%\dpl\latest\env\vars.bat"
213
213
call "%ONEAPI_ROOT%\tbb\latest\env\vars.bat"
214
214
echo =================== conda build DPNP ===========================
215
- call conda build conda-recipe -c intel
215
+ call conda list
216
+ call python --version
217
+ call conda build conda-recipe -c local -c intel
216
218
mkdir dist
217
219
echo ========== it doesn't work yet =========================
218
220
displayName: build_conda
Original file line number Diff line number Diff line change @@ -4,16 +4,29 @@ rem git tag 0.5.0rc2
4
4
5
5
echo +++++++++++++++++++++++++ Python version +++++++++++++++++++++++++++
6
6
call python --version
7
+
8
+ rem need to keep package file exists because it will be used as a channel for conda build later
9
+ set DPCTL_DIST = %CD% \dist_dpctl
10
+
11
+ call conda uninstall -y dpctl
12
+
7
13
echo +++++++++++++++++++++++++ Downlowd DPCTL +++++++++++++++++++++++++++
8
14
call git clone https://github.com/IntelPython/dpctl.git
9
15
cd dpctl
10
16
11
17
set " ONEAPI_ROOT = C:\Program Files (x86)\Intel\oneAPI\"
12
18
echo +++++++++++++++++++++++++ Build DPCTL +++++++++++++++++++++++++++
13
- call conda build --croot=C:/tmp conda-recipe --no-test -c " %ONEAPI_ROOT% \conda_channel"
19
+ call conda build --croot=C:/tmp conda-recipe --no-test -c " %ONEAPI_ROOT% \conda_channel" --output-folder %DPCTL_DIST%
20
+
21
+ echo +++++++++++++++++++++++++ get DPCTL package name +++++++++++++++++++++++++++
22
+ rem this garbage here is because
23
+ rem I didn't find a method how to get path and filename for the package built by conda build
24
+ FOR /F " tokens=* USEBACKQ" %%F IN (`dir /B %DPCTL_DIST% \win-64\dpctl*.bz2`) DO SET DPCTL_PACKAGE_NAME = %%F
25
+ echo %DPCTL_DIST%
26
+ echo %DPCTL_PACKAGE_NAME%
14
27
15
28
echo +++++++++++++++++++++++++ install DPCTL +++++++++++++++++++++++++++
16
- call conda install -y dpctl --strict-channel-priority -c local -c intel
29
+ call conda install -y %DPCTL_DIST% /win-64/ %DPCTL_PACKAGE_NAME%
17
30
18
31
cd ..
19
32
echo +++++++++++++++++++++++++ cleanup DPCTL sources +++++++++++++++++++++++++++
You can’t perform that action at this time.
0 commit comments