Skip to content

Commit

Permalink
Using latest multiarch/crossbuild since we need cmake 3.1 or higher f…
Browse files Browse the repository at this point in the history
…or building snappy 1.1.7. (#261)
  • Loading branch information
iwasakims authored Oct 20, 2020
1 parent a1f6977 commit 150083c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ mac32: jni-header
$(MAKE) native OS_NAME=Mac OS_ARCH=x86

mac64: jni-header
docker run -it $(DOCKER_RUN_OPTS) -v $$PWD:/workdir -e CROSS_TRIPLE=x86_64-apple-darwin multiarch/crossbuild make clean-native native OS_NAME=Mac OS_ARCH=x86_64
docker run -it $(DOCKER_RUN_OPTS) -v $$PWD:/workdir -e CROSS_TRIPLE=x86_64-apple-darwin xerial/crossbuild make clean-native native OS_NAME=Mac OS_ARCH=x86_64

linux32: jni-header
docker run $(DOCKER_RUN_OPTS) -ti -v $$PWD:/work xerial/centos5-linux-x86_64-pic bash -c 'make clean-native native-nocmake OS_NAME=Linux OS_ARCH=x86'
Expand Down
3 changes: 3 additions & 0 deletions docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ centos5-image:
# dockerhub login
# docker login --username=xerial
# docker push xerial/centos5-linux-x86_64:latest

multiarch-crossbuild-image:
docker build https://github.com/multiarch/crossbuild.git -t xerial/crossbuild:latest

0 comments on commit 150083c

Please sign in to comment.