build: Add multithreading to make
All checks were successful
CI / Check spelling (pull_request) Successful in 18s
CI / Check coding style (pull_request) Successful in 31s
CI / Linux (debian) (pull_request) Successful in 11m2s
CI / Linux (arch) (pull_request) Successful in 13m12s
CI / Linux (ubuntu) (pull_request) Successful in 16m3s
All checks were successful
CI / Check spelling (pull_request) Successful in 18s
CI / Check coding style (pull_request) Successful in 31s
CI / Linux (debian) (pull_request) Successful in 11m2s
CI / Linux (arch) (pull_request) Successful in 13m12s
CI / Linux (ubuntu) (pull_request) Successful in 16m3s
nproc is a standard util that prints amount of available processes. -j is a flag that specifies how many cores can be utilized by `make` (default is 1) -j$(nproc) allows to use all the available machine cores, potentially significantly speeding up completion of CI actions
This commit is contained in:
@@ -47,7 +47,7 @@ RUN git clone -c http.sslverify=false https://github.com/strophe/libstrophe
|
||||
WORKDIR /usr/src/libstrophe
|
||||
RUN ./bootstrap.sh
|
||||
RUN ./configure --prefix=/usr
|
||||
RUN make
|
||||
RUN make -j$(nproc)
|
||||
RUN make install
|
||||
|
||||
WORKDIR /usr/src/profanity
|
||||
|
||||
@@ -60,7 +60,7 @@ RUN git clone -c http.sslverify=false https://github.com/strophe/libstrophe
|
||||
WORKDIR /usr/src/libstrophe
|
||||
RUN ./bootstrap.sh
|
||||
RUN ./configure --prefix=/usr
|
||||
RUN make
|
||||
RUN make -j$(nproc)
|
||||
RUN make install
|
||||
|
||||
RUN mkdir -p /usr/src/profanity
|
||||
|
||||
@@ -49,7 +49,7 @@ RUN git clone -c http.sslverify=false https://github.com/strophe/libstrophe
|
||||
WORKDIR /usr/src/libstrophe
|
||||
RUN ./bootstrap.sh
|
||||
RUN ./configure --prefix=/usr
|
||||
RUN make
|
||||
RUN make -j$(nproc)
|
||||
RUN make install
|
||||
|
||||
WORKDIR /usr/src/profanity
|
||||
|
||||
Reference in New Issue
Block a user