-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (24 loc) · 701 Bytes
/
Makefile
File metadata and controls
37 lines (24 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
ROCKSDB_VERSION ?= 5.17.2
.PHONY: $(MAKECMDGOALS)
# Crossbuild:
all: clean build-linux32 build-linux64 build-osx
generate-jni-headers:
cd java;mvn clean compile
prepare-rocksdb:
git clone https://github.com/facebook/rocksdb
cd rocksdb; git checkout v${ROCKSDB_VERSION}
clean:
# docker rm -f rocksdb_linux_x86-be || true
# docker rm -f rocksdb_linux_x64-be || true
rm -rf build-*
build-linux32:
./scripts/build-linux-docker.sh 32
build-linux64:
./scripts/build-linux-docker.sh 64
build-osx:
./scripts/build.sh osx
# Only for windows:
win-prepare: prepare-rocksdb
choco install jdk8 maven visualstudio2017community intellijidea-community vscode
build-win:
.\scripts\build-win.bat