Skip to content

Commit

Permalink
# This is a combination of 11 commits.
Browse files Browse the repository at this point in the history
# This is the 1st commit message:

Adding recipe for jax-finufft

# This is the commit message conda-forge#2:

Adding finufft license

# This is the commit message conda-forge#3:

Fixing download url

# This is the commit message conda-forge#4:

Correct source hash

# This is the commit message conda-forge#5:

add setuptools_scm

# This is the commit message conda-forge#6:

Trying to work out where dependencies go

# This is the commit message conda-forge#7:

build deps

# This is the commit message conda-forge#8:

double deps

# This is the commit message conda-forge#9:

minimum python version

# This is the commit message conda-forge#10:

Python version constraint

# This is the commit message conda-forge#11:

Adding conda build config
  • Loading branch information
dfm committed Apr 23, 2024
1 parent e07cd91 commit d47ccfe
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/jax-finufft/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
MACOSX_SDK_VERSION: # [osx and x86_64]
- '10.14' # [osx and x86_64]
MACOSX_DEPLOYMENT_TARGET: # [osx and x86_64]
- '10.14' # [osx and x86_64]
62 changes: 62 additions & 0 deletions recipes/jax-finufft/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{% set name = "jax-finufft" %}
{% set version = "0.1.0" %}

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

source:
url: https://pypi.io/packages/source/j/jax-finufft/jax_finufft-{{ version }}.tar.gz
sha256: 0c9173837fa0ae47b61074f8c05b246d9ca5b21bda6174beda8c27ea75c4f152

build:
script: {{ PYTHON }} -m pip install . -vv
number: 0
skip: True # [win or py<39]

requirements:
build:
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- scikit-build-core # [build_platform != target_platform]
- setuptools_scm # [build_platform != target_platform]
- nanobind # [build_platform != target_platform]
- {{ compiler('cxx') }}
- cmake
- make # [linux]
host:
- python
- scikit-build-core
- setuptools_scm
- nanobind
- pip
- fftw
- llvm-openmp # [osx]
- libgomp # [linux]
run:
- python
- jax
- pydantic

test:
imports:
- jax_finufft
- jax_finufft.jax_finufft_cpu
requires:
- pip
commands:
- pip check

about:
home: https://github.com/flatironinstitute/jax-finufft
license: Apache-2.0
license_file:
- LICENSE
- vendor/finufft/LICENSE
summary: JAX bindings to the Flatiron Institute Non-uniform Fast Fourier Transform library
dev_url: https://github.com/flatironinstitute/jax-finufft

extra:
recipe-maintainers:
- dfm
- lgarrison

0 comments on commit d47ccfe

Please sign in to comment.