doc: clarify ICU source layout for --with-icu-source - #62011
Conversation
|
Review requested:
|
| The directory passed to `--with-icu-source` must contain the extracted ICU | ||
| source layout (for example, `source/data/in/icudt*l.dat`). A plain Git checkout | ||
| of the ICU repository is not sufficient unless it has been prepared to match | ||
| this layout. |
There was a problem hiding this comment.
I'm not sure this is incredibly clear with respect to what the paths or "prepared to match" mean. Converting from the source code tree to the compiled source archive is an active build step (make dist), not just a "layout"; I don't think we need to mention what to do with a checked-out source tree, only that it's not the way to do it.
| The directory passed to `--with-icu-source` must contain the extracted ICU | |
| source layout (for example, `source/data/in/icudt*l.dat`). A plain Git checkout | |
| of the ICU repository is not sufficient unless it has been prepared to match | |
| this layout. | |
| (Note that simply cloning the icu4c repository will not work here; the source | |
| directory must have been unpacked from the compiled `-sources` archive.) |
|
|
||
| ```bash | ||
| ./configure --with-intl=full-icu --with-icu-source=http://url/to/icu.tgz | ||
| ``` | ||
|
|
||
| #### Windows | ||
|
|
||
| First unpack latest ICU to `deps/icu` | ||
| [icu4c-**##.#**-src.tgz](https://icu.unicode.org/download) (or `.zip`) | ||
| as `deps/icu` (You'll have: `deps/icu/source/...`) | ||
|
|
||
| ```powershell | ||
| .\vcbuild full-icu | ||
| ``` |
There was a problem hiding this comment.
Also need to update the archive names here.
|
This pull request has been marked as stale due to 90 days of inactivity. |
|
Thanks @Renegade334 — applied both. Used your wording verbatim for the icu4c note, since you're right that |
34e0949 to
8bac4b8
Compare
Signed-off-by: skdas20 <skdas5405@gmail.com>
Use the reviewer's wording for the note about cloning icu4c, and update the archive name in the Windows section to match. Signed-off-by: skdas20 <skdas5405@gmail.com>
8bac4b8 to
f47d9df
Compare
|
Pushed fixes for both failing lint jobs.
@Renegade334 — that's on your suggested wording rather than anything you could have known about;
|
| @@ -992,21 +978,24 @@ that works for both your host and target environments. | |||
|
|
|||
| You can find other ICU releases at | |||
| [the ICU homepage](https://icu.unicode.org/download). | |||
There was a problem hiding this comment.
| [the ICU homepage](https://icu.unicode.org/download). | |
| [the ICU homepage](https://unicode-org.github.io/icu/download/). |
With the https://unicode-org.github.io/icu/download/ page redirecting you elsewhere we should probably target the new location.
Commit Queue failedThe pull request was removed from the Commit Queue and labeled
commit-queue-failed
Full Commit Queue output |
Fixes #60947
Summary
Clarifies
--with-icu-sourcebuild docs to match current ICU release packaging and expected directory layout:icu4c-##.#-src.tgztoicu4c-##.#-sources.tgz.--with-icu-sourcemust point to an extracted ICU source archive layout.Validation
Ran markdown lint on the changed file:
Result: exit code
0.