build-openmp.sh: Use llvm-ml instead of uasm

This commit is contained in:
Martin Storsjö committed 2021-08-09 12:08:16 +03:00
1 parent 63a5d3c09f
commit ea46c8d98f
5 files changed
+3 -68

No files matched your search

-10
View File
@@ -44,16 +44,6 @@ ARG TOOLCHAIN_ARCHS="i686 x86_64 armv7 aarch64"
ARG DEFAULT_CRT=ucrt
# Build UASM, for building openmp. In the future, llvm-ml should be able
# to handle it, but it doesn't yet.
RUN git clone https://github.com/Terraspace/UASM && \
cd UASM && \
git checkout 16a853bd6de807fe2c42569f8375a029684c0f22 && \
make -f gccLinux64.mak -j$(nproc) && \
mkdir -p $TOOLCHAIN_PREFIX/bin && \
cp GccUnixR/uasm $TOOLCHAIN_PREFIX/bin
COPY wrappers/uasm-wrapper.sh $TOOLCHAIN_PREFIX/bin
# Build everything that uses the llvm monorepo. We need to build the mingw runtime before the compiler-rt/libunwind/libcxxabi/libcxx runtimes.
COPY build-llvm.sh strip-llvm.sh install-wrappers.sh build-mingw-w64.sh build-mingw-w64-tools.sh build-compiler-rt.sh build-mingw-w64-libraries.sh build-libcxx.sh build-openmp.sh ./
COPY wrappers/*.sh wrappers/*.c wrappers/*.h ./wrappers/