Skip to content

Commit 56026ce

Browse files
author
Diptorup Deb
authored
Merge pull request #264 from Hardcode84/meta-yaml
Install dependencies from file
2 parents 0377c9e + b4befd8 commit 56026ce

File tree

2 files changed

+36
-10
lines changed

2 files changed

+36
-10
lines changed

.github/workflows/build_and_run.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,14 @@ jobs:
3838
with:
3939
auto-update-conda: true
4040
python-version: ${{ matrix.python }}
41+
mamba-version: "*"
4142
activate-environment: dpbench-dev
43+
environment-file: dpbench-env-linux.yml
4244

4345
- name: Conda info
44-
shell: bash -l {0}
45-
run: conda info
46-
47-
- name: Install dpbench dependencies
4846
shell: bash -l {0}
4947
run: |
50-
conda install -c intel tbb dpcpp_linux-64
51-
conda install numpy numba cython cmake ninja scikit-build pandas
52-
conda install scipy scikit-learn pybind11 tomli
53-
conda install -c pkgs/main libgcc-ng">=11.2.0" libstdcxx-ng">=11.2.0" libgomp">=11.2.0"
54-
conda install -c dppy/label/dev -c intel -c main dpctl numba-dpex dpnp numba-mlir
55-
pip install alembic
48+
conda info
5649
conda list
5750
5851
- name: Build dpbench

dpbench-env-linux.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# SPDX-FileCopyrightText: 2022 - 2023 Intel Corporation
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
name: dpbench-dev
6+
channels:
7+
- dppy/label/dev
8+
- intel
9+
- conda-forge
10+
dependencies:
11+
- tbb
12+
- dpcpp_linux-64
13+
- numpy
14+
- numba
15+
- cython
16+
- cmake>=3.22
17+
- ninja
18+
- scikit-build
19+
- pandas
20+
- scipy
21+
- scikit-learn
22+
- pybind11
23+
- tomli
24+
- dpctl
25+
- numba-dpex
26+
- dpnp
27+
- numba-mlir
28+
- libgcc-ng>=11.2.0
29+
- libstdcxx-ng>=11.2.0
30+
- libgomp>=11.2.0
31+
32+
- pip:
33+
- alembic

0 commit comments

Comments
 (0)