Skip to content
Snippets Groups Projects
Verified Commit 3813551d authored by Roman Azarenko's avatar Roman Azarenko
Browse files

code-analysis: use parallel build for libs and tools

parent 5e5cb9f7
No related branches found
No related tags found
1 merge request!26Added infer and minor cleanup
This commit is part of merge request !26. Comments created here will be created in the context of that merge request.
......@@ -106,7 +106,7 @@ RUN \
cd json-c && \
git checkout ${JSON_C_VERSION} && \
cmake . && \
make && \
make -j$(nproc) && \
make install && \
ldconfig
......@@ -118,7 +118,7 @@ RUN \
cd libubox && mkdir build && cd build && \
git checkout ${LIBUBOX_VERSION} && \
cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_LUA=OFF -DCMAKE_BUILD_TYPE:String="Release" .. && \
make -j2 && \
make -j$(nproc) && \
make install
# uci
......@@ -129,7 +129,7 @@ RUN \
cd uci && \
git checkout ${UCI_VERSION} && \
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE:String="Release" -DBUILD_LUA=OFF . && \
make -j2 && \
make -j$(nproc) && \
make install
# ubus
......@@ -140,7 +140,7 @@ RUN \
cd ubus && \
git checkout ${UBUS_VERSION} && \
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE:String="Release" -DBUILD_LUA=OFF -DBUILD_EXAMPLES=OFF . && \
make -j2 && \
make -j$(nproc) && \
make install
# rpcd
......@@ -151,7 +151,7 @@ RUN \
cd rpcd && \
git checkout ${RPCD_VERSION} && \
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE:String="Release" -DIWINFO_SUPPORT=OFF -DUCODE_SUPPORT=OFF . && \
make -j2 && \
make -j$(nproc) && \
make install
# json-cpp
......@@ -164,7 +164,7 @@ RUN \
mkdir build && \
cd build && \
cmake .. && \
cmake --build . && \
make -j$(nproc) && \
make install
# json-schema-validator-cpp
......@@ -177,7 +177,7 @@ RUN \
mkdir build && \
cd build && \
cmake .. -DBUILD_SHARED_LIBS=ON && \
make && \
make -j$(nproc) && \
make install && \
ldconfig
......@@ -190,7 +190,7 @@ RUN \
cd json-schema-validator && \
git checkout ${JSON_SCHEMA_VALIDATOR_VERSION} && \
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE:String="Release" . && \
make && \
make -j$(nproc) && \
make install && \
ldconfig
......@@ -201,7 +201,7 @@ RUN \
git clone https://github.com/zorgnax/libtap.git && \
cd libtap && \
git checkout ${TAP_VERSION} && \
make && \
make -j$(nproc) && \
make install && \
ldconfig
......@@ -212,7 +212,7 @@ RUN \
git clone https://dev.iopsys.eu/iopsys/ubus-api-validator.git && \
cd ubus-api-validator && \
git checkout ${UBUS_API_VALIDATOR_VERSION} && \
make && \
make -j$(nproc) && \
make install
#install cpd
......@@ -233,7 +233,7 @@ RUN \
autoreconf -i; \
cd /opt/dev/microxml && \
./configure --prefix=/usr --disable-threads --enable-shared --enable-static && \
make && \
make -j$(nproc) && \
make install && \
ln -sf /usr/lib/libmicroxml.so.1.0 /lib/libmicroxml.so && \
ln -sf /usr/lib/libmicroxml.so.1.0 /lib/libmicroxml.so.1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment