conda_build_config.yaml 9.51 KB
Newer Older
1
2
3
4
5
6
# This differs from target_platform in that it determines what subdir the compiler
#    will target, not what subdir the compiler package will be itself.
#    For example, we need a win-64 vs2008_win-32 package, so that we compile win-32
#    code on win-64 miniconda.
cross_compiler_target_platform:  # [win]
  - win-64                     # [win]
7
c_compiler:
8
  - gcc                        # [linux]
9
  - clang                      # [osx]
10
11
12
13
  - vs2017                     # [win]
c_compiler_version:            # [unix]
  - 11                         # [osx]
  - 9                          # [linux]
14
cxx_compiler:
15
  - gxx                        # [linux]
16
  - clangxx                    # [osx]
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
  - vs2017                     # [win]
cxx_compiler_version:          # [unix]
  - 11                         # [osx]
  - 9                          # [linux]
llvm_openmp:                   # [osx]
  - 11                         # [osx]
fortran_compiler:              # [unix or win64]
  - gfortran                   # [linux64 or (osx and x86_64)]
  - gfortran                   # [aarch64 or ppc64le or armv7l or s390x]
  - flang                      # [win64]
fortran_compiler_version:      # [unix or win64]
  - 11                         # [osx and arm64]
  - 9                          # [osx and x86_64]
  - 9                          # [linux]
  - 5                          # [win64]
m2w64_c_compiler:              # [win]
  - m2w64-toolchain            # [win]
m2w64_cxx_compiler:            # [win]
  - m2w64-toolchain            # [win]
m2w64_fortran_compiler:        # [win]
  - m2w64-toolchain            # [win]
CMAKE_GENERATOR:               # [win]
  - NMake Makefiles            # [win]

cuda_compiler:                 # [linux64]
  - nvcc                       # [linux64]
cuda_compiler_version:
  - None
  - 10.2                       # [linux64]
cudnn:
  - undefined
  - 7                          # [linux64]

_libgcc_mutex:
  - 0.1 conda_forge
#
# Go Compiler Options
#

# The basic go-compiler with CGO disabled,
# It generates fat binaries without libc dependencies
# The activation scripts will set your CC,CXX and related flags
# to invalid values.
go_compiler:
  - go-nocgo
# The go compiler build with CGO enabled.
# It can generate fat binaries that depend on conda's libc.
# You should use this compiler if the underlying
# program needs to link against other C libraries, in which
# case make sure to add  'c,cpp,fortran_compiler' for unix
# and the m2w64 equivalent for windows.
cgo_compiler:
  - go-cgo
# The following are helpful variables to simplify go meta.yaml files.
target_goos:
  - linux                      # [linux]
  - darwin                     # [osx]
  - windows                    # [win]
target_goarch:
  - amd64                      # [x86_64]
target_goexe:
  -                            # [unix]
  - .exe                       # [win]
target_gobin:
  - '${PREFIX}/bin/'           # [unix]
  - '%PREFIX%\bin\'            # [win]

# Rust Compiler Options
85
86
87
88
89
rust_compiler:
  - rust
rust_compiler_version:
  - 1.40.0

90
91
92
93
94
95
CONDA_BUILD_SYSROOT:            # [osx]
  - /opt/MacOSX10.10.sdk        # [osx]
# This helps CMAKE find the sysroot. See
# https://cmake.org/cmake/help/v3.11/variable/CMAKE_OSX_SYSROOT.html
SDKROOT:                        # [osx]
  - /opt/MacOSX10.10.sdk        # [osx]
96
97
98
99
100
101
102
103
macos_machine:                 # [osx]
  - x86_64-apple-darwin13.4.0  # [osx and x86_64]
  - arm64-apple-darwin20.0.0   # [osx and arm64]
MACOSX_DEPLOYMENT_TARGET:      # [osx]
  - 11.0                       # [osx and arm64]
  - 10.9                       # [osx and x86_64]
target_platform:               # [win]
  - win-64                     # [win]
André Anjos's avatar
André Anjos committed
104
105
106
107
108
109
VERBOSE_AT:
  - V=1
# makes cmake verbose
VERBOSE_CM:
  - VERBOSE=1

110
111
112
113
114
115
116
# dual build configuration
channel_sources:
  - conda-forge,defaults                        # [not (aarch64 or armv7l or (osx and arm64) or s390x)]
  - conda-forge                                 # [osx and arm64]
  - conda-forge                                 # [aarch64]
  - conda-forge,c4armv7l,defaults               # [armv7l]
  - https://conda-web.anaconda.org/conda-forge  # [s390x]
André Anjos's avatar
André Anjos committed
117
118
119

## the dependencies that we build against multiple versions
python:
120
121
122
123
124
  # part of a zip_keys: python, python_impl, numpy
  - 3.8.* *_cpython
python_impl:
  # part of a zip_keys: python, python_impl, numpy
  - cpython
André Anjos's avatar
André Anjos committed
125
126

