Skip to content
Open
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
52 changes: 52 additions & 0 deletions recipes/mojogp/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
package:
name: mojogp
version: "0.26.7.0"

source:
git: https://github.com/caspbian/mojogp.git
rev: 344eebac24e208d4905f738a2b95f4f0b9da630b

build:
number: 0
script:
- python -m pip install . --no-deps --no-build-isolation --ignore-installed -vv

requirements:
host:
- python >=3.10,<3.12
- pip
- setuptools >=61.0
run:
- python >=3.10,<3.12
- numpy
- sympy >=1.12
- tqdm
- mojo =1.0.0b2
- max =26.4.0

tests:
- script:
- |
python - <<'PY'
import importlib.metadata as md
import mojogp

expected = "0.26.7.0"
installed = md.version("mojogp")
print("mojogp", installed)
if installed != expected:
raise SystemExit(f"unexpected installed version: {installed}")
if mojogp.__version__ != expected:
raise SystemExit(f"unexpected module version: {mojogp.__version__}")
PY

about:
homepage: https://github.com/caspbian/mojogp
repository: https://github.com/caspbian/mojogp
license: MIT
license_file: LICENSE
summary: GPU-accelerated Gaussian Process library using Mojo kernels

extra:
maintainers:
- caspbian