add a dockerfile for building CI for redhat UBI#299
add a dockerfile for building CI for redhat UBI#299tomerd wants to merge 2 commits intoswiftlang:mainfrom
Conversation
motivation: support redhar distro changes: add a dockerfile for building a toolchain on redhat UBI 8
|
@swift-ci test |
1 similar comment
|
@swift-ci test |
|
@shahmishal can you make sure I can trigger CI here |
You have access as the admin of this repo, however the CI system is having issues from starting the job. |
|
@swift-ci test |
|
@swift-ci test |
|
Failure on aarch64: |
|
@MaxDesiatov @drexin what do you think is missing here? |
Those symbols come from the C++ stdlib. Maybe we are running into some incompatibility? |
|
I'm not experiencing any issues when building LLVM, but I'm passing FROM redhat/ubi8
RUN yum install -y \
git \
gcc-c++ \
clang \
cmake \
make \
libcurl-devel \
libedit-devel \
libuuid-devel \
libxml2-devel \
ncurses-devel \
python3-devel \
rsync \
sqlite-devel
WORKDIR /root/source
RUN git clone https://github.com/apple/swift && \
git -C swift fetch && \
git -C swift checkout release/5.7 && \
./swift/utils/update-checkout --clone --scheme release/5.7 --skip-repository swift
# Run the base build without SwiftPM or Foundation
RUN ./swift/utils/build-script \
--build-swift-static-stdlib \
--build-swift-static-sdk-overlay \
--build-swift-stdlib-unittest-extra \
--release \
--skip-build-benchmarks \
--bootstrapping=off \
--libcxx=false
RUN cd yams && git checkout 5.0.1
RUN ./swift/utils/build-script \
--lldb \
--release \
--foundation \
--libdispatch \
--indexstore-db \
--sourcekit-lsp \
--swiftdocc \
--llbuild \
--swiftpm \
--swift-driver \
--xctest \
--libicu \
--swiftdocc \
--build-ninja \
--install-all \
--installable-package=$(pwd)/installable-package.tar.gz \
--install-destdir=$(pwd)/installable-package |
|
the script here is pretty vanilla, what is different is that this is UBI 8 |
|
|
|
Do we still plan to pursue UBI 8 after support for UBI 9 has been merged? |
|
I think we can do that if there is specific demand. hopefully UBI9 is enough for most folks. |
|
@tomerd Do we still need this? |
|
I think we already added UBI9 after this was created. no need in UBI8 unless there is specific demand |
motivation: support redhat distro
changes: add a dockerfile for building a toolchain on redhat UBI 8