zip_keys:
127
128
129
130
  -                             # [unix]
    - c_compiler_version        # [unix]
    - cxx_compiler_version      # [unix]
    - fortran_compiler_version  # [unix]
131
132
133
134
  # -
  #   - python
  #   - numpy
  #   - python_impl
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281


# TODO: remove these when run_exports are added to the packages.
pin_run_as_build:
  arpack:
    max_pin: x.x.x
  boost:
    max_pin: x.x.x
  boost-cpp:
    max_pin: x.x.x
  bzip2:
    max_pin: x
  cairo:
    max_pin: x.x
  curl:
    max_pin: x
  dbus:
    max_pin: x
  fftw:
    max_pin: x
  flann:
    max_pin: x.x.x
  fontconfig:
    max_pin: x
  freetype:
    max_pin: x
  gdal:
    max_pin: x.x
  geotiff:
    max_pin: x.x.x
  glew:
    max_pin: x.x
  glpk:
    max_pin: x.x
  gmp:
    max_pin: x
  graphviz:
    max_pin: x
  harfbuzz:
    max_pin: x
  hdf4:
    max_pin: x.x
  isl:
    max_pin: x.x
  jasper:
    max_pin: x
  jpeg:
    max_pin: x
  libjpeg_turbo:
    max_pin: x
  json-c:
    max_pin: x.x
  jsoncpp:
    max_pin: x.x.x
  kealib:
    max_pin: x.x
  krb5:
    max_pin: x.x
  libblitz:
    max_pin: x.x
  libcurl:
    max_pin: x
  libevent:
    max_pin: x.x.x
  libffi:
    max_pin: x.x
  libgdal:
    max_pin: x.x
  libiconv:
    max_pin: x.x
  libkml:
    max_pin: x.x
  libpng:
    max_pin: x.x
  librsvg:
    max_pin: x
  libsvm:
    max_pin: x.x
  libtiff:
    max_pin: x
  libxml2:
    max_pin: x.x
  libuuid:
    max_pin: x
  lz4-c:
    max_pin: x.x.x
  lzo:
    max_pin: x
  metis:
    max_pin: x.x
  mpfr:
    max_pin: x
  ncurses:
    max_pin: x.x
  netcdf-cxx4:
    max_pin: x.x
  netcdf-fortran:
    max_pin: x.x
  nettle:
    max_pin: x.x
  nlopt:
    max_pin: x.x.x
  nss:
    max_pin: x
  nspr:
    max_pin: x
  occt:
    max_pin: x.x
  openturns:
    max_pin: x.x
  openjpeg:
    max_pin: x.x
  pango:
    max_pin: x.x
  perl:
    max_pin: x.x.x
  poppler:
    max_pin: x.x
  qt:
    max_pin: x.x
  qtkeychain:
    max_pin: x.x
  readline:
    max_pin: x
  r-base:
    max_pin: x.x
    min_pin: x.x
  sox:
    max_pin: x.x.x
  spdlog:
    max_pin: x.x
  sqlite:
    max_pin: x
  tk:
    max_pin: x.x
  tiledb:
    max_pin: x.x
  vlfeat:
    max_pin: x.x.x
  vtk:
    max_pin: x.x.x
  xz:
    max_pin: x.x
  zeromq:
    max_pin: x.x  # [not win]
  zlib:
    max_pin: x.x
André Anjos's avatar
André Anjos committed
282
283
284
285


# Here is the version of dependencies are used when building packages (build
# and host requirements). We keep a list of **all of them** here to make sure
286
287
288
# everything goes as expected in our conda build process.
# Ideally we want to build against the oldest possible version of
# packages so packages can be installed with a wide range of versions. It is
289
# best to keep this in sync with:
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
# https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/master/recipe/conda_build_config.yaml
# The names here should not contain dots or dashes. You should replace dots and
# dashes with underlines.

# blas
libblas:
  - 3.8 *netlib  # [not (osx and arm64)]
  - 3.9 *netlib  # [osx and arm64]
libcblas:
  - 3.8 *netlib  # [not (osx and arm64)]
  - 3.9 *netlib  # [osx and arm64]
liblapack:
  - 3.8 *netlib  # [not (osx and arm64)]
  - 3.9 *netlib  # [osx and arm64]
liblapacke:
  - 3.8 *netlib  # [not (osx and arm64)]
  - 3.9 *netlib  # [osx and arm64]
blas_impl:
  - openblas
  - mkl          # [x86 or x86_64]
  - blis         # [x86 or x86_64]
311
312
313
314
315
316
317
318
319
320

# AUTOMATIC PARSING START
# DO NOT MODIFY THIS COMMENT

# list all packages with dashes or dots in their names, here:
package_names_map:
  click_plugins: click-plugins
  dask_jobqueue: dask-jobqueue
  dask_ml: dask-ml
  docker_py: docker-py
321
  font_ttf_dejavu_sans_mono: font-ttf-dejavu-sans-mono
