Skip to content

Commit

Permalink
Merge pull request #32 from njzjz/conda-forge
Browse files Browse the repository at this point in the history
move to conda-forge channel
  • Loading branch information
njzjz authored Nov 21, 2023
2 parents 037f677 + ec0c941 commit 15f1d2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ jobs:
- name: deepmd-kit
platform: linux-64
- name: deepmd-kit
cuda: '11.6'
platform: linux-64
- name: deepmd-kit
cuda: '10.2'
cuda: '11.8'
platform: linux-64
#- name: deepmd-kit-gpu
# cuda: '10.2'
Expand All @@ -34,7 +31,7 @@ jobs:
CUDA_VERSION: ${{ matrix.cuda }}
CONDA_OVERRIDE_CUDA: ${{ matrix.cuda }}
- run: export NAME=`ls deepmd-kit-*.sh` && split -a 1 -d -n 2 ${NAME} ${NAME}. && rm deepmd-kit-*.sh
if: matrix.cuda == '11.6'
if: matrix.cuda == '11.8'
- name: Upload to release
uses: softprops/action-gh-release@master
if: startsWith(github.ref, 'refs/tags/')
Expand Down
13 changes: 3 additions & 10 deletions deepmd-kit/construct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,19 @@
{% if cuda_version == '' %}
{% set variant = "cpu" %}
{% else %}
{% set variant = "cuda" + cuda_version + "_gpu" %}
{% set variant = "cuda" + cuda_version.replace(".", "") %}
{% endif %}

name: deepmd-kit
version: {{ version }}-{{ variant }}

channels:
- https://conda.anaconda.org/deepmodeling
- https://conda.deepmodeling.org
- https://repo.anaconda.com/pkgs/main/
- https://conda.anaconda.org/conda-forge # [ppc64le]
- https://conda.anaconda.org/conda-forge

specs:
- deepmd-kit {{ version }} *{{ variant }}
- libdeepmd {{ version }} *{{ variant }}
- deepmd-kit {{ version }} {{ variant }}*
- lammps
- horovod
{% if cuda_version == '' %}
- nocuda
{% endif %}
- dpdata
- conda

Expand Down

0 comments on commit 15f1d2b

Please sign in to comment.