Summary: It is now possible to not spew dune files all over the repo, and opam files aren't needed either. Reviewed By: jvillard Differential Revision: D21720978 fbshipit-source-id: 553e1d154master
parent
5e90bc61b7
commit
73a0b1f81b
@ -1,16 +0,0 @@
|
||||
; 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.
|
||||
|
||||
(executable
|
||||
(name sledge_cli)
|
||||
(public_name sledge)
|
||||
(package sledge)
|
||||
(libraries apron apron.boxMPQ ctypes ctypes.foreign dune-build-info llvm
|
||||
llvm.irreader llvm.analysis llvm.scalar_opts llvm.target llvm.ipo
|
||||
llvm.linker shexp.process yojson trace import sledge model)
|
||||
(flags
|
||||
(:standard -w -58 -open Import -open Sledge -open Model))
|
||||
(preprocess
|
||||
(pps ppx_sledge)))
|
@ -1 +1,7 @@
|
||||
(lang dune 2.0)
|
||||
(lang dune 2.5)
|
||||
|
||||
(package
|
||||
(name ppx_trace))
|
||||
|
||||
(package
|
||||
(name sledge))
|
||||
|
@ -1,26 +0,0 @@
|
||||
; 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.
|
||||
|
||||
(rule
|
||||
(targets cxxabi.bc)
|
||||
(deps cxxabi.cpp Makefile llair_intrinsics.h)
|
||||
(action
|
||||
(run make ROOT=../../.. cxxabi.bc)))
|
||||
|
||||
(rule
|
||||
(targets lib_fuzzer_main.bc)
|
||||
(deps lib_fuzzer_main.c Makefile)
|
||||
(action
|
||||
(run make ROOT=../../.. lib_fuzzer_main.bc)))
|
||||
|
||||
(rule
|
||||
(targets model.ml)
|
||||
(deps cxxabi.bc lib_fuzzer_main.bc)
|
||||
(action
|
||||
(run ocaml-crunch -m plain -e bc -o model.ml .)))
|
||||
|
||||
(library
|
||||
(name model)
|
||||
(public_name sledge.model))
|
@ -1,14 +0,0 @@
|
||||
; 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 ppx_sledge)
|
||||
(kind
|
||||
(ppx_rewriter
|
||||
(cookies
|
||||
(ppx_trace_enabled %{env:PPX_TRACE_ENABLED=0}))))
|
||||
(libraries ppx_compare ppx_expect ppx_hash ppx_here ppx_inline_test ppx_let
|
||||
ppx_sexp_conv ppx_sexp_value ppx_trace)
|
||||
(preprocess no_preprocessing))
|
@ -1,17 +0,0 @@
|
||||
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"
|
||||
"dune" {>= "2.0.0"}
|
||||
"ppxlib"
|
||||
]
|
||||
synopsis: "Conditionally compiled debug tracing"
|
||||
description: "Conditionally compiled debug tracing"
|
@ -1,8 +0,0 @@
|
||||
; 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))
|
@ -1,14 +0,0 @@
|
||||
; 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 sledge)
|
||||
(public_name sledge)
|
||||
(libraries trace import)
|
||||
(flags
|
||||
(:standard -open Import))
|
||||
(preprocess
|
||||
(pps ppx_sledge))
|
||||
(inline_tests))
|
@ -1,13 +0,0 @@
|
||||
; 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 import)
|
||||
(public_name sledge.import)
|
||||
(libraries core core_kernel.fheap zarith trace)
|
||||
(flags (:standard))
|
||||
(preprocess
|
||||
(pps ppx_sledge))
|
||||
(inline_tests))
|
Loading…
Reference in new issue