TileDB-Inc / tiledbsoma-feedstock

A conda-smithy repository for tiledbsoma.
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

Test-drive linux+arm64 [WIP] #138

Closed johnkerl closed 2 months ago

johnkerl commented 2 months ago

I pushed a branch by @Shelnutt2 and have rebased it ... this is only a WIP draft.

Use cases:

For: https://github.com/single-cell-data/TileDB-SOMA/issues/2413

Uses: https://github.com/single-cell-data/TileDB-SOMA/pull/2470

johnkerl commented 2 months ago

Per @jdblischak we want to exclude the fmt9/spdlog1.11 variant on linux+aarch64. I tried

diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml
index 0d8b5c3..c581e33 100644
--- a/recipe/conda_build_config.yaml
+++ b/recipe/conda_build_config.yaml
@@ -16,10 +16,10 @@ channel_priority:
 # conda-forge depedencies, we install the "for-cloud" tiledb binary from
 # tiledb/label/for-cloud
 fmt:                 # [linux]
-  - 9                # [linux]
+  - 9                # [linux and x86]
   - 10               # [linux]
 spdlog:              # [linux]
-  - 1.11             # [linux]
+  - 1.11             # [linux and x86]
   - 1.12             # [linux]
 zip_keys:            # [linux]
   - channel_sources  # [linux]

and ran conda smithy rerender --commit auto but then found

ValueError: Variant configuration errors in /home/ubuntu/git/TileDB-Inc/tiledbsoma-feedstock/recipe/conda_build_config.yaml:
  zip fields in zip_key group frozenset({'fmt', 'channel_sources', 'spdlog'}) are not all the same length

So it needs "rectangles" ... :thinking_face:

johnkerl commented 2 months ago

Closing in favor of https://github.com/jdblischak/tiledbsoma-feedstock/tree/upload-linux-aarch64

See also https://github.com/single-cell-data/TileDB-SOMA/issues/2413