mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
|
distributable:
|
||
|
url: https://github.com/facebook/fbthrift/archive/v{{version.raw}}.tar.gz
|
||
|
strip-components: 1
|
||
|
versions:
|
||
|
github: facebook/fbthrift/tags
|
||
|
ignore: [v0.x.y, 0.x.y] # they moved _to_ calver
|
||
|
dependencies:
|
||
|
# these need to version match, but we don't have a method for that
|
||
|
github.com/facebookincubator/fizz: '*'
|
||
|
facebook.com/folly: '*'
|
||
|
facebook.com/wangle: '*'
|
||
|
fmt.dev: ^9
|
||
|
gflags.github.io: ^2.2.2
|
||
|
google.com/glog: ^0.6
|
||
|
openssl.org: ^1.1
|
||
|
boost.org: ^1.83
|
||
|
facebook.com/zstd: ^1.5.5
|
||
|
zlib.net: ^1.3
|
||
|
libsodium.org: ^1.0.19
|
||
|
build:
|
||
|
dependencies:
|
||
|
cmake.org: '*'
|
||
|
facebook.com/mvfst: '*'
|
||
|
gnu.org/bison: '*'
|
||
|
github.com/westes/flex: '*'
|
||
|
script:
|
||
|
- cmake -S . -B build/shared $CMAKE_ARGS
|
||
|
- cmake --build build/shared
|
||
|
- cmake --install build/shared
|
||
|
env:
|
||
|
CMAKE_ARGS:
|
||
|
- -DCMAKE_INSTALL_PREFIX="{{prefix}}
|
||
|
- -DCMAKE_INSTALL_LIBDIR=lib
|
||
|
- -DCMAKE_BUILD_TYPE=Release
|
||
|
- -DCMAKE_FIND_FRAMEWORK=LAST
|
||
|
- -DCMAKE_VERBOSE_MAKEFILE=ON
|
||
|
- -Wno-dev
|
||
|
- -DBUILD_TESTING=OFF
|
||
|
provides:
|
||
|
- bin/thrift1
|
||
|
test:
|
||
|
script:
|
||
|
- thrift1 --gen mstch_cpp2 example.thrift
|
||
|
- ls | grep gen-cpp2
|