concurrency/dune

Summary: Last checker :') Well, still have to do labs/.

Reviewed By: ngorogiannis

Differential Revision: D21426424

fbshipit-source-id: d15f13c66
master
Jules Villard 5 years ago committed by Facebook GitHub Bot
parent 0e40c62a7e
commit efd8e767cb

@ -0,0 +1,14 @@
; 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 concurrency)
(public_name infer.concurrency)
(flags
(:standard -open Core -open OpenSource -open InferIR -open InferStdlib -open IStd
-open InferGenerated -open InferBase -open Absint))
(libraries base64 core InferStdlib InferGenerated InferBase InferIR absint)
(preprocess (pps ppx_compare))
)

@ -579,7 +579,7 @@ let fold_reportable_summaries analyze_ondemand tenv clazz ~init ~f =
|> Option.value_map ~default:[] ~f:(fun tstruct -> tstruct.Struct.methods) |> Option.value_map ~default:[] ~f:(fun tstruct -> tstruct.Struct.methods)
in in
let f acc mthd = let f acc mthd =
Ondemand.get_proc_desc mthd AnalysisCallbacks.get_proc_desc mthd
|> Option.value_map ~default:acc ~f:(fun other_pdesc -> |> Option.value_map ~default:acc ~f:(fun other_pdesc ->
if should_report other_pdesc then if should_report other_pdesc then
analyze_ondemand mthd analyze_ondemand mthd

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

@ -13,7 +13,6 @@ let source_dirs =
(if clang then ["al"; "clang"; "unit" ^/ "clang"] else ["clang_stubs"; "unit" ^/ "clang_stubs"]) (if clang then ["al"; "clang"; "unit" ^/ "clang"] else ["clang_stubs"; "unit" ^/ "clang_stubs"])
@ [ (if java then "java" else "java_stubs") @ [ (if java then "java" else "java_stubs")
; "backend" ; "backend"
; "concurrency"
; "integration" ; "integration"
; "labs" ; "labs"
; "test_determinator" ; "test_determinator"
@ -64,6 +63,8 @@ let infer_cflags =
; "-open" ; "-open"
; "TOPL" ; "TOPL"
; "-open" ; "-open"
; "Concurrency"
; "-open"
; "Absint" ; "Absint"
; "-open" ; "-open"
; "OpenSource" ; "OpenSource"
@ -107,7 +108,8 @@ let main_lib_stanza =
; "checkers" ; "checkers"
; "costlib" ; "costlib"
; "quandary" ; "quandary"
; "TOPL" ] )) ; "TOPL"
; "concurrency" ] ))
(String.concat " " infer_binaries) (String.concat " " infer_binaries)

Loading…
Cancel
Save