Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plumed AlphaFold
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Martin Kurečka
Plumed AlphaFold
Commits
c3a15514
There was an error fetching the commit references. Please try again later.
Commit
c3a15514
authored
7 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Patches
Plain Diff
Fix cppcheck with ccache
parent
e5dd1c32
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis/install.cppcheck
+6
-1
6 additions, 1 deletion
.travis/install.cppcheck
with
6 additions
and
1 deletion
.travis/install.cppcheck
+
6
−
1
View file @
c3a15514
...
...
@@ -16,8 +16,13 @@ else
version
=
$(
git tag |
tail
-n
1
)
fi
# pick native architecture
native
=
"
$(
$CC
-march
=
native
-Q
--help
=
target |
grep
march
=
|
awk
'{print $2}'
)
"
# this is required so that when running the job on a different architecture ccache understand
# the object file should not be recycled
git checkout
$version
make
-j
4
install
CFGDIR
=
"
$HOME
/opt/share/cppcheck/"
CXXFLAGS
=
"-O2 -march=native -mtune=native -Wunreachable-code"
PREFIX
=
"
$HOME
/opt"
make
-j
4
install
CFGDIR
=
"
$HOME
/opt/share/cppcheck/"
CXXFLAGS
=
"-O2 -march=
"
$
native
"
-mtune=
"
$
native
"
-Wunreachable-code"
PREFIX
=
"
$HOME
/opt"
cd
../
cppcheck
--version
...
...
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