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
cb2c8731
Commit
cb2c8731
authored
May 30, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install (new) asn1c under /opt/ to allow parallel install
parent
fcd00755
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
CMakeLists.txt
CMakeLists.txt
+8
-1
cmake_targets/tools/build_helper
cmake_targets/tools/build_helper
+1
-1
No files found.
CMakeLists.txt
View file @
cb2c8731
...
...
@@ -49,8 +49,15 @@ include_directories(${CRYPTO_INCLUDE_DIRS})
# Check if asn1c is installed, and check if it supports all options we need
# a user can provide ASN1C_EXEC to override an asn1c to use (e.g., parallel
# installation)
find_program
(
ASN1C_EXEC_PATH asn1c
)
find_program
(
ASN1C_EXEC_PATH asn1c
HINTS /opt/asn1c/bin
)
set
(
ASN1C_EXEC
${
ASN1C_EXEC_PATH
}
CACHE FILEPATH
"path to asn1c executable"
)
if
(
NOT ASN1C_EXEC
)
message
(
FATAL_ERROR
"No asn1c found!
You might want to re-run ./build_oai -I
Or provide a path to asn1c using
./build_oai ... --cmake-opt -DASN1C_EXEC=/path/to/asn1c
"
)
endif
()
check_option
(
${
ASN1C_EXEC
}
-gen-APER ASN1C_EXEC
)
check_option
(
${
ASN1C_EXEC
}
-no-gen-UPER ASN1C_EXEC
)
check_option
(
${
ASN1C_EXEC
}
-no-gen-JER ASN1C_EXEC
)
...
...
cmake_targets/tools/build_helper
View file @
cb2c8731
...
...
@@ -684,7 +684,7 @@ install_asn1c_from_source(){
cd /tmp/asn1c
git checkout vlm_master
autoreconf -iv
./configure
./configure
--prefix /opt/asn1c/
make -j`nproc`
$SUDO make install
cd -
...
...
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