Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
pub
frama-c
Commits
f0949d57
Commit
f0949d57
authored
4 years ago
by
Andre Maroneze
Committed by
Valentin Perrelle
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Analysis-scripts] update make-path
parent
3e9a07d9
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
bin/frama-c-script
+7
-4
7 additions, 4 deletions
bin/frama-c-script
with
7 additions
and
4 deletions
bin/frama-c-script
+
7
−
4
View file @
f0949d57
...
@@ -121,17 +121,20 @@ open_file() {
...
@@ -121,17 +121,20 @@ open_file() {
}
}
make_path() {
make_path() {
cat
<
<
EOF
>
frama-c-path.mk
dir=".frama-c"
if [ "$#" -gt 0 ]; then
dir="$1"
fi
cat
<
<
EOF
>
"${dir}/path.mk"
FRAMAC_DIR=${DIR}
FRAMAC_DIR=${DIR}
ifeq (\$(wildcard \$(FRAMAC_DIR)),)
ifeq (\$(wildcard \$(FRAMAC_DIR)),)
# Frama-C not installed locally; using the version in the PATH
# Frama-C not installed locally; using the version in the PATH
else
else
FRAMAC=\$(FRAMAC_DIR)/frama-c
FRAMAC=\$(FRAMAC_DIR)/frama-c
FRAMAC_GUI=\$(FRAMAC_DIR)/frama-c-gui
FRAMAC_GUI=\$(FRAMAC_DIR)/frama-c-gui
FRAMAC_CONFIG=\$(FRAMAC_DIR)/frama-c-config
endif
endif
EOF
EOF
echo "Wrote to:
frama-c-
path.mk"
echo "Wrote to:
${dir}/
path.mk"
}
}
flamegraph() {
flamegraph() {
...
@@ -237,7 +240,7 @@ case "$command" in
...
@@ -237,7 +240,7 @@ case "$command" in
;;
;;
"make-path")
"make-path")
shift;
shift;
make_path;
make_path
"$@"
;
;;
;;
"list-files")
"list-files")
shift;
shift;
...
...
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