forked from baidu/BaikalDB
-
Notifications
You must be signed in to change notification settings - Fork 0
Compile EN
liuhuicong edited this page Feb 19, 2019
·
1 revision
We use Bazel to resolve dependencies and build BaikalDB automatically. The build has been successful on Ubuntu 16.04 and CentOS 7. More platforms will be supported soon.
- Install bazel, we recommend version 0.18.1 or earlier. Later versions may be incompatible with the BUILD file.
- Install flex, bison and openssl library: sudo apt-get install flex bison libssl-dev
- Install g++ (v4.8.2 or later): sudo apt-get install g++
- bazel build //:all
- Install bazel.
- sudo yum install flex bison patch openssl-devel
- sudo yum install gcc-c++ (v4.8.2 or later)
- bazel build //:all
You may brew and enjoy a cup of coffee waiting for the tedious building process
test