Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
oai
openairinterface5G
Commits
9f41f7c5
Commit
9f41f7c5
authored
2 years ago
by
Robert Schmidt
Committed by
Sakthivel Velumani
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove hwlat refs in build_oai: targets don't exist anymore
parent
e666cf5e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake_targets/build_oai
+1
-75
1 addition, 75 deletions
cmake_targets/build_oai
with
1 addition
and
75 deletions
cmake_targets/build_oai
+
1
−
75
View file @
9f41f7c5
...
@@ -126,10 +126,6 @@ Options:
...
@@ -126,10 +126,6 @@ Options:
Adds a debgging facility to the binary files: GUI with major internal synchronization events
Adds a debgging facility to the binary files: GUI with major internal synchronization events
-x | --xforms
-x | --xforms
Will compile with software oscilloscope features
Will compile with software oscilloscope features
--HWLAT
Makes test program for haw latency tests
--HWLAT_TEST
Compiles a hw latency test program
--verbose-ci
--verbose-ci
Compile with verbose instructions in CI Docker env
Compile with verbose instructions in CI Docker env
--verbose-compile
--verbose-compile
...
@@ -345,14 +341,6 @@ function main() {
...
@@ -345,14 +341,6 @@ function main() {
EXE_ARGUMENTS
=
"
$EXE_ARGUMENTS
-d"
EXE_ARGUMENTS
=
"
$EXE_ARGUMENTS
-d"
echo_info
"Will generate the software oscilloscope features"
echo_info
"Will generate the software oscilloscope features"
shift
;;
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
)
VERBOSE_CI
=
1
VERBOSE_CI
=
1
echo_info
"Will compile with verbose instructions in CI Docker env"
echo_info
"Will compile with verbose instructions in CI Docker env"
...
@@ -502,12 +490,6 @@ function main() {
...
@@ -502,12 +490,6 @@ function main() {
echo_info
"No transport protocol has been selected (TP set to
$TP
)"
echo_info
"No transport protocol has been selected (TP set to
$TP
)"
fi
fi
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
"
echo_info
"RF HW set to
$HW
"
# If the user doesn't specify the Linux scheduler to use, we set a value
# If the user doesn't specify the Linux scheduler to use, we set a value
...
@@ -775,67 +757,11 @@ function main() {
...
@@ -775,67 +757,11 @@ function main() {
lib
${
oklib
}
.so
$dbin
/lib
${
oklib
}
.so
lib
${
oklib
}
.so
$dbin
/lib
${
oklib
}
.so
done
done
fi
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 #
# 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
# build RF device libraries
if
[
"
$HW
"
!=
"None"
]
;
then
if
[
"
$HW
"
!=
"None"
]
;
then
...
...
This diff is collapsed.
Click to expand it.
Robert Schmidt
@schmidtr
mentioned in commit
553f1d1a
·
2 years ago
mentioned in commit
553f1d1a
mentioned in commit 553f1d1a52845911be4ba61ec2bcc5c60ad42ae7
Toggle commit list
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