322
323
324
325
326
327
328
329
330
331
332
333
  pkg_config: pkg-config
  pytest_cov: pytest-cov
  python_graphviz: python-graphviz
  scikit_image: scikit-image
  scikit_learn: scikit-learn
  sphinxcontrib_httpdomain: sphinxcontrib-httpdomain
  sphinxcontrib_mermaid: sphinxcontrib-mermaid
  sphinxcontrib_programoutput: sphinxcontrib-programoutput
  zc_buildout: zc.buildout
  zc_recipe_egg: zc.recipe.egg


André Anjos's avatar
André Anjos committed
334
boost:
335
  - 1.76.0
André Anjos's avatar
André Anjos committed
336
click:
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
337
  - 8.0.3
André Anjos's avatar
André Anjos committed
338
click_plugins:
339
  - 1.1.1
340
cmake:
341
  - 3.21.3
342
coverage:
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
343
  - 6.0.2
344
dask:
345
  - 2021.9.1
346
dask_jobqueue:
347
  - 0.7.3
348
dask_ml:
349
  - 1.9.0
350
351
ddt:
  - 1.4.1
352
distributed:
353
  - 2021.9.1
354
docker_py:
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
355
  - 5.0.3
André Anjos's avatar
André Anjos committed
356
357
docopt:
  - 0.6.2
358
ffmpeg:
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
359
  - 4.4.0
360
361
flaky:
  - 3.7.0
362
363
font_ttf_dejavu_sans_mono:
  - 2.37
364
365
366
367
freetype:
  - 2.10.4
giflib:
  - 5.2.1
368
graphviz:
369
  - 2.49.1
370
h5py:
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
371
  - 2.10.0
372
373
hdf5:
  - 1.10.6
André Anjos's avatar
André Anjos committed
374
jinja2:
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
375
  - 3.0.2
376
jpeg:
377
  - 9d
378
jsonschema:
379
  - 3.2.0
380
libblitz:
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
381
  - 1.0.2
382
383
384
libpng:
  - 1.6.37
libtiff:
385
  - 4.3.0
386
make:
387
  - 4.3
André Anjos's avatar
André Anjos committed
388
matplotlib:
389
  - 3.4.3
390
mkl:
391
  - 2020.4
392
393
394
395
ncurses:
  - 6.2
nose:
  - 1.3.7
396
numba:
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
397
  - 0.54.1
398
numpy:
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
399
  - 1.20.3
Vincent POLLET's avatar
Vincent POLLET committed
400
opencv:
401
  - 4.5.1
402
pandas:
403
  - 1.3.3
André Anjos's avatar
André Anjos committed
404
pillow:
405
  - 8.3.2
406
pip:
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
407
  - 21.3
408
409
pkg_config:
  - 0.29.2
410
411
psutil:
  - 5.8.0
412
psycopg2:
413
  - 2.9.1
414
pybind11:
415
  - 2.8.0
Vincent POLLET's avatar
Vincent POLLET committed
416
417
pytables:
  - 3.6.1
418
pytest:
419
  - 6.2.5
420
pytest_cov:
421
  - 3.0.0
422
python_graphviz:
423
  - 0.17
André Anjos's avatar
André Anjos committed
424
pytorch:
425
  - 1.8.0
André Anjos's avatar
André Anjos committed
426
pyyaml:
427
  - 5.4.1
428
pyzmq:
429
  - 22.3.0
André Anjos's avatar
André Anjos committed
430
requests:
431
  - 2.26.0
André Anjos's avatar
André Anjos committed
432
schema:
433
  - 0.7.4
André Anjos's avatar
André Anjos committed
434
scikit_image:
435
  - 0.18.3
André Anjos's avatar
André Anjos committed
436
scikit_learn:
437
  - 1.0
André Anjos's avatar
André Anjos committed
438
scipy:
439
  - 1.7.1
André Anjos's avatar
André Anjos committed
440
setuptools:
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
441
  - 58.2.0
442
simplejson:
443
  - 3.17.5
444
six:
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
445
  - 1.16.0
446
447
sox:
  - 14.4.2
448
sphinx:
449
  - 4.2.0
450
sphinx_rtd_theme:
451
  - 1.0.0
452
sphinxcontrib_httpdomain:
453
  - 1.8.0
454
sphinxcontrib_mermaid:
455
  - 0.7.1
456
457
sphinxcontrib_programoutput:
  - 0.16
André Anjos's avatar
André Anjos committed
458
sqlalchemy:
459
  - 1.4.25
André Anjos's avatar
André Anjos committed
460
tabulate:
461
  - 0.8.9
462
tensorflow:
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
463
  - 2.4.1
464
465
termcolor:
  - 1.1.0
André Anjos's avatar
André Anjos committed
466
torchvision:
467
  - 0.10.1
468
tqdm:
469
  - 4.62.3
470
xarray:
471
  - 0.19.0
472
473

# AUTOMATIC PARSING END