mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-19 01:19:26 +02:00
Compare commits
14 Commits
add_linux-
...
update_rea
Author | SHA1 | Date | |
---|---|---|---|
e1a1191559 | |||
ed5ecc293e | |||
6d00aa95f5 | |||
c06be541ac | |||
0f9beb211c | |||
b3b207e65a | |||
958baab724 | |||
94ca571f67 | |||
b922daff52 | |||
5322eac0bf | |||
259afe733b | |||
47215f71ba | |||
5d97dc31aa | |||
139f0833e6 |
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -383,8 +383,8 @@ jobs:
|
|||||||
stockfish_arg: "ARCH=x86-64-modern",
|
stockfish_arg: "ARCH=x86-64-modern",
|
||||||
ninja: "yes",
|
ninja: "yes",
|
||||||
ninja_arg: "",
|
ninja_arg: "",
|
||||||
openssl: "no",
|
openssl: "yes",
|
||||||
openssl_arg: "linux-generic64 no-asm no-threads no-engine no-hw no-weak-ssl-ciphers no-dtls no-shared no-dso",
|
openssl_arg: "linux-generic64 no-tests no-asm no-hw no-dtls no-shared no-dso",
|
||||||
C: "no",
|
C: "no",
|
||||||
C_arg: "",
|
C_arg: "",
|
||||||
C-Plus-Plus: "yes",
|
C-Plus-Plus: "yes",
|
||||||
@ -400,7 +400,7 @@ jobs:
|
|||||||
stockfish_arg: "ARCH=x86-64-modern COMP=clang",
|
stockfish_arg: "ARCH=x86-64-modern COMP=clang",
|
||||||
ninja: "yes",
|
ninja: "yes",
|
||||||
ninja_arg: "",
|
ninja_arg: "",
|
||||||
openssl: "no",
|
openssl: "yes",
|
||||||
openssl_arg: "linux-x86_64-clang",
|
openssl_arg: "linux-x86_64-clang",
|
||||||
C: "yes",
|
C: "yes",
|
||||||
C_arg: "",
|
C_arg: "",
|
||||||
@ -408,7 +408,7 @@ jobs:
|
|||||||
C-Plus-Plus_arg: "",
|
C-Plus-Plus_arg: "",
|
||||||
fmt: "yes",
|
fmt: "yes",
|
||||||
fmt_arg: "",
|
fmt_arg: "",
|
||||||
cpython: "no",
|
cpython: "yes",
|
||||||
cpython_arg: "",
|
cpython_arg: "",
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
|
22
README.md
22
README.md
@ -117,6 +117,17 @@ The dockcross script will execute the given command-line inside the container, a
|
|||||||
| dockcross/windows-armv7 | ARMv7 | Clang | Windows |
|
| dockcross/windows-armv7 | ARMv7 | Clang | Windows |
|
||||||
| dockcross/windows-arm64 | ARMv8 | Clang | Windows |
|
| dockcross/windows-arm64 | ARMv8 | Clang | Windows |
|
||||||
|
|
||||||
|
The list of docker images that are **no longer maintained**.
|
||||||
|
|
||||||
|
| Image name | Target arch | Compiler | Target OS |
|
||||||
|
|:-------:|:--------:|:------:|:-----:|
|
||||||
|
| dockcross/manylinux1-x86 | x86 | GCC | manylinux |
|
||||||
|
| dockcross/manylinux1-x64 | x86_64 | GCC| manylinux |
|
||||||
|
| dockcross/manylinux2010-x86 | x86 | GCC | manylinux |
|
||||||
|
| dockcross/manylinux2010-x64 | x86_64 | GCC | manylinux |
|
||||||
|
| dockcross/linux-mipsel | mipsel | GCC 4.9 | Debian 8 |
|
||||||
|
|
||||||
|
|
||||||
## Cross compilers
|
## Cross compilers
|
||||||
|
|
||||||
### dockcross/base
|
### dockcross/base
|
||||||
@ -381,17 +392,6 @@ ARMv7 32-bit Windows cross-compiler based on [LLVM/MinGW-w64](https://github.com
|
|||||||
|
|
||||||
ARMv8 64-bit Windows cross-compiler based on [llvm-mingw](https://github.com/mstorsjo/llvm-mingw)
|
ARMv8 64-bit Windows cross-compiler based on [llvm-mingw](https://github.com/mstorsjo/llvm-mingw)
|
||||||
|
|
||||||
## Summary legacy cross compilers
|
|
||||||
|
|
||||||
The list of docker images that are no longer supported or broken
|
|
||||||
|
|
||||||
| Image name | Target arch | Compiler | Target OS |
|
|
||||||
|:-------:|:--------:|:------:|:-----:|
|
|
||||||
| dockcross/manylinux1-x86 | x86 | GCC | manylinux |
|
|
||||||
| dockcross/manylinux1-x64 | x86_64 | GCC| manylinux |
|
|
||||||
| dockcross/manylinux2010-x86 | x86 | GCC | manylinux |
|
|
||||||
| dockcross/manylinux2010-x64 | x86_64 | GCC | manylinux |
|
|
||||||
|
|
||||||
## Articles
|
## Articles
|
||||||
|
|
||||||
- [dockcross: C++ Write Once, Run
|
- [dockcross: C++ Write Once, Run
|
||||||
|
@ -25,7 +25,7 @@ RUN \
|
|||||||
ncurses-dev \
|
ncurses-dev \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
pax \
|
pax \
|
||||||
python3 \
|
python3-dev \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
rsync \
|
rsync \
|
||||||
sed \
|
sed \
|
||||||
|
@ -11,8 +11,8 @@ RUN echo "deb http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye main" >> /et
|
|||||||
&& echo "deb-src http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-${CLANG_VERSION} main" >> /etc/apt/sources.list \
|
&& echo "deb-src http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-${CLANG_VERSION} main" >> /etc/apt/sources.list \
|
||||||
&& wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
|
&& wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get purge --autoremove -y gcc g++ software-properties-common \
|
&& apt-get -y install clang-${CLANG_VERSION} libc++-${CLANG_VERSION}-dev libc++abi-${CLANG_VERSION}-dev clang-format-${CLANG_VERSION} clang-tidy-${CLANG_VERSION} lldb-${CLANG_VERSION} liblld-${CLANG_VERSION}-dev \
|
||||||
&& apt-get -y install clang-${CLANG_VERSION} libc++-${CLANG_VERSION}-dev libc++abi-${CLANG_VERSION}-dev clang-format-${CLANG_VERSION} clang-tidy-${CLANG_VERSION} lldb-${CLANG_VERSION} \
|
&& apt-get -y install libomp-${CLANG_VERSION}-dev clang-tools-${CLANG_VERSION} clangd-${CLANG_VERSION} libclang-${CLANG_VERSION}-dev libclang-common-${CLANG_VERSION}-dev llvm-${CLANG_VERSION}-dev \
|
||||||
&& apt-get clean --yes \
|
&& apt-get clean --yes \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& update-alternatives --install /usr/bin/cc cc /usr/bin/clang-${CLANG_VERSION} 90 \
|
&& update-alternatives --install /usr/bin/cc cc /usr/bin/clang-${CLANG_VERSION} 90 \
|
||||||
@ -20,20 +20,20 @@ RUN echo "deb http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye main" >> /et
|
|||||||
&& update-alternatives --install /usr/bin/cpp cpp /usr/bin/clang++-${CLANG_VERSION} 90 \
|
&& update-alternatives --install /usr/bin/cpp cpp /usr/bin/clang++-${CLANG_VERSION} 90 \
|
||||||
&& update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${CLANG_VERSION} 90 \
|
&& update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${CLANG_VERSION} 90 \
|
||||||
&& update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${CLANG_VERSION} 90 \
|
&& update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${CLANG_VERSION} 90 \
|
||||||
|
&& update-alternatives --install /usr/bin/lld lld /usr/bin/lld-${CLANG_VERSION} 90 \
|
||||||
&& cc --version \
|
&& cc --version \
|
||||||
&& c++ --version \
|
&& c++ --version \
|
||||||
&& cpp --version
|
&& cpp --version
|
||||||
|
|
||||||
ENV CROSS_TRIPLE x86_64-linux-gnu
|
ENV CROSS_TRIPLE x86_64-linux-gnu
|
||||||
ENV CROSS_ROOT /usr/bin
|
ENV CROSS_ROOT /usr/bin
|
||||||
ENV CC=/usr/bin/clang \
|
ENV CC=/usr/bin/clang-${CLANG_VERSION} \
|
||||||
CPP=/usr/bin/cpp \
|
CPP=/usr/bin/clang-cpp-${CLANG_VERSION} \
|
||||||
CXX=/usr/bin/clang++ \
|
CXX=/usr/bin/clang++-${CLANG_VERSION} \
|
||||||
LD=/usr/bin/lld \
|
LD=/usr/bin/lld-${CLANG_VERSION} \
|
||||||
FC=/usr/bin/flang
|
AS=/usr/bin/llvm-as-${CLANG_VERSION} \
|
||||||
|
AR=/usr/bin/llvm-ar-${CLANG_VERSION}
|
||||||
# AS=/usr/bin/${CROSS_TRIPLE}-as
|
# FC=/usr/bin/flang
|
||||||
# AR=/usr/bin/${CROSS_TRIPLE}-ar
|
|
||||||
|
|
||||||
COPY ${CROSS_TRIPLE}-noop.sh /usr/bin/${CROSS_TRIPLE}-noop
|
COPY ${CROSS_TRIPLE}-noop.sh /usr/bin/${CROSS_TRIPLE}-noop
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user