File tree 7 files changed +12
-16
lines changed
7 files changed +12
-16
lines changed Original file line number Diff line number Diff line change 40
40
- name : " checkout sources"
41
41
uses : actions/checkout@v2
42
42
with :
43
+ submodules : recursive
43
44
fetch-depth : 0
44
45
45
46
- name : Pull the image or rebuild and push it
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ struct SizeVerify {};
56
56
57
57
void Stats::populateGlobalCacheStats (GlobalCacheStats& ret) const {
58
58
#ifndef SKIP_SIZE_VERIFY
59
- SizeVerify<sizeof (Stats)> a = SizeVerify<16288 >{};
59
+ SizeVerify<sizeof (Stats)> a = SizeVerify<16640 >{};
60
60
std::ignore = a;
61
61
#endif
62
62
ret.numCacheGets = numCacheGets.get ();
Original file line number Diff line number Diff line change @@ -197,7 +197,6 @@ case "$1" in
197
197
folly)
198
198
NAME=folly
199
199
SRCDIR=cachelib/external/$NAME
200
- update_submodules=yes
201
200
cmake_custom_params=" -DBUILD_SHARED_LIBS=ON"
202
201
if test " $build_tests " = " yes" ; then
203
202
cmake_custom_params=" $cmake_custom_params -DBUILD_TESTS=ON"
@@ -209,7 +208,6 @@ case "$1" in
209
208
fizz)
210
209
NAME=fizz
211
210
SRCDIR=cachelib/external/$NAME /$NAME
212
- update_submodules=yes
213
211
cmake_custom_params=" -DBUILD_SHARED_LIBS=ON"
214
212
if test " $build_tests " = " yes" ; then
215
213
cmake_custom_params=" $cmake_custom_params -DBUILD_TESTS=ON"
@@ -221,7 +219,6 @@ case "$1" in
221
219
wangle)
222
220
NAME=wangle
223
221
SRCDIR=cachelib/external/$NAME /$NAME
224
- update_submodules=yes
225
222
cmake_custom_params=" -DBUILD_SHARED_LIBS=ON"
226
223
if test " $build_tests " = " yes" ; then
227
224
cmake_custom_params=" $cmake_custom_params -DBUILD_TESTS=ON"
@@ -240,7 +237,6 @@ case "$1" in
240
237
fbthrift)
241
238
NAME=fbthrift
242
239
SRCDIR=cachelib/external/$NAME
243
- update_submodules=yes
244
240
cmake_custom_params=" -DBUILD_SHARED_LIBS=ON"
245
241
;;
246
242
Original file line number Diff line number Diff line change @@ -35,4 +35,4 @@ echo "Build a Docker image tagged with: ${CONTAINER_REG}:${TAG}"
35
35
docker build -t ${CONTAINER_REG} :${TAG} \
36
36
--build-arg http_proxy=$http_proxy \
37
37
--build-arg https_proxy=$https_proxy \
38
- -f ${OS} -${OS_VER} .Dockerfile .
38
+ -f ${OS} -${OS_VER} .Dockerfile ../.. # need access to contrib and submodules
Original file line number Diff line number Diff line change @@ -23,8 +23,9 @@ RUN dnf -y install gcc-toolset-12
23
23
RUN echo "source /opt/rh/gcc-toolset-12/enable" >> /etc/bashrc
24
24
SHELL ["/bin/bash" , "--login" , "-c" ]
25
25
26
- COPY ./install-cachelib-deps.sh ./install-cachelib-deps.sh
27
- RUN ./install-cachelib-deps.sh
26
+ COPY ./contrib ./contrib
27
+ COPY ./docker ./docker
28
+ COPY ./cachelib/external ./cachelib/external
28
29
29
- COPY ./install-dsa-deps.sh ./ install-dsa -deps.sh
30
- RUN ./install-dsa-deps.sh
30
+ RUN ./docker/images/ install-cachelib -deps.sh
31
+ RUN ./docker/images/ install-dsa-deps.sh
Original file line number Diff line number Diff line change 2
2
# SPDX-License-Identifier: BSD-3-Clause
3
3
# Copyright 2022, Intel Corporation
4
4
5
- git clone -b develop https://github.com/intel/CacheLib CacheLib
6
-
7
- ./CacheLib/contrib/prerequisites-centos8.sh
5
+ echo ' Defaults env_keep += "HTTPS_PROXY https_proxy HTTP_PROXY http_proxy NO_PROXY no_proxy"' >> /etc/sudoers
6
+ ./contrib/prerequisites-centos8.sh
8
7
9
8
for pkg in zstd googleflags googlelog googletest sparsemap fmt folly fizz wangle fbthrift ;
10
9
do
11
- sudo ./CacheLib/ contrib/build-package.sh -j -I /opt/ " $pkg "
10
+ sudo ./contrib/build-package.sh -j -I /opt/ " $pkg "
12
11
done
13
12
14
- rm -rf CacheLib
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ rm -rf idxd-config
15
15
# Install DML Library
16
16
git clone --recursive https://github.com/intel/DML.git
17
17
cd DML
18
- git checkout e44443c24d53552b248b9869b1b16f89cd970f52
18
+ git checkout v1.1.0
19
19
mkdir build
20
20
cd build
21
21
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
You can’t perform that action at this time.
0 commit comments