Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-NRF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-NRF
Commits
011c9ac8
Commit
011c9ac8
authored
Dec 27, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue for installing CPP-JWT
parent
240bfc95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
build/scripts/build_helper.nrf
build/scripts/build_helper.nrf
+13
-4
No files found.
build/scripts/build_helper.nrf
View file @
011c9ac8
...
...
@@ -272,7 +272,7 @@ install_nghttp2_from_git() {
#arg2 is debug (0 or 1) (install debug libraries)
install_cpp_jwt_from_git() {
if [ $1 -eq 0 ]; then
read -p "Do you want to install C
pp-jwt
? <y/N> " prompt
read -p "Do you want to install C
PP-JWT
? <y/N> " prompt
OPTION=""
else
prompt='y'
...
...
@@ -291,12 +291,21 @@ install_cpp_jwt_from_git() {
libgtest-dev \
libssl-dev
ret=$?;[[ $ret -ne 0 ]] && return $ret
#install libgtest
pushd $OPENAIRCN_DIR/build/ext
cd /usr/src/gtest
$SUDO cmake CMakeLists.txt
$SUDO make
$SUDO cp *.a /usr/lib
ret=$?;[[ $ret -ne 0 ]] && popd && return $ret
popd
GIT_URL=https://github.com/arun11299/cpp-jwt.git
echo "Install Cpp-jwt from $GIT_URL"
pushd $OPENAIRCN_DIR/build/ext
echo "Downloading Cpp-jwt"
if [[ $OPTION =~ [yY](es)* ]]
echo "Downloading CPP-JWT"
if [[ $prompt =~ [yY](es)* ]]
then
$SUDO rm -rf cpp-jwt
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment