Commit c5724b8
committed
Make local rattler package builds prove Python and R loads
The rattler recipes need to build from the repository root, link R's final shared object against system TIFF, and keep generated R symbols parseable. The Python recipe path is corrected for the recipes/py location, while the R recipe explicitly enables conda TIFF and links libtiff into the R package load path.
Constraint: User requested local rattler validation of the packaging pipeline
Rejected: Rely on CMake's tttrlibR target alone | R CMD INSTALL relinks the package from the static core and must carry TIFF itself
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep Python-internal TIFF SWIG names underscored only outside SWIGR; R-generated wrappers cannot reference leading-underscore symbols
Tested: rattler-build build --recipe recipes/py --variant python=3.11 --channel conda-forge --output-dir ./conda-bld --test native --log-style plain
Tested: rattler-build build --recipe recipes/r --channel conda-forge --output-dir ./conda-bld --test native --log-style plain
Tested: rattler-build build --render-only --with-solve for recipes/py, recipes/r, and recipes/docs
Not-tested: Linux docs package build because recipes/docs is skipped on local macOS1 parent 58c66dd commit c5724b8
4 files changed
Lines changed: 26 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
37 | 54 | | |
38 | 55 | | |
39 | 56 | | |
| |||
47 | 64 | | |
48 | 65 | | |
49 | 66 | | |
| 67 | + | |
50 | 68 | | |
51 | 69 | | |
52 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
42 | | - | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
0 commit comments