Skip to content

Commit 93b2e66

Browse files
committed
buildifier BUILD & WORKSPACE
Signed-off-by: Matt Liberty <[email protected]>
1 parent a3434d3 commit 93b2e66

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

BUILD

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
# ABC: System for Sequential Synthesis and Verification by Berkeley Logic
1616
# Synthesis and Verification Group.
1717

18+
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
19+
load("@rules_cc//cc:cc_library.bzl", "cc_library")
20+
1821
licenses(["notice"])
1922

2023
exports_files(["LICENSE"])
@@ -38,8 +41,8 @@ cc_binary(
3841
"ABC_NAMESPACE=abc",
3942
],
4043
includes = ["src/"],
41-
deps = [":abc-lib"],
4244
visibility = ["//visibility:public"],
45+
deps = [":abc-lib"],
4346
)
4447

4548
cc_binary(
@@ -53,8 +56,8 @@ cc_binary(
5356
"ABC_NAMESPACE=abc",
5457
],
5558
includes = ["src/"],
56-
deps = [":abc-lib"],
5759
visibility = ["//visibility:public"],
60+
deps = [":abc-lib"],
5861
)
5962

6063
cc_library(
@@ -1236,7 +1239,10 @@ cc_library(
12361239
"ABC_NAMESPACE=abc",
12371240
],
12381241
includes = ["src/"],
1239-
linkopts = ["-ldl", "-lpthread"],
1242+
linkopts = [
1243+
"-ldl",
1244+
"-lpthread",
1245+
],
12401246
linkstatic = True,
12411247
textual_hdrs = glob(
12421248
[
@@ -1245,10 +1251,10 @@ cc_library(
12451251
"src/aig/saig/saigUnfold2.c",
12461252
],
12471253
),
1254+
visibility = ["//visibility:public"],
12481255
deps = [
12491256
"@org_gnu_readline//:readline",
12501257
"@net_zlib//:zlib",
12511258
# FIXME: This needs bz2lib?
12521259
],
1253-
visibility = ["//visibility:public"],
12541260
)

WORKSPACE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,7 @@ load("@rules_hdl//dependency_support/net_zlib:net_zlib.bzl", "net_zlib")
2323
load("@rules_hdl//dependency_support/org_gnu_readline:org_gnu_readline.bzl", "org_gnu_readline")
2424

2525
net_invisible_island_ncurses()
26+
2627
net_zlib()
28+
2729
org_gnu_readline()

0 commit comments

Comments
 (0)