Skip to content

Commit

Permalink
Use a different way to ensure that the right version of libabseil is …
Browse files Browse the repository at this point in the history
…used in conda (NVIDIA#4991)

- relates to NVIDIA#4987
- DALI conda build depends on libprotobuf-static and protobuf. The first
  was just recently updated while the latter was not, so during the build
  the libabseil version is older and implied by protobuf, why during runtime
  libprotobuf-static picks the newer one.

Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
  • Loading branch information
JanuszL committed Oct 13, 2023
1 parent c254bfb commit 5740f12
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions conda/recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,11 @@ requirements:
# dali-opencv we that depends on libtiff also depends on libwebp-base (silently)
# we link it statically so it doesn't carry the dependency, so we need to add it manually
- libwebp-base
# libprotobuf-static we link statically depends on libabseil so add it here as a runtime
# dependency to install rigth version on the libabseil
- libprotobuf-static
# libprotobuf-static we link statically depends on libabseil so add protobuf here as a runtime
# dependency to install the right version on the libabseil (as protobuf depends on
# libprotobuf-static and a newer version of libprotobuf-static may be available than
# the protobuf was build with)
- protobuf
- openjpeg
- cfitsio
- astunparse >=1.6.0
Expand Down

0 comments on commit 5740f12

Please sign in to comment.