Skip to content

Commit 58ff5be

Browse files
Merge pull request #1208 from IntelPython/feature/elementwise-functions-use-2.28
2 parents ca46b1b + b1495a2 commit 58ff5be

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

.github/workflows/conda-package.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
run: conda install conda-build
4545
- name: Build conda package
4646
run: |
47-
CHANNELS="-c intel -c main --override-channels"
47+
CHANNELS="-c dppy/label/tools -c intel -c main --override-channels"
4848
VERSIONS="--python ${{ matrix.python }}"
4949
TEST="--no-test"
5050
conda build \
@@ -161,13 +161,20 @@ jobs:
161161
run: |
162162
. $CONDA/etc/profile.d/conda.sh
163163
conda activate test_dpctl
164-
python -c "import dpctl; dpctl.lsplatform()"
164+
python -c "import dpctl; dpctl.lsplatform(verbosity=2)"
165+
- name: Install gdb
166+
run: |
167+
sudo apt-get install -y gdb
168+
- name: Run test_elementwise under gdb
169+
run: |
170+
. $CONDA/etc/profile.d/conda.sh
171+
conda activate test_dpctl
172+
gdb --batch -ex r -ex 'info sharedlibrary' -ex 'set print elements 1000' -ex bt --args ${CONDA_PREFIX}/bin/python -m pytest -q -ra --disable-warnings --pyargs dpctl.tests.test_tensor_elementwise::test_cos_order -vv || true
165173
- name: Run tests
166174
run: |
167175
. $CONDA/etc/profile.d/conda.sh
168176
conda activate test_dpctl
169-
# clinfo -l
170-
python -m pytest --pyargs $MODULE_NAME
177+
python -m pytest -v --pyargs $MODULE_NAME
171178
172179
test_windows:
173180
needs: build_windows

conda-recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ requirements:
1414
build:
1515
- {{ compiler('cxx') }}
1616
- {{ compiler('dpcpp') }} >=2023.1 # [not osx]
17-
- sysroot_linux-64 >=2.17 # [linux]
17+
- sysroot_linux-64 >=2.28 # [linux]
1818
host:
1919
- setuptools
2020
- cmake >=3.21

conda-recipe/run_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
set -e
44

55
${PYTHON} -c "import dpctl; print(dpctl.__version__)"
6-
${PYTHON} -c "import dpctl; dpctl.lsplatform()"
6+
${PYTHON} -c "import dpctl; dpctl.lsplatform(verbosity=2)"
77
${PYTHON} -m pytest -q -ra --disable-warnings -p no:faulthandler --cov dpctl --cov-report term-missing --pyargs dpctl -vv

0 commit comments

Comments
 (0)