backend/dune

Summary:
Needed to move some "Differential" files out of the way. This makes
sense I think: backend/ is only about orchestrating the various
checkers.

Reviewed By: ngorogiannis

Differential Revision: D21431968

fbshipit-source-id: 14fad8b88
master
Jules Villard 5 years ago committed by Facebook GitHub Bot
parent 0f95d16ac1
commit 3bc350331d

@ -0,0 +1,18 @@
; 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 backend)
(public_name infer.backend)
(flags
(:standard
-open Core -open InferStdlib -open IStd -open OpenSource -open InferGenerated
-open InferBase -open InferIR -open Absint -open Biabduction -open Bo -open Nullsafe
-open Pulselib -open Checkers -open Costlib -open Quandary -open TOPL
-open Concurrency -open Labs))
(libraries core InferStdlib InferGenerated InferBase InferIR absint biabduction nullsafe bo
checkers costlib quandary TOPL concurrency labs)
(preprocess (pps ppx_compare ppx_fields_conv))
)

@ -50,8 +50,8 @@ endif
# Note that we run find under _build directory. Since we copy some
# sources from subfolders to src/ folder to avoid duplicates we use
# $(DEPTH_ONE) and iteration over main and library folders.
LIBRARY_FOLDERS = . ./IR ./absint ./atd ./base ./biabduction ./bufferoverrun ./c_stubs ./checkers ./concurrency ./cost ./istd ./labs ./nullsafe ./pulse ./quandary ./scripts ./topl
INCLUDE_FOLDERS = -I absint -I IR -I atd -I base -I biabduction -I bufferoverrun -I c_stubs -I checkers -I concurrency -I cost -I istd -I labs -I nullsafe -I pulse -I quandary -I scripts -I topl
LIBRARY_FOLDERS = . ./IR ./absint ./atd ./backend ./base ./biabduction ./bufferoverrun ./c_stubs ./checkers ./concurrency ./cost ./istd ./labs ./nullsafe ./pulse ./quandary ./scripts ./topl
INCLUDE_FOLDERS = -I absint -I IR -I atd -I backend -I base -I biabduction -I bufferoverrun -I c_stubs -I checkers -I concurrency -I cost -I istd -I labs -I nullsafe -I pulse -I quandary -I scripts -I topl
ml_src_files:=$(shell \
cd $(INFER_BUILD_DIR); \

@ -12,7 +12,6 @@ let ( ^/ ) = Filename.concat
let source_dirs =
(if clang then ["al"; "clang"; "unit" ^/ "clang"] else ["clang_stubs"; "unit" ^/ "clang_stubs"])
@ [ (if java then "java" else "java_stubs")
; "backend"
; "integration"
; "test_determinator"
; "unit"
@ -80,7 +79,9 @@ let infer_cflags =
; "-open"
; "InferBase"
; "-open"
; "InferCStubs" ]
; "InferCStubs"
; "-open"
; "Backend" ]
|> String.concat " "
@ -111,7 +112,8 @@ let main_lib_stanza =
; "quandary"
; "TOPL"
; "concurrency"
; "labs" ] ))
; "labs"
; "backend" ] ))
(String.concat " " infer_binaries)

Loading…
Cancel
Save