Skip to content

2.9.2 w/ C-Blosc2 v2.11.1 Static #3903

@ax3l

Description

@ax3l

Describe the bug
I am building an all-static build of ADIOS2 v2.9.2 with C-Blosc2 v2.11.1 for Wheels in openPMD/openPMD-api#1554

While installing ADIOS2 works, using it downstream fails with

2023-11-07T03:44:31.2185681Z   -- Configuring done (8.1s)
2023-11-07T03:44:31.3333449Z   CMake Error at C:/Program Files (x86)/ADIOS2/lib/cmake/adios2/adios2-targets.cmake:86 (set_target_properties):
2023-11-07T03:44:31.3337501Z     The link interface of target "adios2::adios2_blosc2" contains:
2023-11-07T03:44:31.3340764Z 
2023-11-07T03:44:31.3344814Z       Blosc2::blosc2_static
2023-11-07T03:44:31.3348057Z 
2023-11-07T03:44:31.3352143Z     but the target was not found.  Possible reasons include:
2023-11-07T03:44:31.3355109Z 
2023-11-07T03:44:31.3358878Z       * There is a typo in the target name.
2023-11-07T03:44:31.3362359Z       * A find_package call is missing for an IMPORTED target.
2023-11-07T03:44:31.3365646Z       * An ALIAS target is missing.
2023-11-07T03:44:31.3368954Z 
2023-11-07T03:44:31.3372324Z   Call Stack (most recent call first):
2023-11-07T03:44:31.3376402Z     C:/Program Files (x86)/ADIOS2/lib/cmake/adios2/adios2-config-common.cmake:197 (include)
2023-11-07T03:44:31.3379473Z     C:/Program Files (x86)/ADIOS2/lib/cmake/adios2/adios2-config.cmake:29 (include)
2023-11-07T03:44:31.3382839Z     CMakeLists.txt:443 (find_package)

To Reproduce
See scripts in openPMD/openPMD-api#1554

Expected behavior
Did build with 2.9.1 and a slightly older C-Blosc2, per linked PR.

Desktop (please complete the following information):

  • OS/Platform: Linux, macOS and Windows are all affected
  • Build type: static

Additional context
openPMD/openPMD-api#1554

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions