Skip to content

Commit

Permalink
chore(dev): Install the correct mold based on CPU architecture (#17248
Browse files Browse the repository at this point in the history
)

Fixes: #17185

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
  • Loading branch information
jszwedko authored Apr 29, 2023
1 parent d648c86 commit 4b80c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/environment/bootstrap-ubuntu-20.04.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ if [ -z "${DISABLE_MOLD:-""}" ] ; then
# first when trying to load the shared object, so we can dodge having to care about the "right" lib folder to put it in.
TEMP=$(mktemp -d)
MOLD_VERSION=1.2.1
MOLD_TARGET=mold-${MOLD_VERSION}-x86_64-linux
MOLD_TARGET=mold-${MOLD_VERSION}-$(uname -m)-linux
curl -fsSL "https://github.com/rui314/mold/releases/download/v${MOLD_VERSION}/${MOLD_TARGET}.tar.gz" \
--output "$TEMP/${MOLD_TARGET}.tar.gz"
tar \
Expand Down

0 comments on commit 4b80c71

Please sign in to comment.