You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
(* -*- 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 = []
|
|
|
|
|
|
|
|
;;
|
|
|
|
Jbuild_plugin.V1.send
|
|
|
|
@@ Format.sprintf
|
|
|
|
{|
|
|
|
|
(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 llair.model)
|
|
|
|
%s
|
|
|
|
(libraries %s))
|
|
|
|
|}
|
|
|
|
(flags `lib deps)
|
|
|
|
(libraries deps)
|