Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Lustrec - public version
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
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
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LustreC
Lustrec - public version
Commits
c5de2e97
Commit
c5de2e97
authored
7 years ago
by
Pierre Loic Garoche
Browse files
Options
Downloads
Patches
Plain Diff
Add the script to update LD_LIBRARY_PATH for z3
parent
ad4774b0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure.ac
+12
-1
12 additions, 1 deletion
configure.ac
include/z3librc.in
+1
-0
1 addition, 0 deletions
include/z3librc.in
with
13 additions
and
1 deletion
configure.ac
+
12
−
1
View file @
c5de2e97
...
...
@@ -79,14 +79,20 @@ AS_IF([test "x$seal" = "xyes"], [
# z3
AC_MSG_CHECKING(z3 library (optional))
define([z3path], esyscmd([ocamlfind query z3]))
AS_IF([ocamlfind query z3 >/dev/null 2>&1],
[z3=yes; AC_MSG_RESULT(yes)],[seal=no; AC_MSG_RESULT(no)],
)
AS_IF([test "x$z3" = "xyes"], [
AC_SUBST(LUSTREV_ZUSTRE, "(module Zustre_verifier.Verifier : VerifierType.S);")
AC_SUBST(LUSTREV_Z3_TAG, "<**/*>: package(z3)")
AC_SUBST(Z3LIBPATH, "z3path")
])
# Tiny
AC_MSG_CHECKING(tiny library (optional))
AS_IF([ocamlfind query tiny >/dev/null 2>&1],
...
...
@@ -189,6 +195,7 @@ AC_CONFIG_FILES([Makefile
src/verifierList.ml
src/_tags
src/ocaml_utils.ml
include/z3librc
])
AC_OUTPUT
...
...
@@ -231,7 +238,11 @@ AC_MSG_NOTICE(******** Verifiers ********)
if (test "x$z3" = xyes); then
AC_MSG_NOTICE([Zustre enabled])
else
AC_MSG_WARN(Z3 shared lib (libz3.so) has to be available in the LD_LIBRARY_PATH.)
AC_MSG_WARN(It is currently located in "z3path")
AC_MSG_WARN(If not already available run "source ${prefix}/include/lustrec/z3librc")
AC_MSG_WARN(or add that line to your ~/.profile or ~/.bashrc)
else
AC_MSG_NOTICE([Zustre disabled. Require Z3 ocaml library])
fi
...
...
This diff is collapsed.
Click to expand it.
include/z3librc.in
0 → 100644
+
1
−
0
View file @
c5de2e97
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:@Z3LIBPATH@
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
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