Skip to content

Commit dfd9064

Browse files
committed
Use Debian Protobuf package
1 parent c147648 commit dfd9064

File tree

4 files changed

+6
-60
lines changed

4 files changed

+6
-60
lines changed

.github/workflows/aiscm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
apt-get install -q -y wget
3737
- name: Install libtensorflow-cpu-linux
3838
run: |
39-
wget -q https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz
40-
tar xz -C /usr -f libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz
39+
wget -q https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.15.0.tar.gz
40+
tar xz -C /usr -f libtensorflow-cpu-linux-x86_64-1.15.0.tar.gz
4141
- name: autoreconf
4242
run: ./autogen.sh
4343
- name: configure

.travis.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

doc/dependencies.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ apt-get install -q -y clang-14
2020
apt-get install -q -y libomp5-14
2121
apt-get install -q -y libomp-14-dev
2222
apt-get install -q -y clearsilver-dev
23+
apt-get install -q -y protobuf-c-compiler libprotobuf-c-dev
2324
apt-get install -q -y cmake
2425
apt-get install -q -y wget

doc/installation.md

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -20,33 +20,11 @@ You need to install the dependencies:
2020
@dependencies.sh@
2121
```
2222

23-
You also need
24-
25-
A recent version of Protobuf-C library and compiler:
26-
27-
```
28-
wget -q https://github.com/protocolbuffers/protobuf/releases/download/v3.10.0/protobuf-all-3.10.0.tar.gz
29-
wget -q https://github.com/protobuf-c/protobuf-c/releases/download/v1.3.2/protobuf-c-1.3.2.tar.gz
30-
tar xzf protobuf-all-3.10.0.tar.gz
31-
tar xzf protobuf-c-1.3.2.tar.gz
32-
cd protobuf-3.10.0
33-
./configure
34-
make -j `nproc`
35-
sudo make install
36-
cd ..
37-
cd protobuf-c-1.3.2
38-
./configure
39-
make -j `nproc`
40-
sudo make install
41-
cd ..
42-
```
43-
44-
45-
The Tensorflow C library (install the GPU version instead if you have a GPU):
23+
You also need the Tensorflow C library (install the GPU version instead if you have a GPU):
4624

4725
```
48-
wget -q https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz
49-
sudo tar xz -C /usr/local -f libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz
26+
wget -q https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.15.0.tar.gz
27+
sudo tar xz -C /usr/local -f libtensorflow-cpu-linux-x86_64-1.15.0.tar.gz
5028
```
5129

5230
### Build AIscm

0 commit comments

Comments
 (0)