Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

Commit fc08d67

Browse files
committed
Update build instructions.
1 parent 8610893 commit fc08d67

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

README.md

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,28 @@ Parquet-cpp [![Build Status](https://travis-ci.org/apache/parquet-cpp.svg)](http
22
===========
33
A C++ library to read parquet files.
44

5-
To build you will need some version of boost installed and thrift 0.7+ installed.
6-
(If you are building thrift from source, you will need to set the THRIFT_HOME env
7-
variable to the directory containing include/ and lib/.)
8-
9-
Then run:
10-
<br>
11-
<code>
12-
thirdparty/download_thirdparty.sh
13-
</code>
14-
<br>
15-
<code>
16-
thirdparty/build_thirdparty.sh
17-
</code>
18-
<br>
19-
<code>
20-
cmake .
21-
</code>
22-
<br>
23-
<code>
24-
make
25-
</code>
5+
## Third Party Dependencies
6+
- boost
7+
- snappy
8+
- lz4
9+
- thrift 0.7+ [install instructions](https://thrift.apache.org/docs/install/)
10+
11+
Many package managers support some or all of these dependencies. E.g.:
12+
```shell
13+
ubuntu$ sudo apt-get install libboost-dev libsnappy-dev liblz4-dev
14+
```
15+
```shell
16+
mac$ brew install boost snappy lz4 thrift
17+
```
18+
You can also take a look at our [.travis.yml](.travis.yml) to see how that build env is set up.
19+
20+
## Build
21+
- `cmake .`
22+
- You can customize dependent library locations through various environment variables:
23+
- THRIFT_HOME customizes the thrift installed location.
24+
- SNAPPY_HOME customizes the snappy installed location.
25+
- LZ4_HOME customizes the lz4 installed location.
26+
- `make`
2627

2728
The binaries will be built to ./bin which contains the libraries to link against as
2829
well as a few example executables.

0 commit comments

Comments
 (0)