File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ AUTOCONF_VERSION="2.71"
194194AWS_SDK_VERSION="1 .11 .336 "
195195CMAKE_VERSION="v3 .28 .5 "
196196FAISS_VERSION="v1 .9 .0 "
197- GOOGLETEST_VERSION="v 1 . 17 . 0 "
197+ GOOGLETEST_VERSION="4 c 9 a 3 bb 62 bf 3 ba 1 f 1010 bf 96 f 9 c 8 ed 767 b 363774 "
198198LIBEDIT_VERSION="20230828 -3 .1 "
199199NUMPY_MIN_VERSION="1 .26 .0 "
200200OPENCV_VERSION="4 .9 .0 "
@@ -215,8 +215,9 @@ make install
215215
216216
217217# GOOGLETEST
218- git clone -b " ${GOOGLETEST_VERSION} " https:// github.com/ google/ googletest.git $VDMS_DEP_DIR / googletest
218+ git clone https://github.com/google/googletest.git $VDMS_DEP_DIR /googletest
219219cd $VDMS_DEP_DIR /googletest
220+ git checkout "${GOOGLETEST_VERSION} "
220221mkdir build && cd build/
221222cmake -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=Release \
222223 -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr/local \
Original file line number Diff line number Diff line change @@ -105,12 +105,13 @@ sudo make install
105105```
106106<br >
107107
108- #### ** GoogleTest v1.17.0 **
109- Install GoogleTest v1.17.0 :
108+ #### ** GoogleTest**
109+ Install GoogleTest version used in Protobuf v29.5 :
110110``` bash
111- GOOGLETEST_VERSION=" v1.17.0 "
112- git clone -b " ${GOOGLETEST_VERSION} " https://github.com/google/googletest.git $VDMS_DEP_DIR /googletest && \
111+ GOOGLETEST_VERSION=" 4c9a3bb62bf3ba1f1010bf96f9c8ed767b363774 "
112+ git clone https://github.com/google/googletest.git $VDMS_DEP_DIR /googletest && \
113113cd $VDMS_DEP_DIR /googletest
114+ git checkout " ${GOOGLETEST_VERSION} "
114115mkdir build && cd build/
115116cmake -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=Release \
116117 -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr/local \
@@ -124,7 +125,7 @@ sudo make install
124125Install Protobuf (C++ and Python) with its dependencies.
125126``` bash
126127PROTOBUF_VERSION=" 29.5"
127- python3 -m pip install --no-cache-dir " protobuf==4 .${PROTOBUF_VERSION} "
128+ python3 -m pip install --no-cache-dir " protobuf==5 .${PROTOBUF_VERSION} "
128129
129130git clone -b v${PROTOBUF_VERSION} --recurse-submodules https://github.com/protocolbuffers/protobuf.git $VDMS_DEP_DIR /protobuf
130131cd $VDMS_DEP_DIR /protobuf
You can’t perform that action at this time.
0 commit comments