From bc02e8e6e8fb2297540f2cbf032903a3492e6c6c Mon Sep 17 00:00:00 2001 From: Chris Cummins Date: Thu, 17 Mar 2022 09:39:01 +0000 Subject: [PATCH] Add missing BUILD file for //compiler_gym/third_party/programl. Fixes #623. --- compiler_gym/third_party/programl/BUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 compiler_gym/third_party/programl/BUILD diff --git a/compiler_gym/third_party/programl/BUILD b/compiler_gym/third_party/programl/BUILD new file mode 100644 index 000000000..e095ca0be --- /dev/null +++ b/compiler_gym/third_party/programl/BUILD @@ -0,0 +1,23 @@ +# 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. + +load("@rules_cc//cc:defs.bzl", "cc_binary") + +cc_binary( + name = "compute_programl", + srcs = ["compute_programl.cc"], + copts = [ + "-DGOOGLE_PROTOBUF_NO_RTTI", + "-fno-rtti", + ], + visibility = ["//visibility:public"], + deps = [ + "@glog", + "@llvm//10.0.0", + "@nlohmann_json//:json", + "@programl//programl/graph/format:node_link_graph", + "@programl//programl/ir/llvm:llvm-10", + ], +)