Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Skyward Boardcore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Emilio Corigliano
Skyward Boardcore
Commits
54faca2a
Commit
54faca2a
authored
5 months ago
by
Emilio Corigliano
Browse files
Options
Downloads
Patches
Plain Diff
[cmake] Adding O3 optimization to the two libraries "to_protect" and "external"
parent
deaf9425
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#10463
failed
5 months ago
Stage: lint
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+2
-2
2 additions, 2 deletions
CMakeLists.txt
with
2 additions
and
2 deletions
CMakeLists.txt
+
2
−
2
View file @
54faca2a
...
...
@@ -45,14 +45,14 @@ include(${BOARDCORE_PATH}/cmake/boardcore.cmake)
# Create a library for the duplications
add_library
(
to_protect_lib STATIC EXCLUDE_FROM_ALL
${
PROTECT_SRC
}
)
target_compile_options
(
to_protect_lib PRIVATE -S -emit-llvm
)
target_compile_options
(
to_protect_lib PRIVATE -S -emit-llvm
-O3
)
# add_options_boardcore_library(to_protect_lib PUBLIC ${BOARD_NAME})
link_boardcore_submodules
(
to_protect_lib PUBLIC
)
link_boardcore_libraries
(
to_protect_lib PUBLIC
)
# Create a library for the board
add_library
(
external_lib STATIC EXCLUDE_FROM_ALL
${
BOARDCORE_SRC
}
)
target_compile_options
(
external_lib PRIVATE -S -emit-llvm
)
target_compile_options
(
external_lib PRIVATE -S -emit-llvm
-O3
)
# add_options_boardcore_library(external_lib PUBLIC ${BOARD_NAME})
link_boardcore_submodules
(
external_lib PUBLIC
)
link_boardcore_libraries
(
external_lib PUBLIC
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment