-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathmeta.yaml
92 lines (86 loc) · 3.17 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# conda-build meta.yaml format docs are at:
# https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html
{% set name = "map" %}
{% set version = environ.get('GIT_DESCRIBE_TAG', 'untagged')|string|replace('-','_') %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
git_url: {{ environ.get('FEEDSTOCK_ROOT', '..') }}
build:
number: {{ environ.get('GIT_DESCRIBE_NUMBER', '0') }}
string: {{ [PKG_BUILDNUM, ('h' + PKG_HASH), environ.get('GIT_DESCRIBE_HASH', '')]|join('_') }}
# python2 is not supported by MAP
# python<3.7 is not supported by conda-forge wxpython
# Native Windows isn't supported either, use WSL or Docker
skip: True # [win or py<37]
script_env:
- SYSTEM_DEFAULTWORKINGDIRECTORY # allow Azure variable into build.sh so that we can rescue our Test.xml files
requirements:
build: # build-arch
- cmake
- cython
- make
- doxygen
- python # specify here so that pinning from build matrix will be applied correctly
- rsync
- texlive-core
# compiler('cxx') is defined at https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/master/recipe/conda_build_config.yaml
# see:
# https://conda-forge.org/docs/maintainer/infrastructure.html#conda-forge-pinning
# https://docs.conda.io/projects/conda-build/en/latest/resources/variants.html#compiler-packages
- {{ compiler('cxx') }}
- {{ compiler('c') }}
# add duplicate clang dep per https://gitter.im/conda-forge/conda-forge.github.io?at=5e5feaf7ec7f8746aab200c4
- clang {{ linux_clang_version }} # [linux]
- clangxx {{ linux_clang_version }} # [linux]
- llvm-tools {{ linux_clang_version }} # [linux]
- cppcheck
# add runtime requirements for argos to make it easier to script
# creation of a 'dev' environment that can also run Argos
- matplotlib-base
- numpy
- pillow
- pyyaml
- wxpython
- ipython
- boost
host: # target-arch buildtime deps
- boost-cpp
- yaml-cpp
- sqlite
- hdf5
- python
- rapidjson
- zlib
# "build" packages picked up binutis 2.39 for gcc, but the "host" package picked up binutils 2.40 for python.
# Force host to use same binutils as build by including them in here.
- {{ compiler('cxx') }}
- {{ compiler('c') }}
run:
- matplotlib-base
- numpy
- pillow
- python
- pyyaml
- wxpython
- ipython
# duplicate required host libs to make it easier to script creation of run environent
- boost-cpp
- yaml-cpp
- sqlite
- hdf5
- boost
run_constrained:
# make sure that mac has good enough SDK
# See https://conda-forge.org/docs/maintainer/knowledge_base.html?highlight=feature#requiring-newer-macos-sdks
- __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx]
# TODO add post-packaging tests
about:
home: https://github.com/sparcians/map
summary: a set of classes, tools, and flows to aid in modeling/simulation of complex hardware for the purpose of performance analysis and design exploration
license: Apache-2.0
license_family: APACHE
license_file: LICENSE
dev_url: https://github.com/sparcians/map
doc_url: https://github.com/sparcians/map