forked from OSchip/llvm-project
[libc++] Update compiler images and more docker cleanup.
This commit is contained in:
parent
36789388d0
commit
0b8585ede4
|
@ -13,7 +13,7 @@ services:
|
|||
build:
|
||||
<<: *build-gcc
|
||||
args:
|
||||
branch: gcc-4_8_5-release
|
||||
branch: releases/gcc-4.8.5
|
||||
install_prefix: /opt/gcc-4.8.5
|
||||
cherry_pick: ec1cc0263f156f70693a62cf17b254a0029f4852
|
||||
image: ericwf/compiler:gcc-4.8.5
|
||||
|
@ -21,37 +21,44 @@ services:
|
|||
build:
|
||||
<<: *build-gcc
|
||||
args:
|
||||
branch: gcc-4_9_4-release
|
||||
branch: releases/gcc-4.9.4
|
||||
install_prefix: /opt/gcc-4.9.4
|
||||
image: ericwf/compiler:gcc-4.9.4
|
||||
gcc-5:
|
||||
build:
|
||||
<<: *build-gcc
|
||||
args:
|
||||
branch: gcc-5_5_0-release
|
||||
branch: releases/gcc-5.5.0
|
||||
install_prefix: /opt/gcc-5
|
||||
image: ericwf/compiler:gcc-5
|
||||
gcc-6:
|
||||
build:
|
||||
<<: *build-gcc
|
||||
args:
|
||||
branch: gcc-6_5_0-release
|
||||
branch: releases/gcc-6.5.0
|
||||
install_prefix: /opt/gcc-6
|
||||
image: ericwf/compiler:gcc-6
|
||||
gcc-7:
|
||||
build:
|
||||
<<: *build-gcc
|
||||
args:
|
||||
branch: gcc-7_4_0-release
|
||||
branch: releases/gcc-7.4.0
|
||||
install_prefix: /opt/gcc-7
|
||||
image: ericwf/compiler:gcc-7
|
||||
gcc-8:
|
||||
build:
|
||||
<<: *build-gcc
|
||||
args:
|
||||
branch: gcc-8_2_0-release
|
||||
branch: releases/gcc-8.2.0
|
||||
install_prefix: /opt/gcc-8
|
||||
image: ericwf/compiler:gcc-8
|
||||
gcc-9:
|
||||
build:
|
||||
<<: *build-gcc
|
||||
args:
|
||||
branch: releases/gcc-9.2.0
|
||||
install_prefix: /opt/gcc-9
|
||||
image: ericwf/compiler:gcc-9
|
||||
# Add LLVM compilers
|
||||
llvm-3.6:
|
||||
build:
|
||||
|
@ -116,11 +123,19 @@ services:
|
|||
branch: release/8.x
|
||||
install_prefix: /opt/llvm-8
|
||||
image: ericwf/compiler:llvm-8
|
||||
llvm-9:
|
||||
build:
|
||||
<<: *build-clang
|
||||
args:
|
||||
branch: release/9.x
|
||||
install_prefix: /opt/llvm-9
|
||||
image: ericwf/compiler:llvm-9
|
||||
gcc-tot:
|
||||
build:
|
||||
<<: *build-gcc
|
||||
args:
|
||||
branch: master
|
||||
cache_date: feb-27
|
||||
install_prefix: /opt/gcc-tot
|
||||
image: ericwf/compiler:gcc-tot
|
||||
llvm-tot:
|
||||
|
@ -128,6 +143,7 @@ services:
|
|||
<<: *build-clang
|
||||
args:
|
||||
branch: master
|
||||
cache_date: feb-27
|
||||
install_prefix: /opt/llvm-tot
|
||||
image: ericwf/compiler:llvm-tot
|
||||
compiler-zoo:
|
||||
|
@ -143,6 +159,7 @@ services:
|
|||
- gcc-6
|
||||
- gcc-7
|
||||
- gcc-8
|
||||
- gcc-9
|
||||
- gcc-tot
|
||||
- llvm-3.6
|
||||
- llvm-3.7
|
||||
|
@ -153,4 +170,5 @@ services:
|
|||
- llvm-6
|
||||
- llvm-7
|
||||
- llvm-8
|
||||
- llvm-9
|
||||
- llvm-tot
|
|
@ -12,6 +12,7 @@ LABEL maintainer "libc++ Developers"
|
|||
|
||||
ARG install_prefix
|
||||
ARG branch
|
||||
ARG cache_date=stable
|
||||
|
||||
ADD scripts/build_llvm_version.sh /tmp/
|
||||
RUN /tmp/build_llvm_version.sh --install "$install_prefix" --branch "$branch" \
|
||||
|
|
|
@ -19,6 +19,7 @@ COPY --from=ericwf/compiler:gcc-5 /opt/gcc-5 /opt/gcc-5
|
|||
COPY --from=ericwf/compiler:gcc-6 /opt/gcc-6 /opt/gcc-6
|
||||
COPY --from=ericwf/compiler:gcc-7 /opt/gcc-7 /opt/gcc-7
|
||||
COPY --from=ericwf/compiler:gcc-8 /opt/gcc-8 /opt/gcc-8
|
||||
COPY --from=ericwf/compiler:gcc-9 /opt/gcc-9 /opt/gcc-9
|
||||
COPY --from=ericwf/compiler:gcc-tot /opt/gcc-tot /opt/gcc-tot
|
||||
|
||||
COPY --from=ericwf/compiler:llvm-3.6 /opt/llvm-3.6 /opt/llvm-3.6
|
||||
|
@ -30,6 +31,7 @@ COPY --from=ericwf/compiler:llvm-5 /opt/llvm-5 /opt/llvm-5
|
|||
COPY --from=ericwf/compiler:llvm-6 /opt/llvm-6 /opt/llvm-6
|
||||
COPY --from=ericwf/compiler:llvm-7 /opt/llvm-7 /opt/llvm-7
|
||||
COPY --from=ericwf/compiler:llvm-8 /opt/llvm-8 /opt/llvm-8
|
||||
COPY --from=ericwf/compiler:llvm-9 /opt/llvm-9 /opt/llvm-9
|
||||
COPY --from=ericwf/compiler:llvm-tot /opt/llvm-tot /opt/llvm-tot
|
||||
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ LABEL maintainer "libc++ Developers"
|
|||
ARG branch
|
||||
ARG cherry_pick=""
|
||||
ARG install_prefix
|
||||
ARG cache_date=stable
|
||||
|
||||
ADD scripts/build_gcc_version.sh /tmp/
|
||||
RUN /tmp/build_gcc_version.sh \
|
||||
|
|
|
@ -5,10 +5,10 @@ services:
|
|||
context: .
|
||||
dockerfile: llvm-builder-base.Dockerfile
|
||||
target: llvm-builder-base
|
||||
image: ericwf/llvm-builder-base:new
|
||||
image: ericwf/llvm-builder-base:latest
|
||||
llvm-buildbot-worker:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: llvm-buildbot-worker.Dockerfile
|
||||
target: llvm-buildbot-worker
|
||||
image: ericwf/llvm-buildbot-worker:new
|
||||
image: ericwf/llvm-buildbot-worker:latest
|
||||
|
|
|
@ -79,7 +79,8 @@ git clone --branch "$GCC_BRANCH" --single-branch --depth=1 git://gcc.gnu.org/git
|
|||
|
||||
pushd "$GCC_SOURCE_DIR"
|
||||
if [ "$CHERRY_PICK" != "" ]; then
|
||||
git fetch origin trunk --unshallow # Urg, we have to get the entire history. This will take a while.
|
||||
git checkout -b cherry-pick-branch
|
||||
git fetch origin master --unshallow # Urg, we have to get the entire history. This will take a while.
|
||||
git cherry-pick --no-commit -X theirs "$CHERRY_PICK"
|
||||
fi
|
||||
./contrib/download_prerequisites
|
||||
|
@ -105,4 +106,4 @@ popd
|
|||
# Cleanup.
|
||||
rm -rf "$TMP_ROOT"
|
||||
|
||||
echo "Done"
|
||||
echo "Done"
|
||||
|
|
|
@ -20,7 +20,7 @@ Available options:
|
|||
EOF
|
||||
}
|
||||
|
||||
VERSION="10"
|
||||
VERSION="11"
|
||||
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case "$1" in
|
||||
|
|
Loading…
Reference in New Issue