Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci-pipeline
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IOPSYS
gitlab-ci-pipeline
Commits
3813551d
Verified
Commit
3813551d
authored
9 months ago
by
Roman Azarenko
Browse files
Options
Downloads
Patches
Plain Diff
code-analysis: use parallel build for libs and tools
parent
5e5cb9f7
No related branches found
No related tags found
1 merge request
!26
Added infer and minor cleanup
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/code-analysis/Dockerfile
+11
-11
11 additions, 11 deletions
docker/code-analysis/Dockerfile
with
11 additions
and
11 deletions
docker/code-analysis/Dockerfile
+
11
−
11
View file @
3813551d
...
...
@@ -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
-j
2
&&
\
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
-j
2
&&
\
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
-j
2
&&
\
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
-j
2
&&
\
make
-j
$(
nproc
)
&&
\
make
install
# json-cpp
...
...
@@ -164,7 +164,7 @@ RUN \
mkdir
build
&&
\
cd
build
&&
\
cmake ..
&&
\
c
make
-
-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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment