The GitHub Actions job "CI" on kvrocks.git/unstable has succeeded.
Run started by GitHub user PragmaTwice (triggered by PragmaTwice).

Head commit for run:
91450d84949cd0f6426b87941be8b2d5b95f5ab1 / Twice <[email protected]>
build: support to cache archives of fetched dependencies (#3257)

This patch adds a new cmake variable `DEPS_FETCH_DIR`:
- fetched dependence archives will be put to this dir;
- if the archive file in this dir exists, downloading phase will be
skipped.

Hence this patch enables "offline building" of kvrocks.

Steps for offline building:

1. in an online environment, fetch kvrocks source repo and run cmake
with `-DDEPS_FETCH_DIR=<dep-dir>`.
2. copy kvrocks source code along with `<dep-dir>` to an offline
environment.
3. in the offline environment, build kvrocks with
`-DDEPS_FETCH_DIR=<dep-dir>`.

An example of files in the dep dir:
```sh
$ ll build/deps
total 40M
-rw-r--r-- 1 twice twice  559K Nov 11 18:44 cpptrace-v1.0.3.zip
-rw-r--r-- 1 twice twice  747K Nov 11 18:43 fmt-12.1.0.zip
-rw-r--r-- 1 twice twice  1.1M Nov 11 18:42 gtest-v1.17.0.zip
-rw-r--r-- 1 twice twice  958K Nov 11 18:42 jemalloc-5.3.0.zip
-rw-r--r-- 1 twice twice  2.2M Nov 11 18:43 jsoncons-v1.4.3.zip
-rw-r--r-- 1 twice twice  904K Nov 11 18:43 libevent-release-2.1.12-stable.zip
-rw-r--r-- 1 twice twice  1.2M Nov 11 18:44 
luajit-c0a8e68325ec261a77bde1c8eabad398168ffe74.zip
-rw-r--r-- 1 twice twice  479K Nov 11 18:42 lz4-v1.10.0.zip
-rw-r--r-- 1 twice twice  460K Nov 11 18:43 pegtl-3.2.8.zip
-rw-r--r-- 1 twice twice 1015K Nov 11 18:44 rangev3-0.12.0.zip
-rw-r--r-- 1 twice twice   15M Nov 11 18:43 rocksdb-v10.6.2.zip
-rw-r--r-- 1 twice twice  1.2M Nov 11 18:42 snappy-1.2.2-rtti.zip
-rw-r--r-- 1 twice twice   70K Nov 11 18:43 span-v0.11.0.zip
-rw-r--r-- 1 twice twice  355K Nov 11 18:43 spdlog-v1.16.0.zip
-rw-r--r-- 1 twice twice  7.4M Nov 11 18:43 tbb-v2022.3.0.zip
-rw-r--r-- 1 twice twice   98K Nov 11 18:43 
trie-906e6abd1e7063f1dacd3a6b270aa654b525eb0a.zip
-rw-r--r-- 1 twice twice  1.2M Nov 11 18:43 xxhash-v0.8.3.zip
-rw-r--r-- 1 twice twice  2.5M Nov 11 18:42 zlib-2.2.4.zip
-rw-r--r-- 1 twice twice  2.7M Nov 11 18:43 zstd-v1.5.7.zip
```

Report URL: https://github.com/apache/kvrocks/actions/runs/19271749548

With regards,
GitHub Actions via GitBox

Reply via email to