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
c52e6b8a
Commit
c52e6b8a
authored
May 21, 2026
by
yangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update build_helper => oxgrf\asn1\simpe library
parent
534e0910
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
6 deletions
+30
-6
cmake_targets/tools/build_helper
cmake_targets/tools/build_helper
+30
-6
No files found.
cmake_targets/tools/build_helper
View file @
c52e6b8a
...
@@ -274,17 +274,41 @@ check_install_oxgrf_driver() {
...
@@ -274,17 +274,41 @@ check_install_oxgrf_driver() {
then
then
echo_success "OXGRF driver has loaded."
echo_success "OXGRF driver has loaded."
else
else
git clone
https://github.com/openxg-prog/oxgrf_driver /tmp/oxgrf_driver
git clone
-b ubuntu22.04 http://gitlab.openxg.org.cn/libraries/dma_ip_drivers.git /opt/dma_ip_drivers
if [ $? -ne 0 ]; then
if [ $? -ne 0 ]; then
echo_fatal "OXGRF driver download failed, please check your net connection."
echo_fatal "OXGRF driver download failed, please check your net connection."
else
else
cd /tmp/oxgrf_driver/XDMA/linux-kernel/xdma
cd /opt/dma_ip_drivers/XDMA/linux-kernel/xdma
make && $SUDO make install
make
$SUDO tee "/etc/systemd/system/load_oxgrf.service" > /dev/null <<EOF
[Unit]
Description=Load OXGRF XDMA Driver
After=local-fs.target
[Service]
Type=oneshot
RemainAfterExit=yes
WorkingDirectory=/opt/dma_ip_drivers/XDMA/linux-kernel/tests
ExecStart=/opt/dma_ip_drivers/XDMA/linux-kernel/tests/load_driver.sh 4
User=root
[Install]
WantedBy=multi-user.target
EOF
if [ $? -eq 0 ]; then
$SUDO systemctl daemon-reload
$SUDO systemctl enable load_oxgrf
$SUDO systemctl start load_oxgrf
echo_success "load_oxgrf service installed and started."
else
echo_fatal "Failed to create load_oxgrf service file."
fi
echo_success "OXGRF driver install success, please restart your PC later."
echo_success "OXGRF driver install success, please restart your PC later."
fi
fi
fi
fi
git clone
-b 2505 https://github.com/openxg-prog/liboxgrf
/tmp/liboxgrf
git clone
http://gitlab.openxg.org.cn/libraries/liboxgrf.git
/tmp/liboxgrf
if [ $? -ne 0 ]; then
if [ $? -ne 0 ]; then
echo_fatal "OXGRF API download failed, please check your net connection."
echo_fatal "OXGRF API download failed, please check your net connection."
else
else
...
@@ -510,7 +534,7 @@ install_asn1c_from_source(){
...
@@ -510,7 +534,7 @@ install_asn1c_from_source(){
$SUDO $INSTALLER -y install bison flex
$SUDO $INSTALLER -y install bison flex
$SUDO rm -rf /tmp/asn1c
$SUDO rm -rf /tmp/asn1c
# GIT_SSL_NO_VERIFY=true git clone https://gitlab.eurecom.fr/oai/asn1c.git /tmp/asn1c
# GIT_SSL_NO_VERIFY=true git clone https://gitlab.eurecom.fr/oai/asn1c.git /tmp/asn1c
git clone http
s://github.com/mouse07410/asn1c
/tmp/asn1c
git clone http
://gitlab.openxg.org.cn/libraries/asn1c.git
/tmp/asn1c
cd /tmp/asn1c
cd /tmp/asn1c
#git checkout vlm_master
#git checkout vlm_master
# hotfix: current vlm_master (5fa129cf3161da9ff2d67341e6277e818c0f5d6a)
# hotfix: current vlm_master (5fa129cf3161da9ff2d67341e6277e818c0f5d6a)
...
@@ -533,7 +557,7 @@ install_simde_from_source(){
...
@@ -533,7 +557,7 @@ install_simde_from_source(){
echo_info "\nInstalling SIMDE from source without test cases (header files only)"
echo_info "\nInstalling SIMDE from source without test cases (header files only)"
cd /tmp
cd /tmp
$SUDO rm -rf /tmp/simde
$SUDO rm -rf /tmp/simde
git clone http
s://github.com/simd-everywhere/simde-no-tests
.git /tmp/simde
git clone http
://gitlab.openxg.org.cn/libraries/simde
.git /tmp/simde
cd /tmp/simde
cd /tmp/simde
# we can specify a given version of SIMDE (sha-one or tag)
# we can specify a given version of SIMDE (sha-one or tag)
if [[ -v SIMDE_VERSION ]]; then
if [[ -v SIMDE_VERSION ]]; then
...
...
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