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
1
Merge Requests
1
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-RAN
Commits
9f41f7c5
Commit
9f41f7c5
authored
Apr 12, 2022
by
Robert Schmidt
Committed by
Sakthivel Velumani
Sep 13, 2022
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove hwlat refs in build_oai: targets don't exist anymore
parent
e666cf5e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
75 deletions
+1
-75
cmake_targets/build_oai
cmake_targets/build_oai
+1
-75
No files found.
cmake_targets/build_oai
View file @
9f41f7c5
...
...
@@ -126,10 +126,6 @@ Options:
Adds a debgging facility to the binary files: GUI with major internal synchronization events
-x | --xforms
Will compile with software oscilloscope features
--HWLAT
Makes test program for haw latency tests
--HWLAT_TEST
Compiles a hw latency test program
--verbose-ci
Compile with verbose instructions in CI Docker env
--verbose-compile
...
...
@@ -345,14 +341,6 @@ function main() {
EXE_ARGUMENTS
=
"
$EXE_ARGUMENTS
-d"
echo_info
"Will generate the software oscilloscope features"
shift
;;
--HWLAT
)
HWLAT
=
1
echo_info
"Will compile hw latency test program"
shift
;;
--HWLAT_TEST
)
HWLAT_TEST
=
1
echo_info
"Will compile hw latency test program"
shift
;;
--verbose-ci
)
VERBOSE_CI
=
1
echo_info
"Will compile with verbose instructions in CI Docker env"
...
...
@@ -503,12 +491,6 @@ function main() {
fi
fi
if
[
"
$HWLAT
"
=
"1"
]
;
then
if
[
"
$HW
"
=
"None"
]
;
then
echo_info
"No radio head has been selected (HW set to
$HW
)"
fi
fi
echo_info
"RF HW set to
$HW
"
# If the user doesn't specify the Linux scheduler to use, we set a value
if
[
"
$DEADLINE_SCHEDULER_FLAG_USER
"
=
""
]
;
then
...
...
@@ -776,66 +758,10 @@ function main() {
done
fi
#####################
# HWLAT compilation #
#####################
if
[
"
$HWLAT
"
=
"1"
]
;
then
hwlat_exec
=
lte-hwlat
hwlat_build_dir
=
lte-hwlat
echo_info
"Compiling
$hwlat_exec
..."
[
"
$CLEAN
"
=
"1"
]
&&
rm
-rf
$DIR
/lte-hwlat/build
mkdir
-p
$DIR
/
$hwlat_build_dir
/build
cmake_file
=
$DIR
/
$hwlat_build_dir
/CMakeLists.txt
echo
"cmake_minimum_required(VERSION 2.8)"
>
$cmake_file
echo
"set ( CMAKE_BUILD_TYPE
$CMAKE_BUILD_TYPE
)"
>>
$cmake_file
echo
"set ( RF_BOARD
\"
${
HW
}
\"
)"
>>
$cmake_file
echo
'set ( PACKAGE_NAME "\"lte-hwlat\"")'
>>
$cmake_file
echo
"set ( DEADLINE_SCHEDULER
\"
${
DEADLINE_SCHEDULER_FLAG_USER
}
\"
)"
>>
$cmake_file
echo
"set ( CPU_AFFINITY
\"
${
CPU_AFFINITY_FLAG_USER
}
\"
)"
>>
$cmake_file
echo
"set ( HWLAT
\"
${
HWLAT
}
\"
)"
>>
$cmake_file
echo
'include(${CMAKE_CURRENT_SOURCE_DIR}/../CMakeLists.txt)'
>>
$cmake_file
cd
$DIR
/
$hwlat_build_dir
/build
cmake ..
compilations
\
lte-hwlat lte-hwlat
\
lte-hwlat
$dbin
/lte-hwlat
fi
##########################
# HWLAT_TEST compilation #
##########################
if
[
"
$HWLAT_TEST
"
=
"1"
]
;
then
hwlat_test_exec
=
lte-hwlat-test
hwlat_test_build_dir
=
lte-hwlat-test
echo_info
"Compiling
$hwlat_test_exec
..."
[
"
$CLEAN
"
=
"1"
]
&&
rm
-rf
$DIR
/lte-hwlat-test/build
mkdir
-p
$DIR
/
$hwlat_test_build_dir
/build
cmake_file
=
$DIR
/
$hwlat_test_build_dir
/CMakeLists.txt
echo
"cmake_minimum_required(VERSION 2.8)"
>
$cmake_file
echo
"set ( CMAKE_BUILD_TYPE
$CMAKE_BUILD_TYPE
)"
>>
$cmake_file
echo
"set ( RF_BOARD
\"
${
HW
}
\"
)"
>>
$cmake_file
echo
'set ( PACKAGE_NAME "\"lte-hwlat-test\"")'
>>
$cmake_file
echo
"set ( DEADLINE_SCHEDULER
\"
${
DEADLINE_SCHEDULER_FLAG_USER
}
\"
)"
>>
$cmake_file
echo
"set ( CPU_AFFINITY
\"
${
CPU_AFFINITY_FLAG_USER
}
\"
)"
>>
$cmake_file
echo
"set ( HWLAT
\"
${
HWLAT
}
\"
)"
>>
$cmake_file
echo
'include(${CMAKE_CURRENT_SOURCE_DIR}/../CMakeLists.txt)'
>>
$cmake_file
cd
$DIR
/
$hwlat_test_build_dir
/build
cmake ..
compilations
\
lte-hwlat-test lte-hwlat-test
\
lte-hwlat-test
$dbin
/lte-hwlat-test
fi
####################################################
# Build RF device and transport protocol libraries #
####################################################
if
[
"
$eNB
"
=
"1"
-o
"
$eNBocp
"
=
"1"
-o
"
$UE
"
=
"1"
-o
"
$gNB
"
=
"1"
-o
"
$RU
"
=
"1"
-o
"
$nrUE
"
=
"1"
-o
"
$HWLAT
"
=
"1"
]
;
then
if
[
"
$eNB
"
=
"1"
-o
"
$eNBocp
"
=
"1"
-o
"
$UE
"
=
"1"
-o
"
$gNB
"
=
"1"
-o
"
$RU
"
=
"1"
-o
"
$nrUE
"
=
"1"
]
;
then
# build RF device libraries
if
[
"
$HW
"
!=
"None"
]
;
then
...
...
FANG WANG
@wf
mentioned in commit
553f1d1a
·
Feb 11, 2023
mentioned in commit
553f1d1a
mentioned in commit 553f1d1a52845911be4ba61ec2bcc5c60ad42ae7
Toggle commit list
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