File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -21,22 +21,31 @@ RUN dnf -y install automake autoconf bzip2-devel clang git libicu-devel libtool
2121 cd /root && \
2222 ln -fs /root/osxcross/target/bin/x86_64-apple-darwin17-install_name_tool /root/osxcross/target/bin/install_name_tool && \
2323 ln -fs /root/osxcross/target/bin/x86_64-apple-darwin17-ar /root/osxcross/target/bin/ar && \
24+ cd /root/osxcross/ && \
25+ ./build_compiler_rt.sh && \
26+ export CLANG_LIB_DIR=$(clang -print-search-dirs | grep "libraries: =" | tr '=' ' ' | tr ':' ' ' | awk '{print $2}') && \
27+ mkdir -p ${CLANG_LIB_DIR}/include && \
28+ mkdir -p ${CLANG_LIB_DIR}/lib/darwin && \
29+ cp -rv /root/osxcross/build/compiler-rt/include/sanitizer ${CLANG_LIB_DIR}/include && \
30+ cp -v /root/osxcross/build/compiler-rt/build/lib/darwin/*.a ${CLANG_LIB_DIR}/lib/darwin && \
31+ cp -v /root/osxcross/build/compiler-rt/build/lib/darwin/*.dylib ${CLANG_LIB_DIR}/lib/darwin && \
2432 curl https://download.mono-project.com/sources/mono/mono-${mono_version}.tar.bz2 | tar xj && \
2533 cd mono-${mono_version} && \
2634 patch -p1 < /root/files/patches/fix-mono-configure.diff && \
2735 export PATH=/root/osxcross/target/bin:$PATH && \
36+ export CMAKE=/root//osxcross/target/bin/x86_64-apple-darwin17-cmake && \
2837 ./autogen.sh --prefix=/root/dependencies/mono \
2938 --build=x86_64-linux-gnu \
3039 --host=x86_64-apple-darwin17 \
3140 --disable-boehm \
3241 --disable-mcs-build \
3342 --with-tls=pthread \
3443 --disable-dtrace \
44+ --disable-executables \
3545 mono_cv_uscore=yes \
3646 _lt_dar_can_shared=yes \
3747 CC=o64-clang \
3848 CXX=o64-clang++ && \
39- sed -i 's/^BTLS_CMAKE_ARGS.*/BTLS_CMAKE_ARGS=-DBTLS_ARCH="x86_64" -DAPPLE=1 -DCMAKE_SYSTEM_NAME=Darwin -DCMAKE_AR:FILEPATH=ar/' mono/btls/Makefile && \
4049 make -j && \
4150 make install && \
4251 rm -f /root/dependencies/mono/bin/mono /root/dependencies/mono/bin/mono-sgen && \
You can’t perform that action at this time.
0 commit comments