Skip to content

Commit

Permalink
chore(build-tool): link musl with mold [skip ci] (#11286)
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc authored May 1, 2023
1 parent e65f17c commit 6bb96a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/build-tool/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN chmod +x /build/scripts/setup/dev_setup.sh && \

RUN ln -s $(readlink -f `which javac` | sed "s:/bin/javac::") /opt/java

RUN curl -qL https://github.com/rui314/mold/releases/download/v1.2.1/mold-1.2.1-$(uname -m)-linux.tar.gz -o /tmp/mold.tar.gz && \
RUN curl -sSfLo /tmp/mold.tar.gz https://github.com/rui314/mold/releases/download/v1.11.0/mold-1.11.0-$(uname -m)-linux.tar.gz && \
tar --strip-components=1 -xzf /tmp/mold.tar.gz -C /usr/local && \
rm -rf /tmp/mold.tar.gz && \
ln -sf /usr/local/bin/mold /usr/bin/$(uname -m)-linux-gnu-ld
Expand Down
2 changes: 1 addition & 1 deletion docker/build-tool/musl/linker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ for arg in "$@"; do
done

echo "RUNNING WITH ARGS: ${args[@]}"
/usr/local/bin/${MUSL_TARGET}-g++ "${args[@]}"
mold -run /usr/local/bin/${MUSL_TARGET}-g++ "${args[@]}"

1 comment on commit 6bb96a2

@vercel
Copy link

@vercel vercel bot commented on 6bb96a2 May 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

databend – ./

databend.vercel.app
databend-git-main-databend.vercel.app
databend-databend.vercel.app
databend.rs

Please sign in to comment.