-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc(build): add readme for cross deps
- Loading branch information
Showing
4 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Dependencies for cross build | ||
|
||
When cross building Kong (the target architecture is different from the host), | ||
we need to build some extra dependencies to produce headers and dynamic libraries | ||
to let compiler and linker work properly. | ||
|
||
Following are the dependencies: | ||
- libxcrypt | ||
- libyaml | ||
- zlib | ||
|
||
Note that the artifacts of those dependencies are only used during build time, | ||
they are not shipped together with our binary artifact (.deb, .rpm or docker image etc). | ||
|
||
We currently do cross compile on following platforms: | ||
- Amazonlinux 2 | ||
- Amazonlinux 2023 | ||
- Ubuntu 18.04 (Version 3.4.x.x only) | ||
- Ubuntu 22.04 | ||
- RHEL 9 | ||
- Debian 12 | ||
|
||
As we do not use different versions in different distros just for simplicity, the version | ||
of those dependencies should remain the lowest among all distros originally shipped, to | ||
allow the produced artifacts has lowest ABI/API to be compatible across all distros. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f908184
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bazel Build
Docker image available
kong/kong:f908184e11a23ac452a6d4aab361dcac520ac2a1
Artifacts available https://github.com/Kong/kong/actions/runs/9903796066