Skip to content

Commit

Permalink
Makefile: PORTABLE flag for rocksdb, docker build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sadoci committed Mar 6, 2023
1 parent be5eaa5 commit 64f88b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ gmet-linux: etcd
docker build -t meta/builder:local \
-f Dockerfile.metadium . && \
docker run -e HOME=/tmp --rm -v $(shell pwd):/data \
-u $(shell id -u):$(shell id -g) \
-w /data meta/builder:local \
make USE_ROCKSDB=$(USE_ROCKSDB); \
fi
Expand All @@ -127,7 +128,7 @@ rocksdb:
else
rocksdb:
@[ ! -e rocksdb/.git ] && git submodule update --init rocksdb; \
cd $(ROCKSDB_DIR) && make -j8 static_lib;
cd $(ROCKSDB_DIR) && PORTABLE=1 make -j8 static_lib;
endif

etcd:
Expand Down

0 comments on commit 64f88b6

Please sign in to comment.