File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- # We need dpcpp to compile dpctl_sycl_interface
4- if [ ! -z " ${ONEAPI_ROOT} " ]; then
5- # Suppress error b/c it could fail on Ubuntu 18.04
6- source ${ONEAPI_ROOT} /compiler/latest/env/vars.sh || true
7- else
8- echo " DPCPP is needed to build DPCTL. Abort!"
9- exit 1
10- fi
11-
123${PYTHON} setup.py clean --all
13- ${PYTHON} setup.py install
4+ ${PYTHON} setup.py install --sycl-compiler-prefix= $CONDA_PREFIX
145
156# Build wheel package
167if [ " $CONDA_PY " == " 36" ]; then
Original file line number Diff line number Diff line change 1- {% set name = "dpctl" %}
2-
31package :
4- name : {{ name|lower }}
2+ name : dpctl
53 version : {{ GIT_DESCRIBE_TAG }}
64
75source :
@@ -10,12 +8,13 @@ source:
108build :
119 number : {{ GIT_DESCRIBE_NUMBER }}
1210 script_env :
13- - ONEAPI_ROOT
11+ - ONEAPI_ROOT # [not linux]
1412 - WHEELS_OUTPUT_FOLDER
1513
1614requirements :
1715 build :
1816 - {{ compiler('cxx') }}
17+ - {{ compiler('dpcpp') }} # [linux]
1918 host :
2019 - setuptools
2120 - cython
You can’t perform that action at this time.
0 commit comments