-
-
Notifications
You must be signed in to change notification settings - Fork 63
/
meta.yaml
656 lines (602 loc) · 24 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
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
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
{% set version = "16.1.0" %}
{% set cuda_enabled = cuda_compiler_version != "None" %}
{% set build_ext_version = "5.0.0" %}
{% set build_ext = "cuda" if cuda_enabled else "cpu" %}
{% set proc_build_number = "0" %}
{% set llvm_version = "16" %}
# see https://github.com/apache/arrow/blob/apache-arrow-10.0.1/cpp/CMakeLists.txt#L88-L90
{% set so_version = (version.split(".")[0] | int * 100 + version.split(".")[1] | int) ~ "." ~ version.split(".")[2] ~ ".0" %}
package:
name: apache-arrow
version: {{ version }}
source:
- url: https://www.apache.org/dyn/closer.lua/arrow/arrow-{{ version }}/apache-arrow-{{ version }}.tar.gz?action=download
fn: apache-arrow-{{ version }}.tar.gz
sha256: c9e60c7e87e59383d21b20dc874b17153729ee153264af6d21654b7dff2c60d7
patches:
# backport https://github.com/apache/arrow/pull/41582
- patches/0001-C-CMake-correctly-use-Protobuf_PROTOC_EXECUTABLE.patch
# fix for https://github.com/apache/arrow/issues/41755
- patches/0002-teach-CheckTimeZoneDatabaseAvailability-how-to-inspe.patch
# testing-submodule not part of release tarball
- git_url: https://github.com/apache/arrow-testing.git
git_rev: 25d16511e8d42c2744a1d94d90169e3a36e92631
folder: testing
build:
number: 6
# for cuda support, building with one version is enough to be compatible with
# all later versions, since arrow is only using libcuda, and not libcudart.
skip: true # [cuda_compiler_version not in ("None", cuda_compiler_version_min)]
# arrow promises API- & ABI-compatibility along SemVer, see #1096
requirements:
build:
- {{ compiler("c") }}
- {{ stdlib("c") }}
- {{ compiler("cxx") }}
- {{ compiler("cuda") }} # [cuda_compiler_version != "None"]
# needs to run protoc & grpc_cpp_plugin
- libgrpc # [build_platform != target_platform]
- libprotobuf # [build_platform != target_platform]
# needed for gandiva
- clangdev {{ llvm_version }} # [build_platform != target_platform]
- llvmdev {{ llvm_version }} # [build_platform != target_platform]
- gnuconfig # [build_platform != target_platform]
- cmake
- ninja
# necessary for vendored jemalloc
- autoconf # [linux]
- make # [linux]
host:
# for required dependencies, see
# https://github.com/apache/arrow/blob/apache-arrow-11.0.0/cpp/cmake_modules/ThirdpartyToolchain.cmake#L46-L75
- clangdev {{ llvm_version }}
- llvmdev {{ llvm_version }}
- aws-crt-cpp
- aws-sdk-cpp
- brotli
- bzip2
# not yet: https://github.com/conda-forge/cpp-opentelemetry-sdk-feedstock/issues/38
# - cpp-opentelemetry-sdk
# - proto-opentelemetry-proto =={{ cpp_opentelemetry_sdk }}
- gflags
- glog
# arrow uses a customized jemalloc, see #944
# - jemalloc
- libabseil
- libboost-headers
- libgoogle-cloud-devel
- libgoogle-cloud-storage-devel
- libgrpc
- libutf8proc
- lz4-c
- nlohmann_json
- orc
- rapidjson
- re2
- snappy
- thrift-cpp
- ucx # [linux]
- xsimd
- zlib
- zstd
outputs:
- name: apache-arrow-proc
version: {{ build_ext_version }}
build:
number: {{ proc_build_number }}
string: {{ build_ext }}
requirements:
run_constrained:
# avoid installation with old naming of proc package
- arrow-cpp-proc <0.0a0
test:
commands:
- exit 0
about:
home: http://github.com/apache/arrow
license: Apache-2.0
license_file:
- LICENSE.txt
summary: A meta-package to select Arrow build variant
- name: libarrow-all
script: install-libarrow.sh # [unix]
script: install-libarrow.bat # [win]
version: {{ version }}
build:
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }}
run_exports:
- {{ pin_subpackage("libarrow", max_pin="x.x") }}
- {{ pin_subpackage("libarrow-acero", max_pin="x.x") }}
- {{ pin_subpackage("libarrow-dataset", max_pin="x.x") }}
- {{ pin_subpackage("libarrow-flight", max_pin="x.x") }}
- {{ pin_subpackage("libarrow-flight-sql", max_pin="x.x") }}
- {{ pin_subpackage("libarrow-gandiva", max_pin="x.x") }}
- {{ pin_subpackage("libarrow-substrait", max_pin="x.x") }}
- {{ pin_subpackage("libparquet", max_pin="x.x") }}
requirements:
build:
- cmake
- ninja
host:
- {{ pin_subpackage("libarrow", exact=True) }}
- {{ pin_subpackage("libarrow-acero", exact=True) }}
- {{ pin_subpackage("libarrow-dataset", exact=True) }}
- {{ pin_subpackage("libarrow-flight", exact=True) }}
- {{ pin_subpackage("libarrow-flight-sql", exact=True) }}
- {{ pin_subpackage("libarrow-gandiva", exact=True) }}
- {{ pin_subpackage("libarrow-substrait", exact=True) }}
- {{ pin_subpackage("libparquet", exact=True) }}
run:
- {{ pin_subpackage("libarrow", exact=True) }}
- {{ pin_subpackage("libarrow-acero", exact=True) }}
- {{ pin_subpackage("libarrow-dataset", exact=True) }}
- {{ pin_subpackage("libarrow-flight", exact=True) }}
- {{ pin_subpackage("libarrow-flight-sql", exact=True) }}
- {{ pin_subpackage("libarrow-gandiva", exact=True) }}
- {{ pin_subpackage("libarrow-substrait", exact=True) }}
- {{ pin_subpackage("libparquet", exact=True) }}
test:
commands:
- echo "tested in other outputs"
about:
home: http://github.com/apache/arrow
license: Apache-2.0
license_file:
- LICENSE.txt
summary: C++ libraries for Apache Arrow
- name: libarrow
script: install-libarrow.sh # [unix]
script: install-libarrow.bat # [win]
version: {{ version }}
build:
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }}
run_exports:
- {{ pin_subpackage("libarrow", max_pin="x.x") }}
ignore_run_exports_from:
- {{ compiler("cuda") }} # [cuda_compiler_version != "None"]
# arrow only uses headers on osx/win, apparently
- gflags # [not linux]
# shared lib linked on unix, not on win
- glog # [win]
ignore_run_exports:
# we don't need all of brotli's run-exports
- libbrotlicommon
track_features: {{ "[arrow-cuda]" if cuda_enabled else "" }}
missing_dso_whitelist:
- '*/libcuda.so.*' # [linux]
- '*/nvcuda.dll' # [win]
requirements:
build:
- cmake
- ninja
# for strong run-exports
- {{ compiler("c") }}
- {{ stdlib("c") }}
- {{ compiler("cxx") }}
- {{ compiler("cuda") }} # [cuda_compiler_version != "None"]
host:
- aws-crt-cpp
- aws-sdk-cpp
- brotli
- bzip2
# not yet: https://github.com/conda-forge/cpp-opentelemetry-sdk-feedstock/issues/38
# - cpp-opentelemetry-sdk
# - proto-opentelemetry-proto =={{ cpp_opentelemetry_sdk }}
- gflags
- glog
# arrow uses a customized jemalloc, see #944
# - jemalloc
- libabseil
- libgoogle-cloud-devel
- libgoogle-cloud-storage-devel
- libutf8proc
- lz4-c
- orc
- re2
- snappy
- zlib
- zstd
- __cuda >={{ cuda_compiler_version_min }} # [cuda_compiler_version != "None"]
# since libgoogle-cloud{,-storage} is static on windows, see
# https://github.com/conda-forge/google-cloud-cpp-feedstock/pull/108,
# its host deps (which aren't yet covered above) leak into the build here
- libcrc32c # [win]
- libcurl # [win]
run_constrained:
- apache-arrow-proc =*={{ build_ext }}
# avoid installation with old naming of lib package
- arrow-cpp <0.0a0
# old parquet lib output, now part of this feedstock
- parquet-cpp <0.0a0
# since all the other libarrow-* variants in this recipe depend exactly on libarrow,
# this avoids that libarrow-X & -Y get installed with different builds or versions.
test:
commands:
# headers
- test -f $PREFIX/include/arrow/api.h # [unix]
- if not exist %LIBRARY_INC%\arrow\api.h exit 1 # [win]
{% set libs = ["arrow"] + (cuda_compiler_version != "None") * ["arrow_cuda"] %}
{% for each_lib in libs %}
# shared
- test -f $PREFIX/lib/lib{{ each_lib }}.so # [linux]
- test -f $PREFIX/lib/lib{{ each_lib }}.dylib # [osx]
# Ensure symlinks are preserved
- test -L $PREFIX/lib/lib{{ each_lib }}.so # [linux]
- test -L $PREFIX/lib/lib{{ each_lib }}.dylib # [osx]
- if not exist %LIBRARY_BIN%\{{ each_lib }}.dll exit 1 # [win]
- if not exist %LIBRARY_LIB%\{{ each_lib }}.lib exit 1 # [win]
# absence of static libraries
- test ! -f $PREFIX/lib/lib{{ each_lib }}.a # [unix]
- if exist %LIBRARY_LIB%\{{ each_lib }}_static.lib exit 1 # [win]
{% endfor %}
# absence of arrow_cuda for CPU builds
- test ! -f $PREFIX/lib/libarrow_cuda.so # [(cuda_compiler_version == "None") and linux]
- test ! -f $PREFIX/lib/libarrow_cuda.a # [(cuda_compiler_version == "None") and linux]
- if exist %LIBRARY_BIN%\arrow_cuda.dll exit 1 # [(cuda_compiler_version == "None") and win]
- if exist %LIBRARY_LIB%\arrow_cuda.lib exit 1 # [(cuda_compiler_version == "None") and win]
- if exist %LIBRARY_LIB%\arrow_cuda_static.lib exit 1 # [(cuda_compiler_version == "None") and win]
# gdb-wrapper (paths are stacked intentionally)
- test -f $PREFIX/share/gdb/auto-load/$PREFIX/lib/libarrow.so.{{ so_version }}-gdb.py # [linux]
- test -f $PREFIX/share/gdb/auto-load/$PREFIX/lib/libarrow.{{ so_version }}.dylib-gdb.py # [osx]
{% set libs = [
"arrow_acero", "arrow_dataset", "arrow_flight",
"arrow_flight_sql", "arrow_substrait", "gandiva", "parquet"
] %}
{% for each_lib in libs %}
# absence of libraries that belong in other outputs
- test ! -f $PREFIX/lib/lib{{ each_lib }}.so # [linux]
- test ! -f $PREFIX/lib/lib{{ each_lib }}.dylib # [osx]
- if exist %LIBRARY_BIN%\{{ each_lib }}.dll exit 1 # [win]
- if exist %LIBRARY_LIB%\{{ each_lib }}.lib exit 1 # [win]
{% endfor %}
about:
home: http://github.com/apache/arrow
license: Apache-2.0
license_file:
- LICENSE.txt
summary: C++ libraries for Apache Arrow core
- name: libarrow-acero
script: install-libarrow.sh # [unix]
script: install-libarrow.bat # [win]
version: {{ version }}
build:
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }}
run_exports:
- {{ pin_subpackage("libarrow-acero", max_pin="x.x") }}
requirements:
build:
- cmake
- ninja
# for strong run-exports
- {{ compiler("c") }}
- {{ stdlib("c") }}
- {{ compiler("cxx") }}
host:
- {{ pin_subpackage("libarrow", exact=True) }}
run:
- {{ pin_subpackage("libarrow", exact=True) }}
# run-constraints handled by libarrow, since we depend on it with exact=True
test:
commands:
# headers
- test -f $PREFIX/include/arrow/acero/api.h # [unix]
- if not exist %LIBRARY_INC%\arrow\acero\api.h exit 1 # [win]
# shared libraries
- test -f $PREFIX/lib/libarrow_acero.so # [linux]
- test -f $PREFIX/lib/libarrow_acero.dylib # [osx]
- if not exist %LIBRARY_BIN%\arrow_acero.dll exit 1 # [win]
- if not exist %LIBRARY_LIB%\arrow_acero.lib exit 1 # [win]
# absence of static libraries
- test ! -f $PREFIX/lib/libarrow_acero.a # [unix]
- if exist %LIBRARY_LIB%\arrow_acero_static.lib exit 1 # [win]
about:
home: http://github.com/apache/arrow
license: Apache-2.0
license_file:
- LICENSE.txt
summary: C++ libraries for Apache Arrow Acero
- name: libarrow-dataset
script: install-libarrow.sh # [unix]
script: install-libarrow.bat # [win]
version: {{ version }}
build:
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }}
run_exports:
- {{ pin_subpackage("libarrow-dataset", max_pin="x.x") }}
requirements:
build:
- cmake
- ninja
# for strong run-exports
- {{ compiler("c") }}
- {{ stdlib("c") }}
- {{ compiler("cxx") }}
host:
- {{ pin_subpackage("libarrow", exact=True) }}
- {{ pin_subpackage("libarrow-acero", exact=True) }}
- {{ pin_subpackage("libparquet", exact=True) }}
run:
- {{ pin_subpackage("libarrow", exact=True) }}
- {{ pin_subpackage("libarrow-acero", exact=True) }}
- {{ pin_subpackage("libparquet", exact=True) }}
# run-constraints handled by libarrow, since we depend on it with exact=True
test:
commands:
# headers
- test -f $PREFIX/include/arrow/dataset/api.h # [unix]
- if not exist %LIBRARY_INC%\arrow\dataset\api.h exit 1 # [win]
# shared libraries
- test -f $PREFIX/lib/libarrow_dataset.so # [linux]
- test -f $PREFIX/lib/libarrow_dataset.dylib # [osx]
- if not exist %LIBRARY_BIN%\arrow_dataset.dll exit 1 # [win]
- if not exist %LIBRARY_LIB%\arrow_dataset.lib exit 1 # [win]
# absence of static libraries
- test ! -f $PREFIX/lib/libarrow_dataset.a # [unix]
- if exist %LIBRARY_LIB%\arrow_dataset_static.lib exit 1 # [win]
about:
home: http://github.com/apache/arrow
license: Apache-2.0
license_file:
- LICENSE.txt
summary: C++ libraries for Apache Arrow Dataset
- name: libarrow-flight
script: install-libarrow.sh # [unix]
script: install-libarrow.bat # [win]
version: {{ version }}
build:
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }}
run_exports:
- {{ pin_subpackage("libarrow-flight", max_pin="x.x") }}
requirements:
build:
- cmake
- ninja
# for strong run-exports
- {{ compiler("c") }}
- {{ stdlib("c") }}
- {{ compiler("cxx") }}
# needs to run protoc & grpc_cpp_plugin
- libgrpc # [build_platform != target_platform]
- libprotobuf # [build_platform != target_platform]
host:
- {{ pin_subpackage("libarrow", exact=True) }}
- libabseil
- libgrpc
- libprotobuf
- ucx # [linux]
run:
- {{ pin_subpackage("libarrow", exact=True) }}
# run-constraints handled by libarrow, since we depend on it with exact=True
test:
commands:
# headers
- test -f $PREFIX/include/arrow/flight/types.h # [unix]
- if not exist %LIBRARY_INC%\arrow\flight\types.h exit 1 # [win]
# shared libraries
- test -f $PREFIX/lib/libarrow_flight.so # [linux]
- test -f $PREFIX/lib/libarrow_flight.dylib # [osx]
- if not exist %LIBRARY_BIN%\arrow_flight.dll exit 1 # [win]
- if not exist %LIBRARY_LIB%\arrow_flight.lib exit 1 # [win]
# absence of static libraries
- test ! -f $PREFIX/lib/libarrow_flight.a # [unix]
- if exist %LIBRARY_LIB%\arrow_flight_static.lib exit 1 # [win]
# Only check UCX on Linux
- test -f $PREFIX/lib/libarrow_flight_transport_ucx.so # [linux]
about:
home: http://github.com/apache/arrow
license: Apache-2.0
license_file:
- LICENSE.txt
summary: C++ libraries for Apache Arrow Flight
- name: libarrow-flight-sql
script: install-libarrow.sh # [unix]
script: install-libarrow.bat # [win]
version: {{ version }}
build:
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }}
run_exports:
- {{ pin_subpackage("libarrow-flight-sql", max_pin="x.x") }}
requirements:
build:
- cmake
- ninja
# for strong run-exports
- {{ compiler("c") }}
- {{ stdlib("c") }}
- {{ compiler("cxx") }}
# needs to run protoc & grpc_cpp_plugin
- libgrpc # [build_platform != target_platform]
- libprotobuf # [build_platform != target_platform]
host:
- {{ pin_subpackage("libarrow", exact=True) }}
- {{ pin_subpackage("libarrow-flight", exact=True) }}
- libprotobuf
run:
- {{ pin_subpackage("libarrow", exact=True) }}
- {{ pin_subpackage("libarrow-flight", exact=True) }}
# run-constraints handled by libarrow, since we depend on it with exact=True
test:
commands:
# headers
- test -f $PREFIX/include/arrow/flight/sql/api.h # [unix]
- if not exist %LIBRARY_INC%\arrow\flight\sql\api.h exit 1 # [win]
# shared libraries
- test -f $PREFIX/lib/libarrow_flight_sql.so # [linux]
- test -f $PREFIX/lib/libarrow_flight_sql.dylib # [osx]
- if not exist %LIBRARY_BIN%\arrow_flight_sql.dll exit 1 # [win]
- if not exist %LIBRARY_LIB%\arrow_flight_sql.lib exit 1 # [win]
# absence of static libraries
- test ! -f $PREFIX/lib/libarrow_flight_sql.a # [unix]
- if exist %LIBRARY_LIB%\arrow_flight_sql_static.lib exit 1 # [win]
about:
home: http://github.com/apache/arrow
license: Apache-2.0
license_file:
- LICENSE.txt
summary: C++ libraries for Apache Arrow Flight SQL
- name: libarrow-gandiva
script: install-libarrow.sh # [unix]
script: install-libarrow.bat # [win]
version: {{ version }}
build:
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }}
run_exports:
- {{ pin_subpackage("libarrow-gandiva", max_pin="x.x") }}
requirements:
build:
- cmake
- ninja
# for strong run-exports
- {{ compiler("c") }}
- {{ stdlib("c") }}
- {{ compiler("cxx") }}
host:
- {{ pin_subpackage("libarrow", exact=True) }}
- libutf8proc
# gandiva requires shared libllvm; needs to match version used at build time
- llvm {{ llvm_version }} # [unix]
- openssl
- re2
- zlib # [win]
- zstd # [win]
run:
- {{ pin_subpackage("libarrow", exact=True) }}
# run-constraints handled by libarrow, since we depend on it with exact=True
test:
commands:
# headers
- test -f $PREFIX/include/gandiva/engine.h # [unix]
- if not exist %LIBRARY_INC%\gandiva\engine.h exit 1 # [win]
# shared libraries
- test -f $PREFIX/lib/libgandiva.so # [linux]
- test -f $PREFIX/lib/libgandiva.dylib # [osx]
- if not exist %LIBRARY_BIN%\gandiva.dll exit 1 # [win]
- if not exist %LIBRARY_LIB%\gandiva.lib exit 1 # [win]
# absence of static libraries
- test ! -f $PREFIX/lib/libgandiva.a # [unix]
- if exist %LIBRARY_LIB%\gandiva_static.lib exit 1 # [win]
about:
home: http://github.com/apache/arrow
license: Apache-2.0
license_file:
- LICENSE.txt
summary: C++ libraries for Apache Arrow Gandiva
- name: libarrow-substrait
script: install-libarrow.sh # [unix]
script: install-libarrow.bat # [win]
version: {{ version }}
build:
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }}
run_exports:
- {{ pin_subpackage("libarrow-substrait", max_pin="x.x") }}
requirements:
build:
- cmake
- ninja
# for strong run-exports
- {{ compiler("c") }}
- {{ compiler("cxx") }}
- libprotobuf # [build_platform != target_platform]
# for strong run-exports
- {{ compiler("c") }}
- {{ stdlib("c") }}
- {{ compiler("cxx") }}
- cmake
- ninja
host:
- {{ pin_subpackage("libarrow", exact=True) }}
- {{ pin_subpackage("libarrow-acero", exact=True) }}
- {{ pin_subpackage("libarrow-dataset", exact=True) }}
- libabseil
- libprotobuf
run:
- {{ pin_subpackage("libarrow", exact=True) }}
- {{ pin_subpackage("libarrow-acero", exact=True) }}
- {{ pin_subpackage("libarrow-dataset", exact=True) }}
# run-constraints handled by libarrow, since we depend on it with exact=True
test:
commands:
# headers
- test -f $PREFIX/include/arrow/engine/substrait/api.h # [unix]
- if not exist %LIBRARY_INC%\arrow\engine\substrait\api.h exit 1 # [win]
# shared libraries
- test -f $PREFIX/lib/libarrow_substrait.so # [linux]
- test -f $PREFIX/lib/libarrow_substrait.dylib # [osx]
- if not exist %LIBRARY_BIN%\arrow_substrait.dll exit 1 # [win]
- if not exist %LIBRARY_LIB%\arrow_substrait.lib exit 1 # [win]
# absence of static libraries
- test ! -f $PREFIX/lib/libarrow_substrait.a # [unix]
- if exist %LIBRARY_LIB%\arrow_substrait_static.lib exit 1 # [win]
about:
home: http://github.com/apache/arrow
license: Apache-2.0
license_file:
- LICENSE.txt
summary: C++ libraries for Apache Arrow Substrait
- name: libparquet
script: install-libarrow.sh # [unix]
script: install-libarrow.bat # [win]
version: {{ version }}
build:
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }}
run_exports:
- {{ pin_subpackage("libparquet", max_pin="x.x") }}
requirements:
build:
- cmake
- ninja
# for strong run-exports
- {{ compiler("c") }}
- {{ stdlib("c") }}
- {{ compiler("cxx") }}
host:
- {{ pin_subpackage("libarrow", exact=True) }}
- openssl
- thrift-cpp
run:
- {{ pin_subpackage("libarrow", exact=True) }}
# run-constraints handled by libarrow, since we depend on it with exact=True
test:
commands:
# headers
- test -f $PREFIX/include/parquet/api/reader.h # [unix]
- if not exist %LIBRARY_INC%\parquet\api\reader.h exit 1 # [win]
# shared libraries
- test -f $PREFIX/lib/libparquet.so # [linux]
- test -f $PREFIX/lib/libparquet.dylib # [osx]
- if not exist %LIBRARY_BIN%\parquet.dll exit 1 # [win]
- if not exist %LIBRARY_LIB%\parquet.lib exit 1 # [win]
# absence of static libraries
- test ! -f $PREFIX/lib/libparquet.a # [unix]
- if exist %LIBRARY_LIB%\parquet_static.lib exit 1 # [win]
about:
home: http://github.com/apache/arrow
license: Apache-2.0
license_file:
- LICENSE.txt
summary: C++ libraries for Apache Parquet
about:
home: http://github.com/apache/arrow
license: Apache-2.0
license_file:
- LICENSE.txt
summary: C++ libraries for Apache Arrow
extra:
recipe-maintainers:
- wesm
- xhochy
- leifwalsh
- jreback
- cpcloud
- pcmoritz
- robertnishihara
- siddharthteotia
- kou
- kszucs
- pitrou
- pearu
- nealrichardson
- jakirkham
- h-vetinari
- raulcd
feedstock-name: arrow-cpp