Skip to content

Commit

Permalink
Make sure that the right version of libabseil is used in conda (NVIDI…
Browse files Browse the repository at this point in the history
…A#4987)

- DALI links statically with libprotobuf and this implies a runtime
  dependency on libabseil in a conda environment. However, it seems
  that protobuf cmake asks DALI to link with a specific (versioned)
  libabseil instead of just *.so, and when a newer libabseil than
  the libprotobuf was built with appeared there is an error
  and during the installation, DALI asks for the latest libabseil
  while libprotobuf enforces a certain version. This PR makes sure
  that the libprotobuf installs its dependencies with DALI without
  explicit placing libabseil in the runtime dependency list

Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
  • Loading branch information
JanuszL committed Oct 13, 2023
1 parent c24a196 commit c64543f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conda/recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ 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 we need to add it to a runtime
# dependency
- libabseil
# 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
- openjpeg
- cfitsio
- astunparse >=1.6.0
Expand Down

0 comments on commit c64543f

Please sign in to comment.