Skip to content

Commit

Permalink
tar added as prereq for build on Fedora, more details about Bazel ver…
Browse files Browse the repository at this point in the history
…sion to be used, known issue with ccache on Fedora
  • Loading branch information
useidel committed Feb 20, 2024
1 parent 069da05 commit e8cb183
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ dnf install \
perl-IPC-Cmd \
protobuf-devel \
unzip \
tar \
valgrind \
valgrind-devel \
zlib-devel
Expand All @@ -145,6 +146,8 @@ You can follow [Managing your personal access token](https://docs.github.com/en/
# export GITHUB_TOKEN=ghp_xxxxxx_your_access_token
```

The build process is based on [Bazel](https://bazel.build/). Please make sure that you have the [required version](https://github.com/Kong/kong/blob/master/.bazelversion) installed. For more details please check out the [the build guide](https://github.com/Kong/kong/blob/master/build/README.md)

Finally, we start the build process:

```
Expand Down
2 changes: 2 additions & 0 deletions build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
This directory contains the build system for the project.
The build system is designed to be used with the [Bazel](https://bazel.build/).
It is designed to be running on Linux without root privileges, and no virtualization technology is required.
However, you need to match exactly the version of Bazel as configured [here](https://github.com/Kong/kong/blob/master/.bazelversion).

The build system is tested on Linux (x86_64 and aarch64) and macOS (Intel chip and AppleSilicon Chip).

Expand Down Expand Up @@ -252,3 +253,4 @@ Note:

- On macOS, the build may not work with only Command Line Tools installed, you will typically see errors like `../libtool: line 154: -s: command not found`. In such case, installing Xcode should fix the issue.
- If you have configure `git` to use SSH protocol to replace HTTPS protocol, but haven't setup SSH agent, you might see errors like `error: Unable to update registry crates-io`. In such case, set `export CARGO_NET_GIT_FETCH_WITH_CLI=true` to use `git` command line to fetch the repository.
- There are problems with [ccache](https://ccache.dev/) on Fedora. You can solve this by removing the path pointing to ccache from that `PATH` variable in you shell.

0 comments on commit e8cb183

Please sign in to comment.