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
321e76e8
Commit
321e76e8
authored
Dec 26, 2023
by
yankuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify build_helper and add oxgrf.so
parent
a9dc53e2
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
312 additions
and
2 deletions
+312
-2
cmake_targets/tools/build_helper
cmake_targets/tools/build_helper
+26
-2
radio/OXGRF/liboxgrf_ss.so
radio/OXGRF/liboxgrf_ss.so
+0
-0
radio/OXGRF/oxgrf_api_ss.h
radio/OXGRF/oxgrf_api_ss.h
+286
-0
No files found.
cmake_targets/tools/build_helper
View file @
321e76e8
...
...
@@ -682,6 +682,7 @@ check_install_oai_software() {
install_asn1c_from_source $1
install_simde_from_source $1
install_oxgrf_from_source $1
}
install_asn1c_from_source(){
...
...
@@ -692,7 +693,9 @@ install_asn1c_from_source(){
$SUDO $INSTALLER -y install bison flex
$SUDO rm -rf /tmp/asn1c
# GIT_SSL_NO_VERIFY=true git clone https://gitlab.eurecom.fr/oai/asn1c.git /tmp/asn1c
git clone https://github.com/mouse07410/asn1c /tmp/asn1c
#git clone https://github.com/mouse07410/asn1c /tmp/asn1c
sudo wget -c http://www.opensource5g.org:19780/share/oai/libs/asn1c.tar.gz -P /tmp/
tar -zxvf /tmp/asn1c.tar.gz -C /tmp
cd /tmp/asn1c
git checkout vlm_master
# Showing which version is used
...
...
@@ -713,7 +716,9 @@ install_simde_from_source(){
echo_info "\nInstalling SIMDE from source without test cases (header files only)"
cd /tmp
$SUDO rm -rf /tmp/simde
git clone https://github.com/simd-everywhere/simde-no-tests.git /tmp/simde
#git clone https://github.com/simd-everywhere/simde-no-tests.git /tmp/simde
sudo wget -c http://www.opensource5g.org:19780/share/oai/libs/simde.tar.gz -P /tmp/
tar -zxvf /tmp/simde.tar.gz -C /tmp
cd /tmp/simde
# we can specify a given version of SIMDE (sha-one or tag)
if [[ -v SIMDE_VERSION ]]; then
...
...
@@ -728,6 +733,25 @@ install_simde_from_source(){
$SUDO \cp -rv ../simde /usr/include
}
install_oxgrf_from_source(){
echo_info "\nInstalling OXGRF from source without test cases (header files only)"
if [ ! -f /usr/local/include/oxgrf_api_ss.h ]; then
cp $OPENAIR_DIR/radio/OXGRF/oxgrf_api_ss.h /usr/local/include
$SUDO chmod +x /usr/local/include/oxgrf_api_ss.h
echo "oxgrf_api_ss.h installed successfully"
else
echo "oxgrf_api_ss.h is already existed"
fi
if [ ! -f /usr/local/include/liboxgrf_ss.so ]; then
cp $OPENAIR_DIR/radio/OXGRF/liboxgrf_ss.so /usr/local/lib
$SUDO chmod +x /usr/local/lib/liboxgrf_ss.so
$SUDO ldconfig /usr/local/lib
echo "liboxgrf_ss.so installed successfully"
else
echo "liboxgrf_ss.so is already existed"
fi
}
#################################################
# 2. compile
################################################
...
...
radio/OXGRF/liboxgrf_ss.so
0 → 100644
View file @
321e76e8
File added
radio/OXGRF/oxgrf_api_ss.h
0 → 100644
View file @
321e76e8
This diff is collapsed.
Click to expand it.
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