Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cleanup] Get rid of need for external/ on z3 library includes #1740

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions dependency_support/z3/bundled.BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ common_linkopts = [

cc_library(
name = "z3lib",
include_prefix = "z3",
srcs = GEN_SRCS + glob([
"src/ackermannization/*.cpp",
"src/api/*.cpp",
Expand Down Expand Up @@ -283,6 +284,7 @@ cc_library(

cc_library(
name = "api",
include_prefix = "z3",
hdrs = glob(
[
"src/api/z3*.h",
Expand Down Expand Up @@ -404,6 +406,7 @@ cc_binary(

cc_library(
name = "z3main",
include_prefix = "z3",
srcs = glob(
[
"src/shell/*.cpp",
Expand Down
2 changes: 1 addition & 1 deletion xls/contrib/xlscc/translator.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
#include "xls/ir/type.h"
#include "xls/ir/value.h"
#include "xls/solvers/z3_ir_translator.h"
#include "external/z3/src/api/z3_api.h"
#include "z3/src/api/z3_api.h"

namespace xlscc {

Expand Down
2 changes: 1 addition & 1 deletion xls/data_structures/graph_coloring.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "absl/container/flat_hash_set.h"
#include "absl/log/check.h"
#include "absl/strings/str_format.h"
#include "external/z3/src/api/c++/z3++.h"
#include "z3/src/api/c++/z3++.h"

namespace xls {

Expand Down
2 changes: 0 additions & 2 deletions xls/dslx/frontend/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -438,8 +438,6 @@ cc_library(
":ast_node",
":module",
":proc",
"//xls/ir:foreign_function_data_cc_proto",
"@com_google_absl//absl/log:check",
"@com_google_absl//absl/status",
],
)
Expand Down
1 change: 0 additions & 1 deletion xls/dslx/type_system_v2/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ cc_library(
deps = [
":inference_table",
"//xls/common/status:status_macros",
"//xls/dslx:errors",
"//xls/dslx/frontend:ast",
"//xls/dslx/frontend:module",
"//xls/dslx/frontend:pos",
Expand Down
4 changes: 2 additions & 2 deletions xls/solvers/z3_ir_translator.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
#include "xls/ir/nodes.h"
#include "xls/ir/type.h"
#include "xls/ir/value.h"
#include "external/z3/src/api/z3.h" // IWYU pragma: keep
#include "external/z3/src/api/z3_api.h"
#include "z3/src/api/z3.h" // IWYU pragma: keep
#include "z3/src/api/z3_api.h"

namespace xls {
namespace solvers {
Expand Down
Loading