Commit 1eee7ce
authored
docs: record the compat.openssl windows gap as a TODO with its evidence (#152)
windows support was attempted (#150, now a draft — it cannot be merged as it
stands: it turns tests/examples/openssl on windows from a passing no-op main()
into a failing build) and did not land. Rather than leave that as six rounds of
CI archaeology, what was learned is written down.
Settled, and not worth re-investigating:
* OpenSSL 3.5.1 leaves exactly one x64 windows path — VC-WIN64A, whose
build_scheme is an NMAKE makefile; the clang-cl configs are Windows-on-ARM.
* That brings two HOST requirements the package cannot supply: perl (xim:perl
ships no windows build — "The Windows answer is Strawberry Perl") and a VS
C++ toolset for nmake. Declaring xim:perl in a windows xpm block would fail
resolution BEFORE install() runs — the same trap compat.openssl already
documents for xim:make on macosx.
Where it stops: vswhere finds the toolset correctly, and then running vcvars in
ANY form takes the whole process chain down — plain `call`, a child `cmd /c`,
and the standard `cmd /c "vcvars & set"` environment dump all stop at that line
with no RESULT and no error. That no longer looks like a mistake in the
descriptor, so the doc recommends running `perl Configure VC-WIN64A && nmake` by
hand on a windows machine inside the mcpp sandbox before writing more code. All
six rounds so far were blind CI iterations at ~10 minutes each.
The old "requires prebuilt MSVC libs uploaded to xlings-res" line in the
descriptor is replaced: that is not the blocker, and leaving it would send the
next person after the wrong thing.
The doc also carries five findings that apply to ANY install() hook:
log.error never reaches the job (only a self-made mcpp_*_build.log does), the
xlings sandbox exposes a SUBSET of xmake's Lua API and calling outside it kills
the hook silently (os.curdir, path.absolute), os.exec can report success for a
script that did nothing, the log must exist before anything that can fail, and
io.writefile does not translate line endings while cmd's batch parsing assumes
CRLF.1 parent 3331eb1 commit 1eee7ce
2 files changed
Lines changed: 103 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
41 | 51 | | |
42 | 52 | | |
43 | 53 | | |
| |||
0 commit comments