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
b0b3c7ee
Commit
b0b3c7ee
authored
Jul 21, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/t-tools-dependency-fix' into integration_2023_w29
parents
169b026b
0ba050f4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
39 deletions
+45
-39
cmake_targets/tools/build_helper
cmake_targets/tools/build_helper
+2
-2
common/utils/T/tracer/CMakeLists.txt
common/utils/T/tracer/CMakeLists.txt
+43
-37
No files found.
cmake_targets/tools/build_helper
View file @
b0b3c7ee
...
@@ -563,6 +563,7 @@ check_install_additional_tools (){
...
@@ -563,6 +563,7 @@ check_install_additional_tools (){
iperf3 \
iperf3 \
libforms-bin \
libforms-bin \
libforms-dev \
libforms-dev \
libxft-dev \
xmlstarlet"
xmlstarlet"
elif [[ "$OS_DISTRO" == "rhel" ]] || [[ "$OS_DISTRO" == "centos" ]] || [[ "$OS_DISTRO" == "rocky" ]] || [[ "$OS_DISTRO" == "fedora" ]]; then
elif [[ "$OS_DISTRO" == "rhel" ]] || [[ "$OS_DISTRO" == "centos" ]] || [[ "$OS_DISTRO" == "rocky" ]] || [[ "$OS_DISTRO" == "fedora" ]]; then
PACKAGE_LIST="\
PACKAGE_LIST="\
...
@@ -570,6 +571,7 @@ check_install_additional_tools (){
...
@@ -570,6 +571,7 @@ check_install_additional_tools (){
ctags \
ctags \
iperf3 \
iperf3 \
gnutls-devel \
gnutls-devel \
libXft-devel \
xforms \
xforms \
xforms-devel \
xforms-devel \
xmlstarlet"
xmlstarlet"
...
@@ -612,7 +614,6 @@ check_install_oai_software() {
...
@@ -612,7 +614,6 @@ check_install_oai_software() {
libsctp-dev \
libsctp-dev \
libssl-dev \
libssl-dev \
libtool \
libtool \
libxft-dev \
patch \
patch \
openssl \
openssl \
zlib1g-dev \
zlib1g-dev \
...
@@ -641,7 +642,6 @@ check_install_oai_software() {
...
@@ -641,7 +642,6 @@ check_install_oai_software() {
lksctp-tools \
lksctp-tools \
lksctp-tools-devel \
lksctp-tools-devel \
libtool \
libtool \
libXft-devel \
ninja-build \
ninja-build \
make \
make \
openssl \
openssl \
...
...
common/utils/T/tracer/CMakeLists.txt
View file @
b0b3c7ee
...
@@ -21,53 +21,59 @@ target_link_libraries(extract_output_subframe PRIVATE tracer_utils)
...
@@ -21,53 +21,59 @@ target_link_libraries(extract_output_subframe PRIVATE tracer_utils)
add_executable
(
extract extract.c
)
add_executable
(
extract extract.c
)
target_link_libraries
(
extract PRIVATE tracer_utils
)
target_link_libraries
(
extract PRIVATE tracer_utils
)
add_executable
(
textlog textlog.c
)
add_executable
(
macpdu2wireshark macpdu2wireshark.c
)
target_link_libraries
(
textlog PRIVATE tracer_utils tracer_filter tracer_gui
target_link_libraries
(
macpdu2wireshark PRIVATE tracer_utils
)
tracer_logger tracer_view tracer_events
)
add_executable
(
multi multi.c
)
target_link_libraries
(
multi PRIVATE tracer_utils T
)
target_include_directories
(
multi PRIVATE ..
)
find_library
(
png png REQUIRED
)
add_custom_target
(
T_tools
)
add_executable
(
enb enb.c
)
add_dependencies
(
T_tools
target_link_libraries
(
enb PRIVATE tracer_utils tracer_filter tracer_gui
record replay extract_config extract_input_subframe
tracer_logger tracer_view tracer_events
)
extract_output_subframe extract macpdu2wireshark multi
)
target_link_libraries
(
enb PRIVATE png
)
add_dependencies
(
nr-softmodem T_tools
)
add_dependencies
(
nr-uesoftmodem T_tools
)
add_dependencies
(
lte-softmodem T_tools
)
add_dependencies
(
lte-uesoftmodem T_tools
)
add_executable
(
ue ue.c
)
# Some T tracer tools need additional libraries (Xft, also PNG) that come with
target_link_libraries
(
ue PRIVATE tracer_utils tracer_filter tracer_gui
# a long list of dependencies. We put it behind a separate option for
# GUI-related tools so they can be added on demand, if necessary.
add_boolean_option
(
T_TRACER_GUI OFF
"Compile T tracer GUI tools"
OFF
)
if
(
T_TRACER_GUI
)
add_executable
(
textlog textlog.c
)
target_link_libraries
(
textlog PRIVATE tracer_utils tracer_filter tracer_gui
tracer_logger tracer_view tracer_events
)
tracer_logger tracer_view tracer_events
)
target_link_libraries
(
ue PRIVATE png
)
add_executable
(
vcd vcd.c
)
find_library
(
png png REQUIRED
)
target_link_libraries
(
vcd PRIVATE tracer_utils tracer_filter tracer_gui
add_executable
(
enb enb.c
)
target_link_libraries
(
enb PRIVATE tracer_utils tracer_filter tracer_gui
tracer_logger tracer_view tracer_events
)
tracer_logger tracer_view tracer_events
)
target_link_libraries
(
enb PRIVATE png
)
add_executable
(
to_vcd to_vcd
.c
)
add_executable
(
gnb gnb
.c
)
target_link_libraries
(
to_vcd
PRIVATE tracer_utils tracer_filter tracer_gui
target_link_libraries
(
gnb
PRIVATE tracer_utils tracer_filter tracer_gui
tracer_logger tracer_view tracer_events
)
tracer_logger tracer_view tracer_events
)
target_link_libraries
(
gnb PRIVATE png
)
add_executable
(
macpdu2wireshark macpdu2wireshark.c
)
add_executable
(
ue ue.c
)
target_link_libraries
(
macpdu2wireshark PRIVATE tracer_utils
)
target_link_libraries
(
ue PRIVATE tracer_utils tracer_filter tracer_gui
tracer_logger tracer_view tracer_events
)
target_link_libraries
(
ue PRIVATE png
)
add_executable
(
multi multi
.c
)
add_executable
(
vcd vcd
.c
)
target_link_libraries
(
multi PRIVATE tracer_utils T
)
target_link_libraries
(
vcd PRIVATE tracer_utils tracer_filter tracer_gui
target_include_directories
(
multi PRIVATE ..
)
tracer_logger tracer_view tracer_events
)
add_executable
(
gnb gnb
.c
)
add_executable
(
to_vcd to_vcd
.c
)
target_link_libraries
(
gnb
PRIVATE tracer_utils tracer_filter tracer_gui
target_link_libraries
(
to_vcd
PRIVATE tracer_utils tracer_filter tracer_gui
tracer_logger tracer_view tracer_events
)
tracer_logger tracer_view tracer_events
)
target_link_libraries
(
gnb PRIVATE png
)
add_subdirectory
(
filter
)
add_subdirectory
(
gui
)
add_subdirectory
(
gui
)
add_subdirectory
(
filter
)
add_subdirectory
(
logger
)
add_subdirectory
(
logger
)
add_subdirectory
(
view
)
add_subdirectory
(
view
)
add_custom_target
(
T_tools
)
add_dependencies
(
T_tools textlog enb gnb ue vcd to_vcd
)
add_dependencies
(
T_tools
endif
()
record replay extract_config textlog enb ue vcd macpdu2wireshark
extract_input_subframe extract_output_subframe to_vcd extract multi
gnb
)
add_dependencies
(
nr-softmodem T_tools
)
add_dependencies
(
nr-uesoftmodem T_tools
)
add_dependencies
(
lte-softmodem T_tools
)
add_dependencies
(
lte-uesoftmodem T_tools
)
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