File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ ARG CXX=${target_arch}-g++
140
140
ARG LD=${target_arch}-ld
141
141
ARG STRIP=${target_arch}-strip
142
142
ARG TARGET=${target_arch_rust}
143
- ARG COPTFLAGS="-O2 -march=${target_arch_cflags} -mtune=generic "
143
+ ARG COPTFLAGS="-O2 -march=${target_arch_cflags}"
144
144
145
145
WORKDIR /opt
146
146
161
161
# TODO: maybe only compile lightningd? instead of all the plugins as well
162
162
RUN ./configure --prefix=/opt/lightningd --enable-static --disable-compat --disable-valgrind
163
163
COPY .git/ .git/
164
- RUN git submodule update --init --recursive
164
+ RUN git submodule update --init --recursive --jobs $(nproc) --depth 1
165
165
RUN uv run make -j$(nproc) install
166
166
167
167
RUN ${STRIP} --strip-unneeded bin/lightningd
You can’t perform that action at this time.
0 commit comments