Clone and patch mingw after building llvm
This avoids having to rebuild llvm when adjusting mingw patches.
This commit is contained in:
1 parent
9dd4e7318c
commit
8afb6e784f
1 file changed
+5
-5
+5
-5
@@ -40,11 +40,6 @@ RUN cd llvm/tools/lld && \
|
||||
#RUN cd llvm/projects/libcxx && \
|
||||
# git am /build/patches/libcxx-*.patch
|
||||
|
||||
RUN git clone --depth=1 git://git.code.sf.net/p/mingw-w64/mingw-w64
|
||||
COPY patches/mingw-*.patch /build/patches/
|
||||
RUN cd mingw-w64 && \
|
||||
git am /build/patches/mingw-*.patch
|
||||
|
||||
RUN git clone -b release_39 --depth=1 https://github.com/llvm-mirror/compiler-rt.git
|
||||
|
||||
RUN mkdir /build/prefix
|
||||
@@ -64,6 +59,11 @@ RUN cd llvm && mkdir build && cd build && cmake \
|
||||
make -j4 && \
|
||||
make install
|
||||
|
||||
RUN git clone --depth=1 git://git.code.sf.net/p/mingw-w64/mingw-w64
|
||||
COPY patches/mingw-*.patch /build/patches/
|
||||
RUN cd mingw-w64 && \
|
||||
git am /build/patches/mingw-*.patch
|
||||
|
||||
#FIXME: Move this UP!
|
||||
ENV TOOLCHAIN_PREFIX=/build/prefix
|
||||
ENV TARGET_TUPLE=armv7-w64-mingw32
|
||||
|
||||
Reference in new issue
Block a user