iOS: Delete unneeded cctools-port compiled objects

And don't install clang since we built it manually in the OSX image.
This commit is contained in:
Rémi Verschelde
2022-05-24 22:52:47 +02:00
parent 541cf38dd5
commit 469fc4515c

View File

@@ -6,7 +6,7 @@ ARG mono_version
ENV IOS_SDK=15.4
RUN dnf -y install --setopt=install_weak_deps=False \
automake autoconf clang gcc gcc-c++ gcc-objc gcc-objc++ cmake libicu-devel libtool libxml2-devel llvm-devel openssl-devel perl python yasm && \
automake autoconf gcc gcc-c++ gcc-objc gcc-objc++ cmake libicu-devel libtool libxml2-devel openssl-devel perl python yasm && \
git clone --progress https://github.com/tpoechtrager/cctools-port.git && \
cd /root/cctools-port && \
git checkout 04663295d0425abfac90a42440a7ec02d7155fea && \
@@ -31,7 +31,9 @@ RUN dnf -y install --setopt=install_weak_deps=False \
mkdir -p /root/ioscross/x86_64_sim && \
mv usage_examples/ios_toolchain/target/* /root/ioscross/x86_64_sim && \
mkdir /root/ioscross/x86_64_sim/usr && \
ln -s /root/ioscross/x86_64_sim/bin /root/ioscross/x86_64_sim/usr/bin
ln -s /root/ioscross/x86_64_sim/bin /root/ioscross/x86_64_sim/usr/bin && \
cd /root && \
rm -rf /root/cctools-port
ENV OSXCROSS_IOS=not_nothing
ENV IOSCROSS_ROOT=/root/ioscross