Summary: Move files, adjust build system, etc. This also separates out the ppx_trace conditional compilation debug tracing machinery into an independent package and library. Reviewed By: jvillard Differential Revision: D20322876 fbshipit-source-id: a50522462master
parent
d5158f0787
commit
b6ddd8fe8e
@ -1,21 +0,0 @@
|
||||
opam-version: "1.2"
|
||||
maintainer: "Josh Berdine <jjb@fb.com>"
|
||||
authors: "Josh Berdine <jjb@fb.com>"
|
||||
homepage: "https://github.com/facebook/infer/tree/master/sledge/src/llair"
|
||||
bug-reports: "https://github.com/facebook/infer/issues"
|
||||
build: [
|
||||
[make "dunes"]
|
||||
["dune" "build" "-p" name "-j" jobs]
|
||||
]
|
||||
depends: [
|
||||
"base" {>= "v0.12.0"}
|
||||
"cmdliner"
|
||||
"core_kernel" {>= "v0.11.0"}
|
||||
"ctypes"
|
||||
"ctypes-foreign"
|
||||
"dune" {build}
|
||||
"llvm" {build & = "7.0.0"}
|
||||
"ppx_compare" {>= "v0.11.0"}
|
||||
"ppx_hash" {>= "v0.11.0"}
|
||||
"zarith"
|
||||
]
|
@ -0,0 +1,18 @@
|
||||
opam-version: "2.0"
|
||||
maintainer: "Josh Berdine <jjb@fb.com>"
|
||||
authors: "Josh Berdine <jjb@fb.com>"
|
||||
homepage: "https://github.com/facebook/infer/tree/master/sledge/ppx_trace"
|
||||
bug-reports: "https://github.com/facebook/infer/issues/new?template=sledge_issue_template.md"
|
||||
dev-repo: "git://github.com/facebook/infer.git"
|
||||
license: "MIT"
|
||||
build: [
|
||||
["dune" "build" "-p" name "-j" jobs]
|
||||
]
|
||||
depends: [
|
||||
"ocaml"
|
||||
"base" {>= "v0.12.0"}
|
||||
"dune" {>= "1.11.3" build}
|
||||
"ppxlib"
|
||||
]
|
||||
synopsis: "Conditionally compiled debug tracing"
|
||||
description: "Conditionally compiled debug tracing"
|
@ -0,0 +1,9 @@
|
||||
; Copyright (c) Facebook, Inc. and its affiliates.
|
||||
;
|
||||
; This source code is licensed under the MIT license found in the
|
||||
; LICENSE file in the root directory of this source tree.
|
||||
|
||||
(library
|
||||
(name trace)
|
||||
(public_name ppx_trace.trace)
|
||||
(libraries base))
|
@ -1,22 +0,0 @@
|
||||
(* -*- tuareg -*- *)
|
||||
(*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*)
|
||||
|
||||
let deps = ["import"; "trace"]
|
||||
|
||||
;;
|
||||
Jbuild_plugin.V1.send
|
||||
@@ Format.sprintf
|
||||
{|
|
||||
(library
|
||||
(name config)
|
||||
(public_name llair.config)
|
||||
%s
|
||||
(libraries yojson %s))
|
||||
|}
|
||||
(flags `lib deps)
|
||||
(libraries deps)
|
@ -1,21 +0,0 @@
|
||||
(* -*- tuareg -*- *)
|
||||
(*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*)
|
||||
|
||||
let deps = ["import"; "trace"; "llair_"]
|
||||
|
||||
;;
|
||||
Jbuild_plugin.V1.send
|
||||
@@ Format.sprintf
|
||||
{|
|
||||
(library
|
||||
(name domain)
|
||||
%s
|
||||
(libraries apron apron.boxMPQ %s))
|
||||
|}
|
||||
(flags `lib deps)
|
||||
(libraries deps)
|
@ -1,22 +0,0 @@
|
||||
(* -*- tuareg -*- *)
|
||||
(*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*)
|
||||
|
||||
let deps = ["model"; "import"; "trace"; "config"]
|
||||
|
||||
;;
|
||||
Jbuild_plugin.V1.send
|
||||
@@ Format.sprintf
|
||||
{|
|
||||
(library
|
||||
(name llair_)
|
||||
(public_name llair)
|
||||
%s
|
||||
(libraries ctypes ctypes.foreign llvm llvm.irreader llvm.analysis llvm.scalar_opts llvm.target llvm.ipo llvm.linker %s))
|
||||
|}
|
||||
(flags `lib deps)
|
||||
(libraries deps)
|
@ -1,20 +0,0 @@
|
||||
(* -*- tuareg -*- *)
|
||||
(*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*)
|
||||
|
||||
let deps = ["import"; "trace"; "llair_"; "domain"]
|
||||
|
||||
;;
|
||||
Jbuild_plugin.V1.send
|
||||
@@ Format.sprintf {|
|
||||
(library
|
||||
(name symbheap)
|
||||
%s
|
||||
(libraries %s))
|
||||
|}
|
||||
(flags `lib deps)
|
||||
(libraries deps)
|
Loading…
Reference in new issue