@@ -20,13 +20,16 @@ Build and Install Conda Package
2020conda create -n build-env conda-build
2121conda activate build-env
2222```
23- 2 . Build conda package
23+ 2 . Set environment variable ` ONEAPI_ROOT ` and build conda package
2424``` bash
25- conda build conda-recipe
25+ export ONEAPI_ROOT=/opt/intel/oneapi
26+ conda build conda-recipe -c ${ONEAPI_ROOT} /conda_channel
2627```
27- On Windows to cope with [ long file names] ( https://github.com/IntelPython/dpctl/issues/15 ) :
28+ On Windows to cope with [ long file names] ( https://github.com/IntelPython/dpctl/issues/15 )
29+ use ` croot ` with short folder path:
2830``` cmd
29- conda build --croot=C:/tmp conda-recipe
31+ set "ONEAPI_ROOT=C:\Program Files (x86)\Intel\oneAPI\"
32+ conda build --croot=C:/tmp conda-recipe -c "%ONEAPI_ROOT%\conda_channel"
3033```
3134
3235:warning : ** You could face issues with conda-build=3.20** : Use conda-build=3.18!
@@ -52,7 +55,7 @@ python setup.py develop
5255
5356Using dpCtl
5457===========
55- dpCtl relies on DPC++ runtime. With Intel oneAPI installed you should activate it.
58+ dpCtl relies on DPC++ runtime. With Intel oneAPI installed you could activate it.
5659
5760On Windows:
5861``` cmd
@@ -63,6 +66,12 @@ On Linux:
6366source ${ONEAPI_ROOT} /compiler/latest/env/vars.sh
6467```
6568
69+ When dpCtl is installed via conda package
70+ then it uses DPC++ runtime from ` dpcpp_cpp_rt ` package
71+ and it is not necessary to activate oneAPI DPC++ compiler environment.
72+
73+ ` dpcpp_cpp_rt ` package is provided by oneAPI ` conda_channel ` .
74+
6675Examples
6776========
6877See examples in folder ` examples ` .
0 commit comments