move libraries from build to host section, remove sha256 variable
{% set name = "polyhedral-gravity-model" %}
{% set org = "esa" %}
{% set version = "1.1.0" %}
-{% set sha256 = "2255b2cd136cfd0e7f02bb1020f67af4ca2c99e23e4006e18077e10dc0a326ac" %}
package:
name: {{ name|lower }}
@@ -9,7 +8,7 @@ package:
source:
url: https://github.com/{{ org }}/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz
- sha256: {{ sha256 }}
+ sha256: 2255b2cd136cfd0e7f02bb1020f67af4ca2c99e23e4006e18077e10dc0a326ac
build:
script_env:
@@ -24,15 +23,14 @@ requirements:
- cmake
- make # [linux]
- ninja
+ - llvm-openmp # [osx]
+ - libgomp # [linux]
+ host:
- python
- spdlog
- yaml-cpp
- xsimd
- pybind11
- - llvm-openmp # [osx]
- - libgomp # [linux]
- host:
- - python
- pip
run:
- python
