mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
Add flang compiler
This commit is contained in:
parent
3c76727838
commit
ceda522816
@ -7,8 +7,11 @@ RUN apt-get update && \
|
|||||||
libssl-dev \
|
libssl-dev \
|
||||||
libc++-dev \
|
libc++-dev \
|
||||||
clang \
|
clang \
|
||||||
|
flang-7 \
|
||||||
&& apt-get clean --yes
|
&& apt-get clean --yes
|
||||||
|
|
||||||
|
RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100 && update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++ 100
|
||||||
|
|
||||||
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 AS=/usr/bin/${CROSS_TRIPLE}-as \
|
ENV AS=/usr/bin/${CROSS_TRIPLE}-as \
|
||||||
@ -17,7 +20,7 @@ ENV AS=/usr/bin/${CROSS_TRIPLE}-as \
|
|||||||
CPP=/usr/bin/clang-cpp \
|
CPP=/usr/bin/clang-cpp \
|
||||||
CXX=/usr/bin/clang++ \
|
CXX=/usr/bin/clang++ \
|
||||||
LD=/usr/bin/${CROSS_TRIPLE}-ld \
|
LD=/usr/bin/${CROSS_TRIPLE}-ld \
|
||||||
FC=/usr/bin/${CROSS_TRIPLE}-gfortran
|
FC=/usr/bin/${CROSS_TRIPLE}-flang
|
||||||
|
|
||||||
COPY ${CROSS_TRIPLE}-noop.sh /usr/bin/${CROSS_TRIPLE}-noop
|
COPY ${CROSS_TRIPLE}-noop.sh /usr/bin/${CROSS_TRIPLE}-noop
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user