Skip to content

Commit

Permalink
Merge pull request #629 from ChrisCummins/fix/623
Browse files Browse the repository at this point in the history
Add missing BUILD file for //compiler_gym/third_party/programl.
  • Loading branch information
ChrisCummins authored Mar 17, 2022
2 parents c5b9289 + bc02e8e commit 34f5a53
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions compiler_gym/third_party/programl/BUILD
Original file line number Diff line number Diff line change
@@ -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",
],
)

0 comments on commit 34f5a53

Please sign in to comment.