File tree Expand file tree Collapse file tree 3 files changed +35
-6
lines changed Expand file tree Collapse file tree 3 files changed +35
-6
lines changed Original file line number Diff line number Diff line change @@ -135,11 +135,26 @@ jobs:
135
135
environment-file : ${{ env.environment-file }}
136
136
activate-environment : ' docs'
137
137
138
- - name : Conda info
139
- run : mamba info
138
+ # We can't install dpctl as a conda package when the environment is created through
139
+ # installing of Intel OneAPI packages because the dpctl conda package has a runtime
140
+ # dependency on DPC++ RT one. Whereas the DPC++ RT package has been already installed
141
+ # by the apt command above and its version has been matched with the DPC++ compiler.
142
+ # In case where we install the DPC++ compiler with the apt (including DPC++ RT) and
143
+ # install the DPC++ RT conda package while resolving dependencies, this can lead
144
+ # to a versioning error, i.e. compatibility issue as the DPC++ compiler only guarantees
145
+ # backwards compatibility, not forward compatibility (DPC++ RT may not run a binary built
146
+ # with a newer version of the DPC++ compiler).
147
+ # Installing dpctl via the pip manager has no such limitation, as the package has no
148
+ # run dependency on the DPC++ RT pip package, so this is why the step is necessary here.
149
+ - name : Install dpctl
150
+ if : env.oneapi-pkgs-env == ''
151
+ run : |
152
+ pip install -i https://pypi.anaconda.org/dppy/label/dev/simple dpctl
140
153
141
- - name : Conda list
142
- run : mamba list
154
+ - name : Conda info
155
+ run : |
156
+ mamba info
157
+ mamba list
143
158
144
159
- name : Build library
145
160
run : |
Original file line number Diff line number Diff line change 94
94
environment-file : ${{ env.environment-file }}
95
95
activate-environment : ' coverage'
96
96
97
+ # We can't install dpctl as a conda package when the environment is created through
98
+ # installing of Intel OneAPI packages because the dpctl conda package has a runtime
99
+ # dependency on DPC++ RT one. Whereas the DPC++ RT package has beedn already installed
100
+ # by the apt command above and its version has been matched with the DPC++ compiler.
101
+ # In case where we install the DPC++ compiler with the apt (including DPC++ RT) and
102
+ # install the DPC++ RT conda package while resolving dependencies, this can lead
103
+ # to a versioning error, i.e. compatibility issue as the DPC++ compiler only guarantees
104
+ # backwards compatibility, not forward compatibility (DPC++ RT may not run a binary built
105
+ # with a newer version of the DPC++ compiler).
106
+ # Installing dpctl via the pip manager has no such limitation, as the package has no
107
+ # run dependency on the DPC++ RT pip package, so this is why the step is necessary here.
108
+ - name : Install dpctl
109
+ if : env.oneapi-pkgs-env == ''
110
+ run : |
111
+ pip install -i https://pypi.anaconda.org/dppy/label/dev/simple dpctl
112
+
97
113
- name : Conda info
98
114
run : |
99
115
mamba info
Original file line number Diff line number Diff line change 1
1
name : Packages to build DPNP with OneAPI env activated
2
2
channels :
3
- - dppy/label/dev
4
3
- conda-forge
5
4
dependencies :
6
5
- cmake
7
6
- cython
8
- - dpctl>=0.19.0dev0
9
7
- ninja
10
8
- numpy
11
9
- pytest
You can’t perform that action at this time.
0 commit comments