This repository has been archived by the owner on Mar 12, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
meta.yaml
108 lines (96 loc) · 3.16 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{% set version = "1.82.0" %}
package:
name: boost-cpp
version: {{ version }}
source:
url: https://boostorg.jfrog.io/artifactory/main/release/{{ version }}/source/boost_{{ version|replace(".", "_") }}.tar.bz2
sha256: a6e1ab9b0860e6a2881dd7b21fe9f737a095e5f33a3a874afc6a345228597ee6
patches:
- 5eff1ecc8413b0dc93a1ab047d7fed751e6cb40e.patch # [not win]
build:
number: 2
requirements:
build:
- {{ compiler('cxx') }}
host:
- icu # [unix]
- xz # [unix]
- bzip2
- zlib
- zstd
run:
- icu # [unix]
- xz # [unix]
- bzip2
- zstd
run_constrained:
- libboost <0
test:
files:
- test
requires:
- {{ compiler('cxx') }} # [build_platform == target_platform]
commands:
# Verify Python headers are removed.
- '! test -f $PREFIX/include/boost/python.hpp' # [unix]
- '! test -d $PREFIX/include/boost/python' # [unix]
- if exist %PREFIX%\\Library\\include\\boost\\python.hpp exit 1 # [win]
- if exist %PREFIX%\\Library\\include\\boost\\python exit 1 # [win]
# Verify static-only libraries.
- test -f $PREFIX/lib/libboost_exception.a # [unix]
- test -f $PREFIX/lib/libboost_test_exec_monitor.a # [unix]
# Verify libraries.
{% set boost_libs = [
"atomic",
"chrono",
"container",
"context",
"contract",
"coroutine",
"date_time",
"filesystem",
"graph",
"iostreams",
"locale",
"log",
"log_setup",
"math_c99",
"math_c99f",
"math_tr1",
"math_tr1f",
"prg_exec_monitor",
"program_options",
"random",
"regex",
"serialization",
"system",
"thread",
"timer",
"type_erasure",
"unit_test_framework",
"wave",
"wserialization"
] %}
{% set boost_libs = boost_libs + ["math_c99l", "math_tr1l"] %} # [not ppc64le]
{% for each_boost_lib in boost_libs %}
- test ! -f $PREFIX/lib/libboost_{{ each_boost_lib }}.a # [unix]
- test -f $PREFIX/lib/libboost_{{ each_boost_lib }}.dylib # [osx]
- test -f $PREFIX/lib/libboost_{{ each_boost_lib }}.so # [linux]
- if not exist %PREFIX%\\Library\\bin\\boost_{{ each_boost_lib }}.dll exit 1 # [win]
- if not exist %PREFIX%\\Library\\lib\\boost_{{ each_boost_lib }}.lib exit 1 # [win]
- if exist %PREFIX%\\Library\\lib\\libboost_{{ each_boost_lib }}.lib exit 1 # [win]
{% endfor %}
about:
home: http://www.boost.org/
license: BSL-1.0
license_file: LICENSE_1_0.txt
summary: Free peer-reviewed portable C++ source libraries.
extra:
recipe-maintainers:
- ccordoba12
- jakirkham
- msarahan
- ocefpaf
- jschueller
- isuruf
- xhochy