We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfe532b commit d364977Copy full SHA for d364977
conda-recipe/bld.bat
@@ -1,11 +1,9 @@
1
-call "%ONEAPI_ROOT%\compiler\latest\env\vars.bat"
2
-if errorlevel 1 (
3
- echo "oneAPI compiler activation failed"
4
- exit /b 1
5
-)
+
+REM A workaround for activate-dpcpp.bat issue to be addressed in 2021.4
+set "LIB=%CONDA_PREFIX%\Library\lib;%CONDA_PREFIX%\compiler\lib;%LIB%"
6
7
"%PYTHON%" setup.py clean --all
8
-"%PYTHON%" setup.py install
+"%PYTHON%" setup.py install --sycl-compiler-prefix=%CONDA_PREFIX%\Library
9
if errorlevel 1 exit 1
10
11
rem Build wheel package
conda-recipe/meta.yaml
@@ -14,7 +14,7 @@ build:
14
requirements:
15
build:
16
- {{ compiler('cxx') }}
17
- - {{ compiler('dpcpp') }} # [linux]
+ - {{ compiler('dpcpp') }} # [not osx]
18
host:
19
- setuptools
20
- cython
0 commit comments