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
bf5de33e
Commit
bf5de33e
authored
2 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
[devman] Add reference to dune/opam integration for packaging plug-ins
parent
580834e2
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
doc/developer/advance.tex
+15
-5
15 additions, 5 deletions
doc/developer/advance.tex
with
15 additions
and
5 deletions
doc/developer/advance.tex
+
15
−
5
View file @
bf5de33e
...
@@ -4187,6 +4187,21 @@ documentation with \texttt{make doc}, you must have generated the documentation
...
@@ -4187,6 +4187,21 @@ documentation with \texttt{make doc}, you must have generated the documentation
of Frama-C's kernel (
\texttt
{
make doc
}
, see above) and installed it with the
of Frama-C's kernel (
\texttt
{
make doc
}
, see above) and installed it with the
\texttt
{
make install-doc-code
}
\codeidx
{
install-doc-code
}
command.
\texttt
{
make install-doc-code
}
\codeidx
{
install-doc-code
}
command.
\section
{
Packaging
}
\label
{
sec:dune-packaging
}
If you intend to release your plug-in, a possible way is to take advantage of
the
\texttt
{
opam
}
integration within
\texttt
{
dune
}
\footnote
{
\url
{
https://dune.readthedocs.io/en/stable/opam.html
}}
.
Basically, the
\index
{
dune-project
}
\texttt
{
dune-project
}
file
(see Section~
\ref
{
tut2:hello
}
) should contain a stanza
\texttt
{
(generate
\_
opam
\_
files true)
}
, as well as a few meta-information
(location of the sources, licence, author(s), etc.). It is also possible to
provide these information into a file
\texttt
{
my-plugin-package.opam.template
}
,
assuming
\texttt
{
my-plugin-package
}
is the name of the package of the plug-in in
the
\texttt
{
dune-project
}
file. See the dune documentation for detailed information
about the creation of the
\texttt
{
opam
}
file.
\section
{
Profiling with Landmarks
}
\label
{
refman:landmarks
}
\codeidxdef
{
Landmarks
}
\section
{
Profiling with Landmarks
}
\label
{
refman:landmarks
}
\codeidxdef
{
Landmarks
}
{
\em
Landmarks
}
\footnote
{
\url
{
https://github.com/LexiFi/landmarks
}}
is a
{
\em
Landmarks
}
\footnote
{
\url
{
https://github.com/LexiFi/landmarks
}}
is a
...
@@ -4240,8 +4255,3 @@ Check \url{https://github.com/LexiFi/landmarks} for its documentation.
...
@@ -4240,8 +4255,3 @@ Check \url{https://github.com/LexiFi/landmarks} for its documentation.
\texttt
{
ocamloptp
}
), which does not support ppx extensions, and you have
\texttt
{
ocamloptp
}
), which does not support ppx extensions, and you have
Landmarks installed, you need to explicitly disable Landmarks during Frama-C's
Landmarks installed, you need to explicitly disable Landmarks during Frama-C's
configure:
\verb
+
./configure --disable-landmarks
+
.
configure:
\verb
+
./configure --disable-landmarks
+
.
% Local Variables:
% ispell-local-dictionary: "english"
% TeX-master: "main"
% End:
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