Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OAI-RAN-5G-sheduler_MaxTBS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MAQ5G-PFC
OAI-RAN-5G-sheduler_MaxTBS
Commits
39f26e94
Commit
39f26e94
authored
8 years ago
by
Cedric Roux
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/enhancement-211-snapping' into develop_integration_w07
parents
e62f569b
e3186c17
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
cmake_targets/build_oai
+9
-1
9 additions, 1 deletion
cmake_targets/build_oai
cmake_targets/snap_environment.sh
+3
-0
3 additions, 0 deletions
cmake_targets/snap_environment.sh
cmake_targets/tools/build_helper
+5
-1
5 additions, 1 deletion
cmake_targets/tools/build_helper
with
17 additions
and
2 deletions
cmake_targets/build_oai
+
9
−
1
View file @
39f26e94
...
...
@@ -306,6 +306,10 @@ function main() {
UE_AUTOTEST_TRACE
=
"True"
echo_info
"Enabling autotest specific trace for UE"
shift
1
;;
--uhd-images-dir
)
UHD_IMAGES_DIR
=
$2
echo_info
"Downloading UHD images in the indicated location"
shift
2
;;
-h
|
--help
)
print_help
exit
1
;;
...
...
@@ -376,6 +380,10 @@ function main() {
echo_info
"Flags for Deadline scheduler:
$DEADLINE_SCHEDULER_FLAG_USER
"
echo_info
"Flags for CPU Affinity:
$CPU_AFFINITY_FLAG_USER
"
if
[
-n
"
$UHD_IMAGES_DIR
"
]
&&
[
-z
"
$INSTALL_EXTERNAL
"
]
;
then
echo_error
"UHD images download settings will not be applied without -I present"
exit
fi
############################################
# setting and printing OAI envs, we should check here
############################################
...
...
@@ -413,7 +421,7 @@ function main() {
echo_info
"installing packages for USRP support"
check_install_usrp_uhd_driver
if
[
!
"
$DISABLE_HARDWARE_DEPENDENCY
"
==
"True"
]
;
then
install_usrp_uhd_driver
install_usrp_uhd_driver
$UHD_IMAGES_DIR
fi
fi
if
[
"
$HW
"
==
"OAI_BLADERF"
]
;
then
...
...
This diff is collapsed.
Click to expand it.
cmake_targets/snap_environment.sh
0 → 100755
+
3
−
0
View file @
39f26e94
#!/bin/sh
export
UHD_IMAGES_DIR
=
$SNAP
/uhd_images
exec
$@
This diff is collapsed.
Click to expand it.
cmake_targets/tools/build_helper
+
5
−
1
View file @
39f26e94
...
...
@@ -216,7 +216,11 @@ install_usrp_uhd_driver() {
# We move uhd-host apart because it depends on linux kernel version
# On newer kernels, it fails to install
$SUDO apt-get -y install uhd-host
if [ -z $1 ]; then
$SUDO uhd_images_downloader
else
$SUDO uhd_images_downloader -i $1
fi
}
check_install_bladerf_driver(){
...
...
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