Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuild for libprotobuf314 #26

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '7'
- '9'
docker_image:
- quay.io/condaforge/linux-anvil-comp7
icu:
- '68'
libevent:
- 2.1.10
libprotobuf:
- '3.13'
- '3.14'
lz4_c:
- 1.9.2
openssl:
Expand Down
4 changes: 2 additions & 2 deletions .ci_support/linux_aarch64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '7'
- '9'
docker_image:
- quay.io/condaforge/linux-anvil-aarch64
icu:
- '68'
libevent:
- 2.1.10
libprotobuf:
- '3.13'
- '3.14'
lz4_c:
- 1.9.2
openssl:
Expand Down
4 changes: 2 additions & 2 deletions .ci_support/linux_ppc64le_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '8'
- '9'
docker_image:
- quay.io/condaforge/linux-anvil-comp7
icu:
- '68'
libevent:
- 2.1.10
libprotobuf:
- '3.13'
- '3.14'
lz4_c:
- 1.9.2
openssl:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ __migrator:
kind: version
migration_number: 1
libprotobuf:
- '3.13'
migrator_ts: 1597781230.3843527
- '3.14'
migrator_ts: 1607035151.2279923
2 changes: 1 addition & 1 deletion .ci_support/osx_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ icu:
libevent:
- 2.1.10
libprotobuf:
- '3.13'
- '3.14'
lz4_c:
- 1.9.2
macos_machine:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/win_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ icu:
libevent:
- 2.1.10
libprotobuf:
- '3.13'
- '3.14'
lz4_c:
- 1.9.2
openssl:
Expand Down
10 changes: 9 additions & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,21 @@ EOF
chmod +x ${_rpcgen_hack_dir}/bin/{rpcgen,cpp}
fi

# TODO: do this in ctng-compilers-feedstock where `CMAKE_ARGS` is defined
if [[ "$CONDA_BUILD_CROSS_COMPILATION" == "1" && "$CMAKE_ARGS" != *CMAKE_CROSSCOMPILING_EMULATOR* ]]; then
ARCH=$(cut -d "-" -f2 <<< $target_platform)
if [[ "$target_platform" == "linux-$ARCH" && -f "/usr/bin/qemu-$ARCH-static" ]]; then
CMAKE_ARGS="$CMAKE_ARGS -DCMAKE_CROSSCOMPILING_EMULATOR=/usr/bin/qemu-$ARCH-static"
fi
fi

declare -a _xtra_cmake_args
if [[ $target_platform == osx-64 ]]; then
_xtra_cmake_args+=(-DWITH_ROUTER=OFF)
export CXXFLAGS="${CXXFLAGS:-} -D_LIBCPP_DISABLE_AVAILABILITY=1"
fi

cmake -S$SRC_DIR -Bbuild -GNinja \
cmake ${CMAKE_ARGS} -S$SRC_DIR -Bbuild -GNinja \
-DCMAKE_CXX_STANDARD=14 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH="${_rpcgen_hack_dir};$PREFIX" \
Expand Down
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ source:
- patches/0009-Use-lower-case-for-boolean-type.patch

build:
number: 1
number: 2

requirements:
build:
Expand Down