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
07301037
Commit
07301037
authored
May 30, 2023
by
Robert Schmidt
Committed by
Makarand kulkarni
Jun 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install (new) asn1c under /opt/ to allow parallel install
parent
3ed532d4
Changes
2
Hide 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 @
07301037
...
@@ -49,8 +49,15 @@ include_directories(${CRYPTO_INCLUDE_DIRS})
...
@@ -49,8 +49,15 @@ include_directories(${CRYPTO_INCLUDE_DIRS})
# Check if asn1c is installed, and check if it supports all options we need
# 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
# a user can provide ASN1C_EXEC to override an asn1c to use (e.g., parallel
# installation)
# 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"
)
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
}
-gen-APER ASN1C_EXEC
)
check_option
(
${
ASN1C_EXEC
}
-no-gen-UPER ASN1C_EXEC
)
check_option
(
${
ASN1C_EXEC
}
-no-gen-UPER ASN1C_EXEC
)
check_option
(
${
ASN1C_EXEC
}
-no-gen-JER ASN1C_EXEC
)
check_option
(
${
ASN1C_EXEC
}
-no-gen-JER ASN1C_EXEC
)
...
...
cmake_targets/tools/build_helper
View file @
07301037
...
@@ -687,7 +687,7 @@ install_asn1c_from_source(){
...
@@ -687,7 +687,7 @@ install_asn1c_from_source(){
cd /tmp/asn1c
cd /tmp/asn1c
git checkout vlm_master
git checkout vlm_master
autoreconf -iv
autoreconf -iv
./configure
./configure
--prefix /opt/asn1c/
make -j`nproc`
make -j`nproc`
$SUDO make install
$SUDO make install
cd -
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