Commit 5ca8125
CI: install wasm zlib + HDF5 into the Emscripten sysroot
The Emscripten/WASM jobs were red: HDF5's own static build failed with
"Could NOT find ZLIB ... non-existent target ZLIB::ZLIB". Emscripten restricts
find_package() to CMAKE_FIND_ROOT_PATH (= the sysroot), so a custom-prefix
-DZLIB_ROOT / CMAKE_PREFIX_PATH is silently ignored (the same static-HDF5
packaging gap #1894 works around downstream).
Install the static zlib + HDF5 into the active Emscripten sysroot (em-config
CACHE), as library_builders.sh does, so find_package(ZLIB)/find_package(HDF5)
locate them with no extra hints -- in the HDF5 dep build, the openPMD configure,
and the Pyodide wheel build alike. Also pin setup-emsdk to 'latest' ('5.0.3' is
Pyodide's fork tag and silently fell back to emsdk main).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent cea3eae commit 5ca8125
2 files changed
Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | | - | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | | - | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
| |||
0 commit comments