Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
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
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-SMF
Commits
189f61de
Commit
189f61de
authored
Jun 12, 2022
by
Luhan Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify compile on ARM
parent
f71bc428
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
.gitignore
.gitignore
+5
-0
build/scripts/build_helper
build/scripts/build_helper
+2
-1
build/scripts/build_helper.smf
build/scripts/build_helper.smf
+2
-2
src/oai_smf/CMakeLists.txt
src/oai_smf/CMakeLists.txt
+4
-1
No files found.
.gitignore
View file @
189f61de
...
...
@@ -35,3 +35,8 @@
archives
src/oai_rules_result*
test_results_oai_smf.html
# build files
build/ext/
build/log/
build/smf/build/
build/scripts/build_helper
View file @
189f61de
...
...
@@ -25,7 +25,7 @@
#
#######################################
#SUPPORTED_DISTRO="Ubuntu 18.04, CentOS 7, RHEL 7"
SUPPORTED_DISTRO="Ubuntu 18.04, RHEL8"
SUPPORTED_DISTRO="Ubuntu 18.04,
Ubuntu 20.04,
RHEL8"
if [ ! -f /etc/os-release ]; then
echo_fatal "No /etc/os-release file found. You're likely on an unsupported distro."
fi
...
...
@@ -128,6 +128,7 @@ check_supported_distribution() {
local distribution=$(get_distribution_release)
case "$distribution" in
"ubuntu18.04") return 0 ;;
"ubuntu20.04") return 0 ;;
"rhel8") return 0 ;;
"rhel8.2") return 0 ;;
"rhel8.3") return 0 ;;
...
...
build/scripts/build_helper.smf
View file @
189f61de
...
...
@@ -385,7 +385,7 @@ check_install_smf_deps() {
guile-2.0-dev \
libcurl4-gnutls-dev \
libevent-dev \
libgcrypt
11
-dev \
libgcrypt
20
-dev \
libgmp-dev \
libhogweed? \
libidn2-0-dev \
...
...
@@ -401,7 +401,7 @@ check_install_smf_deps() {
libcurl4 \
net-tools \
pkg-config \
libasan
2
"
libasan
4
"
elif [[ "$OS_BASEDISTRO" == "fedora" ]]; then
PACKAGE_LIST="\
guile-devel \
...
...
src/oai_smf/CMakeLists.txt
View file @
189f61de
...
...
@@ -139,6 +139,9 @@ endif()
Message
(
"Architecture is
${
CMAKE_SYSTEM_PROCESSOR
}
"
)
if
(
CMAKE_SYSTEM_PROCESSOR STREQUAL
"armv7l"
)
set
(
C_FLAGS_PROCESSOR
"-gdwarf-2 -mfloat-abi=hard -mfpu=neon -lgcc -lrt"
)
elseif
(
CMAKE_SYSTEM_PROCESSOR STREQUAL
"aarch64"
)
#set(C_FLAGS_PROCESSOR "-gdwarf-2 -mfloat-abi=hard -mfpu=neon -lgcc -lrt")
set
(
C_FLAGS_PROCESSOR
"-gdwarf-2 -lgcc -lrt"
)
else
(
CMAKE_SYSTEM_PROCESSOR STREQUAL
"armv7l"
)
set
(
C_FLAGS_PROCESSOR
"-msse4.2"
)
endif
()
...
...
@@ -318,4 +321,4 @@ ENDIF(STATIC_LINKING)
target_link_libraries
(
smf
${
ASAN
}
-Wl,--start-group CN_UTILS SMF UDP PFCP 3GPP_COMMON_TYPES SMF_API -lnettle
${
NETTLE_LIBRARIES
}
${
CRYPTO_LIBRARIES
}
-lnghttp2_asio -lboost_system -lboost_thread -lssl -lcrypto NAS gflags glog dl double-conversion folly -Wl,--end-group pthread m rt config++ event boost_system pistache curl
)
\ No newline at end of file
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