Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding 'raspa3' to Conda-forge #28815

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions recipes/raspa3/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cmake -G "Ninja Multi-Config" -B build --preset conda_raspa3 -DCMAKE_INSTALL_PREFIX=%PREFIX%
if errorlevel 1 exit 1
ninja -C build install
if errorlevel 1 exit 1
3 changes: 3 additions & 0 deletions recipes/raspa3/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
cmake -B build --preset conda_raspa3 -DCMAKE_INSTALL_PREFIX=${PREFIX}
ninja -C build install
4 changes: 4 additions & 0 deletions recipes/raspa3/conda-forge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
build_platform:
osx_arm64: osx_64
linux_aarch64: linux_64
test: native_and_emulated
8 changes: 8 additions & 0 deletions recipes/raspa3/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
c_compiler:
- clang
c_compiler_version:
- 19
cxx_compiler:
- clangxx
cxx_compiler_version:
- 19
75 changes: 75 additions & 0 deletions recipes/raspa3/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{% set name = "raspa3" %}
{% set version = "v3.0.1" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://github.com/iRASPA/RASPA3/archive/refs/tags/{{ version }}.tar.gz
sha256: 3a2d094bda0cbd48e8ca1760c73bfe70908ad3c154fc7b6f07003dbcad0dd8e4

build:
skip: true # [win]
number: 0

requirements:
build:
- {{ stdlib('c') }}
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- clang-tools
- llvm-tools
- cmake
- ninja
- lld
- libcxx-devel # [not win]
host:
- libcxx
- libcxxabi # [linux]
- libgcc # [linux]
- sysroot_linux-64 # [linux]
- hdf5
- openssl
- libcurl
- libaec
- lapack
- blas
- libopenblas
- zlib
run:
- sysroot_linux-64 # [linux]
- libcxxabi # [linux]
- libgcc # [linux]
- libcxx
- hdf5
- zlib
- openssl
- libcurl
- libaec
- lapack
- blas
- libopenblas


about:
home: https://github.com/iraspa/raspa3
summary: 'A general purpose classical simulation package'
description: |
RASPA is a software package for simulating adsorption and
diffusion of molecules in flexible nanoporous materials.
The code implements the latest state-of-the-art algorithms
for Molecular Dynamics and Monte Carlo in various ensembles
including symplectic/measure-preserving integrators, Ewald
summation, Configurational-Bias Monte Carlo, Continuous
Fractional Component Monte Carlo, and Reactive Monte Carlo.
license: MIT
license_family: MIT
license_file: LICENSE.md
# The doc_url and dev_url are optional.
doc_url: https://iraspa.github.io/RASPA3
dev_url: https://github.com/iraspa/raspa3

extra:
recipe-maintainers:
- dubbelda
1 change: 1 addition & 0 deletions recipes/raspa3/run_test.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
echo "hello"
1 change: 1 addition & 0 deletions recipes/raspa3/run_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
echo "hello"
4 changes: 4 additions & 0 deletions recipes/raspalib/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cmake -G "Ninja Multi-Config" -B build --preset conda_raspalib -DCMAKE_INSTALL_PREFIX=%PREFIX%
if errorlevel 1 exit 1
ninja -C build install
if errorlevel 1 exit 1
3 changes: 3 additions & 0 deletions recipes/raspalib/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
cmake -B build --preset conda_raspalib -DCMAKE_INSTALL_PREFIX=${PREFIX}
ninja -C build install
4 changes: 4 additions & 0 deletions recipes/raspalib/conda-forge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
build_platform:
osx_arm64: osx_64
linux_aarch64: linux_64
test: native_and_emulated
8 changes: 8 additions & 0 deletions recipes/raspalib/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
c_compiler:
- clang
c_compiler_version:
- 19
cxx_compiler:
- clangxx
cxx_compiler_version:
- 19
77 changes: 77 additions & 0 deletions recipes/raspalib/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{% set name = "raspalib" %}
{% set version = "v3.0.1" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://github.com/iRASPA/RASPA3/archive/refs/tags/{{ version }}.tar.gz
sha256: 3a2d094bda0cbd48e8ca1760c73bfe70908ad3c154fc7b6f07003dbcad0dd8e4

build:
skip: true # [win]
number: 0

requirements:
build:
- {{ stdlib('c') }}
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- clang-tools
- llvm-tools
- cmake
- ninja
- lld
- libcxx-devel # [not win]
host:
- libcxx
- libcxxabi # [linux]
- libgcc # [linux]
- sysroot_linux-64 # [linux]
- hdf5
- openssl
- libcurl
- libaec
- lapack
- blas
- libopenblas
- zlib
- python
run:
- sysroot_linux-64 # [linux]
- libcxxabi # [linux]
- libgcc # [linux]
- libcxx
- hdf5
- zlib
- openssl
- libcurl
- libaec
- lapack
- blas
- libopenblas
- python


about:
home: https://github.com/iraspa/raspa3
summary: 'Python library for raspa3 (a classical simulation package)'
description: |
RASPA is a software package for simulating adsorption and
diffusion of molecules in flexible nanoporous materials.
The code implements the latest state-of-the-art algorithms
for Molecular Dynamics and Monte Carlo in various ensembles
including symplectic/measure-preserving integrators, Ewald
summation, Configurational-Bias Monte Carlo, Continuous
Fractional Component Monte Carlo, and Reactive Monte Carlo.
license: MIT
license_family: MIT
license_file: LICENSE.md
# The doc_url and dev_url are optional.
doc_url: https://iraspa.github.io/RASPA3
dev_url: https://github.com/iraspa/raspa3

extra:
recipe-maintainers:
- dubbelda
1 change: 1 addition & 0 deletions recipes/raspalib/run_test.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
echo "hello"
1 change: 1 addition & 0 deletions recipes/raspalib/run_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
echo "hello"
Loading