Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
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
lizhongxiao
OpenXG-RAN
Commits
cb5e9d90
Commit
cb5e9d90
authored
Apr 01, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create build_oai option to pass cmake params; add boost include dir caracal
parent
42a61366
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
ci-scripts/xml_files/gnb_usrp_build.xml
ci-scripts/xml_files/gnb_usrp_build.xml
+1
-1
cmake_targets/build_oai
cmake_targets/build_oai
+5
-0
No files found.
ci-scripts/xml_files/gnb_usrp_build.xml
View file @
cb5e9d90
...
...
@@ -34,7 +34,7 @@
<mode>
TesteNB
</mode>
<class>
Build_eNB
</class>
<desc>
Build gNB (USRP)
</desc>
<Build_eNB_args>
--gNB -w USRP --ninja
</Build_eNB_args>
<Build_eNB_args>
--gNB -w USRP --ninja
--cmake-opt -DBoost_INCLUDE_DIR=/usr/include/boost169
</Build_eNB_args>
<forced_workspace_cleanup>
True
</forced_workspace_cleanup>
</testCase>
...
...
cmake_targets/build_oai
View file @
cb5e9d90
...
...
@@ -72,6 +72,8 @@ Options
Erase all files made by previous compilations, installations
--clean-kernel
Erase previously installed features in kernel: iptables, drivers, ...
--cmake-opt
Pass the supplied option verbatim to cmake.
-d | --build-dir
Sets build directory (will be <oai-root>/cmake_targets/<build-dir>/build)
-I | --install-external-packages
...
...
@@ -193,6 +195,9 @@ function main() {
clean_kernel
echo_info
"Erased iptables config and removed modules from kernel"
shift
;;
--cmake-opt
)
CMAKE_CMD
=
"
$CMAKE_CMD
$2
"
shift
2
;;
-d
|
--build-dir
)
BUILD_DIR
=
$2
shift
;;
...
...
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