Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Özgür Ozan Sen
ogs
Commits
2a2e88fc
Commit
2a2e88fc
authored
9 years ago
by
Tom Fischer
Browse files
Options
Downloads
Plain Diff
Merge pull request #938 from bilke/ccache
Enable ccache
parents
15dfd711
eff88134
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/cmake/CompilerSetup.cmake
+4
-0
4 additions, 0 deletions
scripts/cmake/CompilerSetup.cmake
scripts/cmake/Find.cmake
+6
-0
6 additions, 0 deletions
scripts/cmake/Find.cmake
with
10 additions
and
0 deletions
scripts/cmake/CompilerSetup.cmake
+
4
−
0
View file @
2a2e88fc
...
...
@@ -64,6 +64,10 @@ if(COMPILER_IS_CLANG)
include
(
ClangSanitizer
)
if
(
CCACHE_FOUND AND APPLE
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Qunused-arguments"
)
endif
()
endif
()
# COMPILER_IS_CLANG
### Intel compiler
...
...
This diff is collapsed.
Click to expand it.
scripts/cmake/Find.cmake
+
6
−
0
View file @
2a2e88fc
...
...
@@ -129,3 +129,9 @@ if(OGS_USE_MPI)
include_directories
(
SYSTEM
${
MPI_CXX_INCLUDE_PATH
}
)
endif
()
## CCache
find_program
(
CCACHE_FOUND ccache
)
if
(
CCACHE_FOUND
)
set_property
(
GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache
)
set_property
(
GLOBAL PROPERTY RULE_LAUNCH_LINK ccache
)
endif
(
CCACHE_FOUND
)
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