Skip to content

Commit 8120bc7

Browse files
hanabi1224elmattic
authored andcommitted
chore: remove lld from system package deps (#2200)
1 parent 95737b2 commit 8120bc7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.cargo/config.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ r = "run"
1515
# clang has been listed as prerequisite in the doc
1616
linker = "clang"
1717
# enable avx2 by default since it's avaiable on almost all x86_64 CPUs
18-
rustflags = ["-Clink-arg=-fuse-ld=lld", "-Ctarget-feature=+avx2,+fma", "-Zshare-generics=y"]
18+
rustflags = ["-Ctarget-feature=+avx2,+fma", "-Zshare-generics=y"]
1919

2020
[target.x86_64-apple-darwin]
2121
# zld might help here

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
FROM buildpack-deps:buster AS build-env
2121

2222
# Install dependencies
23-
RUN apt-get update && apt-get install --no-install-recommends -y build-essential clang lld ocl-icd-opencl-dev cmake ca-certificates curl
23+
RUN apt-get update && apt-get install --no-install-recommends -y build-essential clang ocl-icd-opencl-dev cmake ca-certificates curl
2424
RUN update-ca-certificates
2525

2626
# Install rustup

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ install: install-cli install-daemon
1010

1111
install-deps:
1212
apt-get update -y
13-
apt-get install --no-install-recommends -y build-essential clang lld ocl-icd-opencl-dev aria2 cmake
13+
apt-get install --no-install-recommends -y build-essential clang ocl-icd-opencl-dev aria2 cmake
1414

1515
install-lint-tools:
1616
RUSTFLAGS="-Cstrip=symbols" cargo install --locked taplo-cli cargo-audit cargo-spellcheck cargo-udeps

0 commit comments

Comments
 (0)