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.

33 lines
614 B

(* -*- tuareg -*- *)
(*
* Copyright (c) 2019-present, Facebook, Inc.
*
* 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 model.ml)
(deps cxxabi.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)