Skip to content

Commit 81b8b74

Browse files
committed
Add npbench/polybench benchmarks to package release
1 parent ccfb262 commit 81b8b74

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

.github/workflows/conda-package.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
python: ['3.9', '3.10', '3.11']
30-
os: [ubuntu-latest, windows-latest]
30+
# os: [ubuntu-latest, windows-latest]
31+
os: [ubuntu-latest]
3132

3233
runs-on: ${{ matrix.os }}
3334

@@ -100,7 +101,8 @@ jobs:
100101
fail-fast: false
101102
matrix:
102103
python: ['3.9', '3.10', '3.11']
103-
os: [ubuntu-20.04, ubuntu-latest, windows-latest]
104+
# os: [ubuntu-20.04, ubuntu-latest, windows-latest]
105+
os: [ubuntu-latest]
104106
experimental: [false]
105107

106108
continue-on-error: ${{ matrix.experimental }}
@@ -168,6 +170,12 @@ jobs:
168170
dpbench -i numpy,numba_dpex_p,dpnp,numba_n,sycl run
169171
dpbench report
170172
173+
# we want to make sure that configuration files are geting populated
174+
- name: Run npbench benchmark
175+
run: |
176+
dpbench -i numpy -b azimint_hist run --npbench
177+
dpbench report
178+
171179
upload_anaconda:
172180
name: Upload dppy/label/dev ['${{ matrix.os }}', python='${{ matrix.python }}']
173181

dpbench/configs/__init__.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

dpbench/configs/bench_info/__init__.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

setup.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import os
88

9-
from setuptools import find_packages
9+
from setuptools import find_namespace_packages, find_packages
1010

1111
if not os.getenv("DPBENCH_SYCL"):
1212
from setuptools import setup
@@ -27,13 +27,15 @@
2727
# https://github.com/pypa/packaging-problems/issues/606
2828
url="https://github.com/IntelPython/dpbench",
2929
packages=(
30-
find_packages(include=["*"])
31-
+ find_packages(where="./dpbench/benchmarks/*/*")
30+
find_packages(include=["dpbench*"], exclude=["dpbench.benchmarks*"])
31+
+ find_namespace_packages(include=["dpbench.benchmarks*"])
32+
+ find_namespace_packages(include=["dpbench.configs*"])
3233
),
3334
include_package_data=True,
3435
package_data={
3536
"dpbench.migrations": ["alembic.ini"],
36-
"dpbench.configs": ["*/*.toml", "*.toml"],
37+
# "dpbench.configs": ["**/*.toml", "*.toml"],
38+
"": ["*.toml"],
3739
},
3840
cmake_args=cmake_args,
3941
)

0 commit comments

Comments
 (0)