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
zzha zzha
OpenXG-RAN
Commits
b89b0d50
Commit
b89b0d50
authored
Feb 18, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build_oai: include ldpc_cuda and ldpc_t1 as optional libraries
parent
52e160a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
cmake_targets/build_oai
cmake_targets/build_oai
+9
-6
No files found.
cmake_targets/build_oai
View file @
b89b0d50
...
@@ -55,7 +55,7 @@ CMAKE_BUILD_TYPE="RelWithDebInfo"
...
@@ -55,7 +55,7 @@ CMAKE_BUILD_TYPE="RelWithDebInfo"
CMAKE_CMD
=
"
$CMAKE
"
CMAKE_CMD
=
"
$CMAKE
"
BUILD_ECLIPSE
=
0
BUILD_ECLIPSE
=
0
NR
=
"False"
NR
=
"False"
OPTIONAL_LIBRARIES
=
"telnetsrv enbscope uescope nrscope"
OPTIONAL_LIBRARIES
=
"telnetsrv enbscope uescope nrscope
ldpc_cuda ldpc_t1
"
ulfiusdep
=
$(
basename
./
`
find /usr/lib
*
-name
libulfius.so
`
)
ulfiusdep
=
$(
basename
./
`
find /usr/lib
*
-name
libulfius.so
`
)
jssondep
=
$(
basename
./
`
find /usr/lib
*
-name
libjansson.so
`
)
jssondep
=
$(
basename
./
`
find /usr/lib
*
-name
libjansson.so
`
)
if
[
"
$ulfiusdep
"
==
"libulfius.so"
-a
"
$jssondep
"
==
"libjansson.so"
]
;
then
if
[
"
$ulfiusdep
"
==
"libulfius.so"
-a
"
$jssondep
"
==
"libjansson.so"
]
;
then
...
@@ -392,13 +392,16 @@ function main() {
...
@@ -392,13 +392,16 @@ function main() {
if
[
"
$alib
"
=
"
$oklib
"
]
;
then
if
[
"
$alib
"
=
"
$oklib
"
]
;
then
BUILD_OPTLIB
=
"
$BUILD_OPTLIB
$alib
"
BUILD_OPTLIB
=
"
$BUILD_OPTLIB
$alib
"
echo_info
"Enabling build of lib
${
alib
}
.so"
echo_info
"Enabling build of lib
${
alib
}
.so"
fi
fi
done
done
done
done
if
[
"
${
BUILD_OPTLIB
##
}
"
!=
"
$2
"
]
;
then
if
[
"
${
BUILD_OPTLIB
##
}
"
!=
"
$2
"
]
;
then
echo_fatal
"Unknown optional library in
$2
, valid libraries are
$OPTIONAL_LIBRARIES
"
echo_fatal
"Unknown optional library in
$2
, valid libraries are
$OPTIONAL_LIBRARIES
"
fi
fi
fi
fi
for
oklib
in
$BUILD_OPTLIB
;
do
CMAKE_CMD
=
"
$CMAKE_CMD
-DENABLE_
${
oklib
^^
}
=ON"
done
shift
2
;;
shift
2
;;
--noavx512
)
--noavx512
)
CMAKE_CMD
=
"
$CMAKE_CMD
-DAVX512=OFF"
CMAKE_CMD
=
"
$CMAKE_CMD
-DAVX512=OFF"
...
...
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