File tree Expand file tree Collapse file tree 7 files changed +12
-16
lines changed Expand file tree Collapse file tree 7 files changed +12
-16
lines changed Original file line number Diff line number Diff line change 4040 - name : " checkout sources"
4141 uses : actions/checkout@v2
4242 with :
43+ submodules : recursive
4344 fetch-depth : 0
4445
4546 - 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 {};
5656
5757void Stats::populateGlobalCacheStats (GlobalCacheStats& ret) const {
5858#ifndef SKIP_SIZE_VERIFY
59- SizeVerify<sizeof (Stats)> a = SizeVerify<16288 >{};
59+ SizeVerify<sizeof (Stats)> a = SizeVerify<16640 >{};
6060 std::ignore = a;
6161#endif
6262 ret.numCacheGets = numCacheGets.get ();
Original file line number Diff line number Diff line change @@ -197,7 +197,6 @@ case "$1" in
197197 folly)
198198 NAME=folly
199199 SRCDIR=cachelib/external/$NAME
200- update_submodules=yes
201200 cmake_custom_params=" -DBUILD_SHARED_LIBS=ON"
202201 if test " $build_tests " = " yes" ; then
203202 cmake_custom_params=" $cmake_custom_params -DBUILD_TESTS=ON"
@@ -209,7 +208,6 @@ case "$1" in
209208 fizz)
210209 NAME=fizz
211210 SRCDIR=cachelib/external/$NAME /$NAME
212- update_submodules=yes
213211 cmake_custom_params=" -DBUILD_SHARED_LIBS=ON"
214212 if test " $build_tests " = " yes" ; then
215213 cmake_custom_params=" $cmake_custom_params -DBUILD_TESTS=ON"
@@ -221,7 +219,6 @@ case "$1" in
221219 wangle)
222220 NAME=wangle
223221 SRCDIR=cachelib/external/$NAME /$NAME
224- update_submodules=yes
225222 cmake_custom_params=" -DBUILD_SHARED_LIBS=ON"
226223 if test " $build_tests " = " yes" ; then
227224 cmake_custom_params=" $cmake_custom_params -DBUILD_TESTS=ON"
@@ -240,7 +237,6 @@ case "$1" in
240237 fbthrift)
241238 NAME=fbthrift
242239 SRCDIR=cachelib/external/$NAME
243- update_submodules=yes
244240 cmake_custom_params=" -DBUILD_SHARED_LIBS=ON"
245241 ;;
246242
Original file line number Diff line number Diff line change @@ -35,4 +35,4 @@ echo "Build a Docker image tagged with: ${CONTAINER_REG}:${TAG}"
3535docker build -t ${CONTAINER_REG} :${TAG} \
3636 --build-arg http_proxy=$http_proxy \
3737 --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
2323RUN echo "source /opt/rh/gcc-toolset-12/enable" >> /etc/bashrc
2424SHELL ["/bin/bash" , "--login" , "-c" ]
2525
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
2829
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 22# SPDX-License-Identifier: BSD-3-Clause
33# Copyright 2022, Intel Corporation
44
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
87
98for pkg in zstd googleflags googlelog googletest sparsemap fmt folly fizz wangle fbthrift ;
109do
11- sudo ./CacheLib/ contrib/build-package.sh -j -I /opt/ " $pkg "
10+ sudo ./contrib/build-package.sh -j -I /opt/ " $pkg "
1211done
1312
14- rm -rf CacheLib
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ rm -rf idxd-config
1515# Install DML Library
1616git clone --recursive https://github.com/intel/DML.git
1717cd DML
18- git checkout e44443c24d53552b248b9869b1b16f89cd970f52
18+ git checkout v1.1.0
1919mkdir build
2020cd build
2121cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
You can’t perform that action at this time.
0 commit comments