Rename the hello subdirectory to test
This commit is contained in:
1 parent
ee480fec72
commit
d7d80f084a
7 files changed
+7
-7
No files matched your search
+6
-6
@@ -45,12 +45,12 @@ RUN ./build-compiler-rt.sh $TOOLCHAIN_PREFIX
|
|||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
ENV PATH=$TOOLCHAIN_PREFIX/bin:$PATH
|
ENV PATH=$TOOLCHAIN_PREFIX/bin:$PATH
|
||||||
|
|
||||||
COPY hello/*.c ./hello/
|
COPY test/*.c ./test/
|
||||||
RUN cd hello && \
|
RUN cd test && \
|
||||||
for arch in $TOOLCHAIN_ARCHS; do \
|
for arch in $TOOLCHAIN_ARCHS; do \
|
||||||
$arch-w64-mingw32-clang hello.c -o hello-$arch.exe || exit 1; \
|
$arch-w64-mingw32-clang hello.c -o hello-$arch.exe || exit 1; \
|
||||||
done
|
done
|
||||||
RUN cd hello && \
|
RUN cd test && \
|
||||||
for arch in $TOOLCHAIN_ARCHS; do \
|
for arch in $TOOLCHAIN_ARCHS; do \
|
||||||
$arch-w64-mingw32-clang hello-tls.c -o hello-tls-$arch.exe || exit 1; \
|
$arch-w64-mingw32-clang hello-tls.c -o hello-tls-$arch.exe || exit 1; \
|
||||||
done
|
done
|
||||||
@@ -64,12 +64,12 @@ RUN ./build-libcxx.sh $TOOLCHAIN_PREFIX
|
|||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
# Build C++ test applications
|
# Build C++ test applications
|
||||||
COPY hello/*.cpp ./hello/
|
COPY test/*.cpp ./test/
|
||||||
RUN cd hello && \
|
RUN cd test && \
|
||||||
for arch in $TOOLCHAIN_ARCHS; do \
|
for arch in $TOOLCHAIN_ARCHS; do \
|
||||||
$arch-w64-mingw32-clang++ hello.cpp -o hello-cpp-$arch.exe -fno-exceptions || exit 1; \
|
$arch-w64-mingw32-clang++ hello.cpp -o hello-cpp-$arch.exe -fno-exceptions || exit 1; \
|
||||||
done
|
done
|
||||||
RUN cd hello && \
|
RUN cd test && \
|
||||||
for arch in $TOOLCHAIN_ARCHS; do \
|
for arch in $TOOLCHAIN_ARCHS; do \
|
||||||
$arch-w64-mingw32-clang++ hello-exception.cpp -o hello-exception-$arch.exe || exit 1; \
|
$arch-w64-mingw32-clang++ hello-exception.cpp -o hello-exception-$arch.exe || exit 1; \
|
||||||
done
|
done
|
||||||
+1
-1
@@ -11,7 +11,7 @@ export PATH=$PREFIX/bin:$PATH
|
|||||||
|
|
||||||
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64}}
|
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64}}
|
||||||
|
|
||||||
cd hello
|
cd test
|
||||||
for arch in $ARCHS; do
|
for arch in $ARCHS; do
|
||||||
$arch-w64-mingw32-clang hello.c -o hello-$arch.exe
|
$arch-w64-mingw32-clang hello.c -o hello-$arch.exe
|
||||||
$arch-w64-mingw32-clang hello-tls.c -o hello-tls-$arch.exe
|
$arch-w64-mingw32-clang hello-tls.c -o hello-tls-$arch.exe
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user