Skip to content

Commit 71ca3c8

Browse files
author
Claudio Raimondi
committed
Fix mtune [skip ci]
1 parent 16d72f6 commit 71ca3c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ ARG CXX=${target_arch}-g++
140140
ARG LD=${target_arch}-ld
141141
ARG STRIP=${target_arch}-strip
142142
ARG TARGET=${target_arch_rust}
143-
ARG COPTFLAGS="-O2 -march=${target_arch_cflags} -mtune=generic"
143+
ARG COPTFLAGS="-O2 -march=${target_arch_cflags}"
144144

145145
WORKDIR /opt
146146

@@ -161,7 +161,7 @@ EOF
161161
#TODO: maybe only compile lightningd? instead of all the plugins as well
162162
RUN ./configure --prefix=/opt/lightningd --enable-static --disable-compat --disable-valgrind
163163
COPY .git/ .git/
164-
RUN git submodule update --init --recursive
164+
RUN git submodule update --init --recursive --jobs $(nproc) --depth 1
165165
RUN uv run make -j$(nproc) install
166166

167167
RUN ${STRIP} --strip-unneeded bin/lightningd

0 commit comments

Comments
 (0)