File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -30,35 +30,6 @@ apt-get install -y --no-install-recommends \
30
30
python3-numpy \
31
31
python3-skimage
32
32
33
- # build Protobuf3 since it's needed for Python3
34
- PROTOBUF3_DIR=~ /protobuf3
35
- pushd .
36
- if [ -d " $PROTOBUF3_DIR " ] && [ -e " $PROTOBUF3_DIR /src/protoc" ]; then
37
- echo " Using cached protobuf3 build ..."
38
- cd $PROTOBUF3_DIR
39
- else
40
- echo " Building protobuf3 from source ..."
41
- rm -rf $PROTOBUF3_DIR
42
- mkdir $PROTOBUF3_DIR
43
-
44
- # install some more dependencies required to build protobuf3
45
- apt-get install -y --no-install-recommends \
46
- curl \
47
- dh-autoreconf \
48
- unzip
49
-
50
- wget https://github.com/google/protobuf/archive/3.0.x.tar.gz -O protobuf3.tar.gz
51
- tar -xzf protobuf3.tar.gz -C $PROTOBUF3_DIR --strip 1
52
- rm protobuf3.tar.gz
53
- cd $PROTOBUF3_DIR
54
- ./autogen.sh
55
- ./configure --prefix=/usr
56
- make --jobs=$NUM_THREADS
57
- fi
58
- make install
59
- popd
60
- fi
61
-
62
33
if $WITH_IO ; then
63
34
apt-get install -y --no-install-recommends \
64
35
libleveldb-dev \
You can’t perform that action at this time.
0 commit comments