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:
135135 environment-file : ${{ env.environment-file }}
136136 activate-environment : ' docs'
137137
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
140153
141- - name : Conda list
142- run : mamba list
154+ - name : Conda info
155+ run : |
156+ mamba info
157+ mamba list
143158
144159 - name : Build library
145160 run : |
Original file line number Diff line number Diff line change 9494 environment-file : ${{ env.environment-file }}
9595 activate-environment : ' coverage'
9696
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+
97113 - name : Conda info
98114 run : |
99115 mamba info
Original file line number Diff line number Diff line change 11name : Packages to build DPNP with OneAPI env activated
22channels :
3- - dppy/label/dev
43 - conda-forge
54dependencies :
65 - cmake
76 - cython
8- - dpctl>=0.19.0dev0
97 - ninja
108 - numpy
119 - pytest
You can’t perform that action at this time.
0 commit comments