Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build, feat: support cross build for android/linux.
- Loading branch information
Showing
14 changed files
with
80 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM dockcross/android-x86_64 | ||
|
||
LABEL AUTHOR="xicilion" | ||
LABEL AUTHOR_EMAIL="lion@9465.net" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM dockcross/android-arm64 | ||
|
||
LABEL AUTHOR="xicilion" | ||
LABEL AUTHOR_EMAIL="lion@9465.net" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
docker build --rm -f alpine-build-env.arm64 -t fibjs/alpine-build-env:arm64 . | ||
docker build --rm -f android-build-env.amd64 -t fibjs/android-build-env:amd64 . | ||
docker build --rm -f android-build-env.arm64 -t fibjs/android-build-env:arm64 . | ||
|
||
docker build --rm -f linux-build-env.amd64 -t fibjs/linux-build-env:amd64 . | ||
docker build --rm -f linux-build-env.i386 -t fibjs/linux-build-env:i386 . | ||
docker build --rm -f linux-build-env.arm64 -t fibjs/linux-build-env:arm64 . | ||
docker build --rm -f linux-build-env.arm -t fibjs/linux-build-env:arm . | ||
docker build --rm -f linux-build-env.mips64 -t fibjs/linux-build-env:mips64 . | ||
docker build --rm -f linux-build-env.mips -t fibjs/linux-build-env:mips . | ||
|
||
docker build --rm -f alpine-build-env.amd64 -t fibjs/alpine-build-env:amd64 . | ||
docker build --rm -f alpine-build-env.arm64 -t fibjs/alpine-build-env:arm64 . | ||
|
||
docker build --rm -f alpine-test-env.amd64 -t fibjs/alpine-test-env:amd64 . | ||
docker build --rm -f alpine-test-env.arm64 -t fibjs/alpine-test-env:arm64 . | ||
docker build --rm -f alpine-test-env.amd64 -t fibjs/alpine-test-env:amd64 . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM ubuntu:20.04 | ||
|
||
LABEL AUTHOR="xicilion" | ||
LABEL AUTHOR_EMAIL="lion@9465.net" | ||
|
||
RUN apt-get update | ||
RUN apt-get install make -y | ||
RUN apt-get install cmake -y | ||
RUN apt-get install ccache -y | ||
RUN apt-get install git -y | ||
RUN apt-get install libx11-dev -y | ||
|
||
RUN apt-get install clang -y | ||
RUN apt-get install g++ -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM fibjs/linux-build-env:amd64 | ||
|
||
LABEL AUTHOR="xicilion" | ||
LABEL AUTHOR_EMAIL="lion@9465.net" | ||
|
||
RUN apt-get install g++-arm-linux-gnueabihf -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM fibjs/linux-build-env:amd64 | ||
|
||
LABEL AUTHOR="xicilion" | ||
LABEL AUTHOR_EMAIL="lion@9465.net" | ||
|
||
RUN apt-get install g++-aarch64-linux-gnu -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM fibjs/linux-build-env:amd64 | ||
|
||
LABEL AUTHOR="xicilion" | ||
LABEL AUTHOR_EMAIL="lion@9465.net" | ||
|
||
RUN apt-get install g++-i686-linux-gnu -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM fibjs/linux-build-env:amd64 | ||
|
||
LABEL AUTHOR="xicilion" | ||
LABEL AUTHOR_EMAIL="lion@9465.net" | ||
|
||
RUN apt-get install g++-mips-linux-gnu -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM fibjs/linux-build-env:amd64 | ||
|
||
LABEL AUTHOR="xicilion" | ||
LABEL AUTHOR_EMAIL="lion@9465.net" | ||
|
||
RUN apt-get install g++-mips64-linux-gnuabi64 -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule vender
updated
4 files
+4 −10 | build.cmake | |
+1 −1 | build_tools | |
+7 −14 | uv/CMakeLists.txt | |
+4 −0 | v8/CMakeLists.txt |