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
e491c34a
Commit
e491c34a
authored
6 years ago
by
Pierre Loic Garoche
Browse files
Options
Downloads
Patches
Plain Diff
Issues with linking Z3 on OSX
parent
51106b7e
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
configure.ac
+2
-4
2 additions, 4 deletions
configure.ac
include/z3librc.in
+1
-0
1 addition, 0 deletions
include/z3librc.in
src/_tags.in
+20
-18
20 additions, 18 deletions
src/_tags.in
with
23 additions
and
22 deletions
configure.ac
+
2
−
4
View file @
e491c34a
...
...
@@ -108,7 +108,7 @@ AS_IF([ocamlfind query $z3name >/dev/null 2>&1],
)
AS_IF([test "x$z3" = "xyes"], [
AC_SUBST(LUSTREV_ZUSTRE, "(module Zustre_verifier.Verifier : VerifierType.S);")
AC_SUBST(LUSTREV_Z3_TAG, "<**/*>: package($z3name)")
AC_SUBST(LUSTREV_Z3_TAG, "<**/*
verifier.native> or <tools/zustre/*.ml> or <tools/zustre/*.mli
>: package($z3name)")
AS_IF([test "x$z3name" = "xZ3"],
[define([Z3path], esyscmd([ocamlfind query Z3 | tr -d '\n']))
AC_SUBST(Z3LIBPATH, "Z3path")],
...
...
@@ -118,8 +118,6 @@ AS_IF([test "x$z3" = "xyes"], [
])
# Tiny
AC_MSG_CHECKING(tiny library (optional))
AS_IF([ocamlfind query tiny >/dev/null 2>&1],
...
...
@@ -270,7 +268,7 @@ AC_MSG_NOTICE(******** Verifiers ********)
if (test "x$z3" = xyes); then
AC_MSG_NOTICE([Zustre enabled])
AC_MSG_WARN(Z3 shared lib (libz3.so) has to be available in the LD_LIBRARY_PATH.)
AC_MSG_WARN(Z3 shared lib (libz3.so) has to be available in the LD_LIBRARY_PATH
(DYLD_LIBRARY_PATH in OSX)
.)
dnl 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)
...
...
This diff is collapsed.
Click to expand it.
include/z3librc.in
+
1
−
0
View file @
e491c34a
export LD_LIBRARY_PATH=@Z3LIBPATH@:$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=@Z3LIBPATH@:$DYLD_LIBRARY_PATH
This diff is collapsed.
Click to expand it.
src/_tags.in
+
20
−
18
View file @
e491c34a
...
...
@@ -29,27 +29,29 @@ true: bin_annot, color(always)
<**/.svn>: not_hygienic
# packages
<**/*.native> : package(ocamlgraph)
<**/*.native> or <**/*.ml{,i}> : package(num)
<**/*.native> or <**/*.ml{,i}> : package(ocamlgraph)
<**/*verifier.native> or <**/*.ml{,i}> : package(yojson)
<**/*.native> : use_str
<**/*.native> : use_unix
<utils.*> : use_unix
<**/*.native> : package(num)
<**/*.ml> : package(logs)
<**/*.native> : package(logs)
<**/*.native> : package(yojson)
<tools/zustre/zustre_cex.*> : package(yojson)
<**/json_parser.ml> : package(yojson)
<**/main_parse_json_file.*> : package(cmdliner)
<**/main_parse_json_file.*> : package(fmt.tty)
<**/main_parse_json_file.*> : package(fmt.cli)
<**/main_parse_json_file.*> : package(logs.fmt)
<**/main_parse_json_file.*> : package(logs.cli)
<**/main_parse_json_file.*> : package(yojson)
<**/test_*.*> : package(oUnit)
<**/test_json*.*> : package(yojson)
# Required for ocamldoc. Otherwise failed to build
<**/*.ml{,i}>: package(ocamlgraph)
# <**/*.ml> : package(logs)
# <**/*.native> : package(logs)
# <**/*.native> : package(yojson)
# <tools/zustre/zustre_cex.*> : package(yojson)
# <**/json_parser.ml> : package(yojson)
# <**/main_parse_json_file.*> : package(cmdliner)
# <**/main_parse_json_file.*> : package(fmt.tty)
# <**/main_parse_json_file.*> : package(fmt.cli)
# <**/main_parse_json_file.*> : package(logs.fmt)
# <**/main_parse_json_file.*> : package(logs.cli)
# <**/main_parse_json_file.*> : package(yojson)
# <**/test_*.*> : package(oUnit)
# <**/test_json*.*> : package(yojson)
# # Required for ocamldoc. Otherwise failed to build
# <**/*.ml{,i}>: package(ocamlgraph)
# Plugin dependencies
@SALSA_TAG@
...
...
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