Skip to content

Commit 0c86e3b

Browse files
authored
Add how to compile pika
1 parent 41f0fcb commit 0c86e3b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
11
# compiled-files
22
Pre compiled files for various programs
3+
4+
## How to compile pika
5+
```sh
6+
sudo apt install -y liblz4-1 liblz4-dev libzstd1 libzstd-dev libsnappy1v5 libsnappy-dev zlib1g zlib1g-dev libprotobuf23 libprotobuf-dev protobuf-compiler libgoogle-glog0v5 libgoogle-glog-dev libgflags2.2 libgflags-dev
7+
sudo apt install -y gcc-9 g++-9
8+
cd /tmp
9+
git clone https://github.com/OpenAtomFoundation/pika.git --depth 1
10+
cd pika
11+
git submodule update --init
12+
sed -i 's#^CXX=.*#CXX=g++-9#' Makefile
13+
sed -i '1s/^/DISABLE_WARNING_AS_ERROR=1\n/' third/rocksdb/Makefile
14+
make
15+
cd output
16+
tar -czvf pika-3.4.1.tar.gz *
17+
```

0 commit comments

Comments
 (0)