Skip to content

bug(variants): empty string variants not processed correctlyΒ #1748

@lucascolley

Description

@lucascolley
openblas-feedstock on πŸŽ‹ rattler [πŸŽ­β¬†οΈ ] via 🧚 v0.48.2 
❯ bat recipe/variants.yaml 
───────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       β”‚ File: recipe/variants.yaml
───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   β”‚ zip_keys:
   2   β”‚   - [SYMBOLSUFFIX, name_suffix, INTERFACE64]
   3   β”‚ 
   4   β”‚ # gcc 12 cannot handle `-mtune=native` on aarch,
   5   β”‚ # gcc 13 causes test failures on ppc
   6   β”‚ c_compiler_version:
   7   β”‚   - if: linux
   8   β”‚     then: 14
   9   β”‚ fortran_compiler_version:
  10   β”‚   - if: linux
  11   β”‚     then: 14
  12   β”‚ 
  13   β”‚ SYMBOLSUFFIX:
  14   β”‚   - ""
  15   β”‚   - if: not (win or aarch64)
  16   β”‚     then: "64_"
  17   β”‚ 
  18   β”‚ name_suffix:
  19   β”‚   - ""
  20   β”‚   - if: not (win or aarch64)
  21   β”‚     then: "-ilp64"
  22   β”‚ 
  23   β”‚ INTERFACE64:
  24   β”‚   - 0
  25   β”‚   - if: not (win or aarch64)
  26   β”‚     then: 1
  27   β”‚ 
  28   β”‚ USE_OPENMP:
  29   β”‚   - if: not osx
  30   β”‚     then: "0"
  31   β”‚   - "1"
───────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

openblas-feedstock on πŸŽ‹ rattler [✘🎭?] via 🧚 v0.48.2
❯ pixi run rerender
...
Error:   Γ— Zip key elements do not all have same length: INTERFACE64

openblas-feedstock on πŸŽ‹ rattler [⬆️ ] via 🧚 v0.48.2 took 4s 
❯ git diff
diff --git a/recipe/variants.yaml b/recipe/variants.yaml
index 8903f69..cfecacc 100644
--- a/recipe/variants.yaml
+++ b/recipe/variants.yaml
@@ -11,12 +11,12 @@ fortran_compiler_version:
     then: 14
 
 SYMBOLSUFFIX:
-  - ""
+  - "foo"
   - if: not (win or aarch64)
     then: "64_"
 
 name_suffix:
-  - ""
+  - "bar"
   - if: not (win or aarch64)
     then: "-ilp64"

openblas-feedstock on πŸŽ‹ rattler [πŸ”¨β¬†οΈ ] via 🧚 v0.48.2 
❯ pixi run rerender
... // no error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions